clang-1/lib/Lex
Argyrios Kyrtzidis 9b36c3f0de Modify the pragma handlers to accept and use StringRefs instead of IdentifierInfos.
When loading the PCH, IdentifierInfos that are associated with pragmas cause declarations that use these identifiers to be deserialized (e.g. the "clang" pragma causes the "clang" namespace to be loaded).
We can avoid this if we just use StringRefs for the pragmas.

As a bonus, since we don't have to create and pass IdentifierInfos, the pragma interfaces get a bit more simplified.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108237 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-13 09:07:17 +00:00
..
CMakeLists.txt Introduce the notion of a "preprocessing record", which keeps track of 2010-03-18 17:52:52 +00:00
HeaderMap.cpp Simplify code. No functionality change. 2010-01-10 09:51:00 +00:00
HeaderSearch.cpp stringref'ize a bunch of filename handling logic. Much 2010-01-10 01:35:12 +00:00
Lexer.cpp fix PR4499, patch by Kyle Dean! 2010-07-07 23:24:27 +00:00
LiteralSupport.cpp Remove a dead argument to ProcessUCNEscape. 2010-06-15 18:06:43 +00:00
MacroArgs.cpp Audit all Preprocessor::getSpelling() callers, improving failure 2010-03-16 22:30:13 +00:00
MacroArgs.h The PreExpArgTokens array is indexed with an argument #, 2009-12-28 06:17:16 +00:00
MacroInfo.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Makefile Makefiles: Set Clang CPP compiler flags in a single location, instead of scattered throughout the project Makefiles. 2010-06-08 20:44:43 +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 push some source location information down through the compiler, 2010-04-20 20:35:58 +00:00
PPExpressions.cpp Introduce optional "Invalid" parameters to routines that invoke the 2010-03-16 05:20:39 +00:00
PPLexerChange.cpp push some source location information down through the compiler, 2010-04-20 20:35:58 +00:00
PPMacroExpansion.cpp More clang support for darwin tls. Add a __has_feature macro and 2010-06-24 02:02:00 +00:00
PTHLexer.cpp Switch over IdentifierInfoLookup to StringRef 2010-03-12 08:23:34 +00:00
Pragma.cpp Modify the pragma handlers to accept and use StringRefs instead of IdentifierInfos. 2010-07-13 09:07:17 +00:00
PreprocessingRecord.cpp Robustify PreprocessingRecord slightly, by only creating macro 2010-03-19 21:58:23 +00:00
Preprocessor.cpp Modify the pragma handlers to accept and use StringRefs instead of IdentifierInfos. 2010-07-13 09:07:17 +00:00
PreprocessorLexer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ScratchBuffer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TokenConcatenation.cpp make the token paste avoidance logic turn "..." into ".. ." instead of ". . ." 2010-04-14 03:57:19 +00:00
TokenLexer.cpp Audit all Preprocessor::getSpelling() callers, improving failure 2010-03-16 22:30:13 +00:00