summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-09-27 17:12:50 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-09-27 17:12:50 +0000
commite7800df48b533304caf17d4e523b2ba0618db40a (patch)
treec8cfaecb2a972502089bdae431ca0fd90776da4c /clang/lib/Driver/Tools.cpp
parent428d042828bb5e60dc2a37e70b81248b6057fccc (diff)
downloadbcm5719-llvm-e7800df48b533304caf17d4e523b2ba0618db40a.tar.gz
bcm5719-llvm-e7800df48b533304caf17d4e523b2ba0618db40a.zip
SourceManager: Open code isInMainFile.
- We really shouldn't compute line numbers for every file that is asked if it's the main file, it destroys the lazy computation. - Invalid locations are no longer accounted to the main file, no other functionality change. llvm-svn: 191535
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud