commit | 81019d79e21f8606b3c59d0d82db6df9548b0a89 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Apr 14 21:04:18 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Apr 14 21:04:18 2008 +0000 |
tree | d1570b1589af3dbcfcdf2a608350d3a7c81ef3ca | |
parent | 1d8ad38ed72da78dfadff09f97e556bc59f7f010 [diff] |
Added "getCanonicalID()", "isFromSameFile", and "isFromMainFile" to compare the files of different SourceLocations. These methods correctly handle the case where a file may have multiple FileIDs due to it being large enough to be spread across several chunks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49682 91177308-0d34-0410-b5e6-96231b3b80d8