llvm-project/clang/lib/Serialization
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
..
ASTCommon.cpp Serialize `#pragma comment`. 2016-03-02 17:28:48 +00:00
ASTCommon.h Only instantiate a default argument once. 2016-01-06 22:34:54 +00:00
ASTReader.cpp Generalize the consumed-parameter array on FunctionProtoType 2016-03-01 00:49:02 +00:00
ASTReaderDecl.cpp Serialize `#pragma comment`. 2016-03-02 17:28:48 +00:00
ASTReaderInternals.h Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ASTReaderStmt.cpp [OPENMP 4.5] Codegen for data members in 'reduction' clause. 2016-03-02 04:57:40 +00:00
ASTWriter.cpp Generalize the consumed-parameter array on FunctionProtoType 2016-03-01 00:49:02 +00:00
ASTWriterDecl.cpp Serialize `#pragma comment`. 2016-03-02 17:28:48 +00:00
ASTWriterStmt.cpp [OPENMP 4.5] Codegen for data members in 'reduction' clause. 2016-03-02 04:57:40 +00:00
CMakeLists.txt Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
GeneratePCH.cpp Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
GlobalModuleIndex.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 19:38:18 +00:00
Module.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 19:38:18 +00:00
ModuleFileExtension.cpp Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
ModuleManager.cpp Fix use-after-free in ModuleManager 2015-10-21 23:12:45 +00:00
MultiOnDiskHashTable.h Roll-back r250822. 2015-10-20 13:23:58 +00:00