llvm-project/clang/lib/Parse
Nico Weber 6622029d5e Serialize `#pragma comment`.
`#pragma comment` was handled by Sema calling a function on ASTConsumer, and
CodeGen then implementing this function and writing things to its output.

Instead, introduce a PragmaCommentDecl AST node and hang one off the
TranslationUnitDecl for every `#pragma comment` line, and then use the regular
serialization machinery. (Since PragmaCommentDecl has codegen relevance, it's
eagerly deserialized.)

http://reviews.llvm.org/D17799

llvm-svn: 262493
2016-03-02 17:28:48 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
ParseAST.cpp Restore PrettyStackTrace state on crash. 2015-08-07 17:48:57 +00:00
ParseCXXInlineMethods.cpp [Sema] PR25181 Fix crash when method declaration with throw spec fails to parse correctly 2016-02-19 01:15:08 +00:00
ParseDecl.cpp [OpenCL] Refine OpenCLImageAccessAttr to OpenCLAccessAttr 2016-02-26 03:13:03 +00:00
ParseDeclCXX.cpp Include RecordDecls from anonymous unions in the AST. 2016-01-28 19:25:00 +00:00
ParseExpr.cpp Correct typos after acting on invalid subscript expressions 2016-02-19 07:15:33 +00:00
ParseExprCXX.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseInit.cpp OpaquePtr: Use nullptr construction for ParsedType OpaquePtr typedef 2016-01-15 23:43:34 +00:00
ParseObjc.cpp Fix remaining Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-12 22:53:10 +00:00
ParseOpenMP.cpp [OpenMP] Fix parsing of delete map clause modifier in C++ mode. 2016-02-27 00:01:58 +00:00
ParsePragma.cpp Serialize `#pragma comment`. 2016-03-02 17:28:48 +00:00
ParseStmt.cpp [OpenCL] Generate metadata for opencl_unroll_hint attribute 2016-02-19 18:30:11 +00:00
ParseStmtAsm.cpp [ms-inline-asm] Fixing bug in single asm statement support 2016-02-23 08:53:45 +00:00
ParseTemplate.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
ParseTentative.cpp Add support for GCC's '__auto_type' extension, per the GCC manual: 2015-11-11 02:02:15 +00:00
Parser.cpp Addressing review comments for r261163. 2016-02-22 04:47:24 +00:00
RAIIObjectsForParser.h Add a new error for unexpected semi-colon before closing delimiter. 2015-05-12 21:36:35 +00:00