diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-16 10:41:46 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-16 10:41:46 +0000 |
commit | a67a8f062bea86ee3e3e68a7231846fa16cb1a9e (patch) | |
tree | e3f1389333e0286f9b2272bfc556abbad1b09701 /clang/lib/Driver/Tools.cpp | |
parent | b7062cec53cc13411dc15c91815967763dffd61c (diff) | |
download | bcm5719-llvm-a67a8f062bea86ee3e3e68a7231846fa16cb1a9e.tar.gz bcm5719-llvm-a67a8f062bea86ee3e3e68a7231846fa16cb1a9e.zip |
Calculate the total length of a line up to each token up front.
This makes the tedious fitsIntoLimit() method unnecessary and I can
replace one hack (constructor initializers) by a slightly better hack.
Furthermore, this will enable calculating whether a certain part of a
line fits into the limit for future modifications.
llvm-svn: 172604
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions