commit | 1b9c5374a3cd33b0e281f494f0e322aef035abca | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Fri Sep 27 17:12:50 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Fri Sep 27 17:12:50 2013 +0000 |
tree | bc8706b14ff72cbf2f00636e60d534768fc6cafd | |
parent | d2af0dd5f7820db7cbf9a3734345ebc46e81d21a [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191535 91177308-0d34-0410-b5e6-96231b3b80d8