diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-11-19 21:57:25 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-11-19 21:57:25 +0000 |
commit | 45245217bcf82bccad31d4eb63e2dc827c5dca35 (patch) | |
tree | 23707291ed965503dd47ff02f9d41a43fa3610ef /llvm/lib | |
parent | 78fb6214f39f2bec2468af7997dc0e43e0ef2188 (diff) | |
download | bcm5719-llvm-45245217bcf82bccad31d4eb63e2dc827c5dca35.tar.gz bcm5719-llvm-45245217bcf82bccad31d4eb63e2dc827c5dca35.zip |
- Move static function IsNonPragmaNonMacroLexer into Preprocessor.h.
- Add variants of IsNonPragmaNonMacroLexer to accept an IncludeMacroStack entry
(simplifies some uses).
- Use IsNonPragmaNonMacroLexer in Preprocessor::LookupFile.
- Add 'FileID' to PreprocessorLexer, and have Preprocessor query this fileid
when looking up the FileEntry for a file
Performance testing of -Eonly on Cocoa.h shows no performance regression because
of this patch.
llvm-svn: 59666
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions