llvm-project/clang/lib/Lex
Douglas Gregor 4a9c39a2f6 Rework the detailed preprocessing record to separate preprocessing
entities generated directly by the preprocessor from those loaded from
the external source (e.g., the ASTReader). By separating these two
sets of entities into different vectors, we allow both to grow
independently, and eliminate the need for preallocating all of the
loaded preprocessing entities. This is similar to the way the recent
SourceManager refactoring treats FileIDs and the source location
address space.

As part of this, switch over to building a continuous range map to
track preprocessing entities.

llvm-svn: 135646
2011-07-21 00:47:40 +00:00
..
CMakeLists.txt Add CMake dependencies so that LLVM_USED_LIBS order doesn't matter. 2011-02-11 23:46:38 +00:00
HeaderMap.cpp To be able to replay compilations we need to accurately remodel how 2011-04-26 21:50:03 +00:00
HeaderSearch.cpp Fix up dependency file name printing to more closely match that of gcc, including fixing a nasty recent regression that could make us print "/foo.h" with a command-line including "-I ./". 2011-07-08 20:17:28 +00:00
Lexer.cpp Spelling 2011-07-20 00:14:37 +00:00
LiteralSupport.cpp Fix a nasty bug where inside StringLiteralParser: 2011-05-17 22:09:56 +00:00
MacroArgs.cpp Make the Preprocessor more memory efficient and improve macro instantiation diagnostics. 2011-07-07 03:40:34 +00:00
MacroArgs.h Make the Preprocessor more memory efficient and improve macro instantiation diagnostics. 2011-07-07 03:40:34 +00:00
MacroInfo.cpp Make the Preprocessor more memory efficient and improve macro instantiation diagnostics. 2011-07-07 03:40:34 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
PPCaching.cpp Remove the check for repeated tok::eofs, we are not supposed to go past eof so this code is 2010-07-12 21:41:41 +00:00
PPDirectives.cpp Implement -MG. Fixes PR9613 2011-07-12 19:35:15 +00:00
PPExpressions.cpp Rename tok::eom to tok::eod. 2011-02-28 02:37:51 +00:00
PPLexerChange.cpp Introduce a caching mechanism for macro expanded tokens. 2011-06-29 22:20:11 +00:00
PPMacroExpansion.cpp Remember to add a has_feature macro for __underlying_type now that it is 2011-07-18 17:08:00 +00:00
PTHLexer.cpp fix a bunch of comment typos found by codespell. Patch by 2011-04-15 05:22:18 +00:00
Pragma.cpp Implement -MG. Fixes PR9613 2011-07-12 19:35:15 +00:00
PreprocessingRecord.cpp Rework the detailed preprocessing record to separate preprocessing 2011-07-21 00:47:40 +00:00
Preprocessor.cpp Move the rest of the preprocessor terminology from 'instantiate' and 2011-07-14 08:20:46 +00:00
PreprocessorLexer.cpp Rename tok::eom to tok::eod. 2011-02-28 02:37:51 +00:00
ScratchBuffer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TokenConcatenation.cpp Introduced raw_identifier token kind. 2010-12-22 08:23:18 +00:00
TokenLexer.cpp Revamp the SourceManager to separate the representation of parsed 2011-07-19 16:10:42 +00:00