llvm-project/clang/lib/Lex
Argyrios Kyrtzidis 03c40c5182 [PCH] Overhaul how preprocessed entities are [de]serialized.
-Use an array of offsets for all preprocessed entities
-Get rid of the separate array of offsets for just macro definitions;
 for references to macro definitions use an index inside the preprocessed
 entities array.
-Deserialize each preprocessed entity lazily, at first request; not in bulk.

Paves the way for binary searching of preprocessed entities that will offer
efficiency and will simplify things on the libclang side a lot.

llvm-svn: 139809
2011-09-15 18:02:56 +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 remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
HeaderSearch.cpp For modules, use a hash of the compiler version, language options, and 2011-09-13 23:15:45 +00:00
Lexer.cpp Speed up BCPL comment lexing by looking aggressively for newlines and then scannig backwards to see if the newline is escaped. 2011-09-05 07:19:39 +00:00
LiteralSupport.cpp Allow C99 hexfloats in C++0x mode. This change resolves the standards 2011-08-30 22:40:35 +00:00
MacroArgs.cpp Handle a code-completion token being passed to the macro stringify operator. 2011-09-04 03:32:19 +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 Modules hide macro definitions by default, so that silly things like 2011-09-01 17:04:32 +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 Optimize the preprocessor's handling of the __import_module__ 2011-09-07 23:11:54 +00:00
PPDirectives.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
PPExpressions.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
PPLexerChange.cpp Optimize the preprocessor's handling of the __import_module__ 2011-09-07 23:11:54 +00:00
PPMacroExpansion.cpp Allow C++0x enumerations with a fixed underlying type in 2011-09-08 17:18:35 +00:00
PTHLexer.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
Pragma.cpp Change err_pp_file_not_found back to an Error; when it's a Warning, we suppress it in system headers. And it is not a good idea to suppress it in system headers. (This was originally changed in r134996 to implement -MG.) 2011-08-30 23:07:51 +00:00
PreprocessingRecord.cpp [PCH] Overhaul how preprocessed entities are [de]serialized. 2011-09-15 18:02:56 +00:00
Preprocessor.cpp Optimize the preprocessor's handling of the __import_module__ 2011-09-07 23:11:54 +00:00
PreprocessorLexer.cpp Boost the efficiency of SourceManager::getMacroArgExpandedLocation. 2011-08-21 23:33:04 +00:00
ScratchBuffer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TokenConcatenation.cpp Raw string followup. Pass a couple StringRefs by value. 2011-08-11 05:10:55 +00:00
TokenLexer.cpp Silence 'may be used uninitialized' warnings. 2011-08-24 20:33:05 +00:00