summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-01-16 10:41:46 +0000
committerDaniel Jasper <djasper@google.com>2013-01-16 10:41:46 +0000
commita67a8f062bea86ee3e3e68a7231846fa16cb1a9e (patch)
treee3f1389333e0286f9b2272bfc556abbad1b09701 /clang/lib/Driver/Tools.cpp
parentb7062cec53cc13411dc15c91815967763dffd61c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud