llvm-project/clang/lib/Parse
Argyrios Kyrtzidis 36745fda34 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.

llvm-svn: 108237
2010-07-13 09:07:17 +00:00
..
AttributeList.cpp Implements Sema part of init_priority(priority) attribute 2010-06-18 21:44:06 +00:00
CMakeLists.txt Update CMake build for new attribute changes. 2010-06-17 00:37:02 +00:00
DeclSpec.cpp Add parentheses suggested by gcc. 2010-06-23 19:34:52 +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
MinimalAction.cpp Improve parser recovery when we encounter a dependent template name 2010-05-21 23:18:07 +00:00
ParseCXXInlineMethods.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
ParseDecl.cpp Fix PR7617 by not entering ParseFunctionDefinition when 2010-07-11 22:42:07 +00:00
ParseDeclCXX.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
ParseExpr.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
ParseExprCXX.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
ParseInit.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
ParseObjc.cpp Support code completion for parameter names in Objective-C method 2010-07-08 23:37:41 +00:00
ParsePragma.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
ParsePragma.h Modify the pragma handlers to accept and use StringRefs instead of IdentifierInfos. 2010-07-13 09:07:17 +00:00
ParseStmt.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
ParseTemplate.cpp Fix PR7617 by not entering ParseFunctionDefinition when 2010-07-11 22:42:07 +00:00
ParseTentative.cpp Add support for Microsoft's __thiscall, from Steven Watanabe! 2010-05-18 16:57:00 +00:00
Parser.cpp Modify the pragma handlers to accept and use StringRefs instead of IdentifierInfos. 2010-07-13 09:07:17 +00:00
RAIIObjectsForParser.h Make sure parens/braces/brackets are correctly balanced. 2010-06-17 10:52:18 +00:00