hanchenye-llvm-project/clang/lib/Lex
Ted Kremenek 864eb39233 PTH:
- Added a side-table per each token-cached file with the preprocessor conditional stack.  This tracks what #if's are matched with what #endifs and where their respective tokens are in the PTH file.  This will allow for quick skipping of excluded conditional branches in the Preprocessor.
- Performance testing shows the addition of this information (without actually utilizing it) leads to no performance regressions.

llvm-svn: 60911
2008-12-11 23:36:38 +00:00
..
CMakeLists.txt CMake: Added some source files. 2008-11-19 18:46:39 +00:00
HeaderMap.cpp Initialize Suffix and Prefix to 0, even with a bad entry. Removes an uninitialized value warning from gcc. 2008-10-28 00:18:42 +00:00
HeaderSearch.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
Lexer.cpp Objective-C keywords are not always identifiers. Some are also C++ keywords 2008-12-01 21:46:47 +00:00
LiteralSupport.cpp Fix a weird inconsistency with hex floats. Previously the lexer 2008-11-22 07:39:03 +00:00
MacroArgs.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
MacroArgs.h Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
MacroInfo.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
PPCaching.cpp Remove Preprocessor::CacheTokens boolean data member. The same functionality can be provided by using Preprocessor::isBacktrackEnabled(). 2008-11-19 14:23:14 +00:00
PPDirectives.cpp Convert IdentifierInfo's to be printed the same as DeclarationNames 2008-11-23 21:45:46 +00:00
PPExpressions.cpp make the 'to match this' diagnostic a note. 2008-11-23 23:17:07 +00:00
PPLexerChange.cpp PreprocessorLexer (and subclasses): 2008-12-10 23:20:59 +00:00
PPMacroExpansion.cpp Handle another case where we should use PTHLexer as an alternative to the normal Lexer. 2008-11-20 16:46:54 +00:00
PTHLexer.cpp PTH: 2008-12-11 23:36:38 +00:00
Pragma.cpp Just use the SourceLocation of SysHeaderTok when doing a callback to emit #line 2008-11-20 01:45:11 +00:00
Preprocessor.cpp Add LangOptions marker for assembler-with-cpp mode and use to define 2008-12-01 18:55:22 +00:00
PreprocessorLexer.cpp remove a sneaky version of Diag hiding in PreprocessorLexer. 2008-11-22 06:20:42 +00:00
ScratchBuffer.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
TokenLexer.cpp Remove the last of the old-style Preprocessor::Diag methods. 2008-11-18 21:48:13 +00:00