llvm-project/clang/lib/Frontend
Argyrios Kyrtzidis 0db720f0dc [libclang] Improve AST serialization done by ASTUnit::Save().
The ASTUnit needs to initialize an ASTWriter at the beginning of
parsing to fully handle serialization of a translation unit that
imports modules. Do this by introducing an option to enable it, which
corresponds to CXTranslationUnit_ForSerialization on the C API side.

llvm-svn: 165717
2012-10-11 16:05:00 +00:00
..
ASTConsumers.cpp Fixed crash and added a test and a minor output problem 2012-08-17 17:38:39 +00:00
ASTMerge.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
ASTUnit.cpp [libclang] Improve AST serialization done by ASTUnit::Save(). 2012-10-11 16:05:00 +00:00
CMakeLists.txt clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
CacheTokens.cpp Switch PTH format from a 7 byte magic number to an 8 byte one, to avoid 2012-08-17 03:55:43 +00:00
ChainedDiagnosticConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
ChainedIncludesSource.cpp Rework the (de-)serialization of macros, as stored in 2012-10-09 23:05:51 +00:00
CompilerInstance.cpp Rework the (de-)serialization of macros, as stored in 2012-10-09 23:05:51 +00:00
CompilerInvocation.cpp Conditionally parse documentation comments in system headers by 2012-09-13 06:41:18 +00:00
CreateInvocationFromCommandLine.cpp [driver] When creating the compiler invocation out of command-line 2012-05-21 20:11:54 +00:00
DependencyFile.cpp For PPCallbacks::InclusionDirective() add a parameter for the module, whenever 2012-09-29 01:06:10 +00:00
DependencyGraph.cpp For PPCallbacks::InclusionDirective() add a parameter for the module, whenever 2012-09-29 01:06:10 +00:00
DiagnosticRenderer.cpp Move a few static functions from DiagnosticRenderer.cpp into SourceManager. 2012-06-18 20:12:05 +00:00
FrontendAction.cpp Rework the (de-)serialization of macros, as stored in 2012-10-09 23:05:51 +00:00
FrontendActions.cpp [modules] Consistently construct a buffer as input to build the module. 2012-10-10 02:12:39 +00:00
FrontendOptions.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
HeaderIncludeGen.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
InitHeaderSearch.cpp InitHeaderSearch.cpp: [mingw] Handle DOSish paths only on Win32 hosts. 2012-09-13 05:53:23 +00:00
InitPreprocessor.cpp Don't emit double parentheses in __clang_version__. 2012-10-08 18:49:39 +00:00
LangStandards.cpp Remove unnecessary default cases in switches over enums. 2012-01-17 02:30:50 +00:00
LayoutOverrideSource.cpp Add missing cctype includes. 2012-08-10 10:58:18 +00:00
LogDiagnosticPrinter.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
MultiplexConsumer.cpp Replace MarkVarRequired with a more generic 2012-03-08 15:51:03 +00:00
PrintPreprocessedOutput.cpp Keep history of macro definitions and #undefs 2012-08-29 00:20:03 +00:00
SerializedDiagnosticPrinter.cpp Avoid binding a reference to a dereferenced pointer in diagnostic serialization 2012-08-21 03:11:53 +00:00
TextDiagnostic.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766 2012-09-27 10:16:10 +00:00
TextDiagnosticBuffer.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
TextDiagnosticPrinter.cpp Fix a typo (the the => the) 2012-07-23 08:59:39 +00:00
VerifyDiagnosticConsumer.cpp Allow -verify to be used with files that don't have an associated FileEntry. 2012-08-18 16:58:52 +00:00
Warnings.cpp Add template type diffing to Clang. This feature will provide a better 2012-06-26 18:18:47 +00:00