]> granicus.if.org Git - clang/commit
Instead of iterating over FileID's, have PTH generation iterate over the
authorChris Lattner <sabre@nondot.org>
Sat, 17 Jan 2009 03:48:08 +0000 (03:48 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 17 Jan 2009 03:48:08 +0000 (03:48 +0000)
commitc6fe32a91c7372caf09152ee31a24c4b5d24deed
tree89c7b9a3db4994a83b04bfef9f08bfc108a58c71
parent5bdf3a81eb53ed9ca39df6e6622ee41b81425377
Instead of iterating over FileID's, have PTH generation iterate over the
content cache directly.  Content cache has a 1-1 mapping with fileentries,
whereas multiple FileIDs can be the same FileEntry.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62401 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/CacheTokens.cpp
include/clang/Basic/SourceManager.h
lib/Lex/Lexer.cpp