hanchenye-llvm-project/clang/lib/Frontend
Ted Kremenek 8bcb1c6883 Add 'UseBumpPtrAllocator' flag to ASTUnit::LoadFromPCHFile() to cause the created ASTContext to use
its own BumpPtrAllocator to allocate ASTs.

Change clang_createTranslationUnit (CIndex) to pass 'UseBumpPtrAllocator = true' to
ASTUnit::LoadFromPCHFile().

llvm-svn: 84296
2009-10-17 00:34:24 +00:00
..
ASTConsumers.cpp Don't try to dump invalid decls or forward decls. 2009-09-26 01:02:04 +00:00
ASTUnit.cpp Add 'UseBumpPtrAllocator' flag to ASTUnit::LoadFromPCHFile() to cause the created ASTContext to use 2009-10-17 00:34:24 +00:00
AnalysisConsumer.cpp Hoist some branches in AnalysisManager::HandleTranslationUnit so we 2009-09-26 04:15:09 +00:00
Backend.cpp Pass the formatted_raw_ostream to createPrintModulePass and 2009-09-26 15:06:14 +00:00
CMakeLists.txt Fixup windows include paths. Patch by John Thompson. 2009-10-12 20:50:45 +00:00
CacheTokens.cpp Add support for a chain of stat caches in the FileManager, rather than 2009-10-16 18:18:30 +00:00
DeclXML.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
DependencyFile.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
DiagChecker.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
DocumentXML.cpp Refactor the representation of qualifiers to bring ExtQualType out of the 2009-09-24 19:53:00 +00:00
FixItRewriter.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
GeneratePCH.cpp Add support for a chain of stat caches in the FileManager, rather than 2009-10-16 18:18:30 +00:00
HTMLDiagnostics.cpp Remove use of std::ofstream in HTMLDiagnostics.cpp. 2009-10-08 17:44:41 +00:00
HTMLPrint.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
InitHeaderSearch.cpp AuroraUX toolchain fixes. 2009-10-15 07:44:07 +00:00
InitPreprocessor.cpp Work-around wchar_t and __pragma problem in VC headers 2009-10-16 01:12:00 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
ManagerRegistry.cpp
PCHReader.cpp Merge the "types" and "declarations" blocks in the precompiled header 2009-10-17 00:13:19 +00:00
PCHReaderDecl.cpp Factor out routines to encode/decode DeclaratorInfos and move them into the 2009-10-16 21:56:05 +00:00
PCHReaderStmt.cpp Add StringLiteral::getString -> StringRef. 2009-09-22 03:27:33 +00:00
PCHWriter.cpp Merge the "types" and "declarations" blocks in the precompiled header 2009-10-17 00:13:19 +00:00
PCHWriterDecl.cpp Merge the "types" and "declarations" blocks in the precompiled header 2009-10-17 00:13:19 +00:00
PCHWriterStmt.cpp Improve handling of initialization by constructor, by ensuring that 2009-09-09 23:08:42 +00:00
PlistDiagnostics.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
PrintParserCallbacks.cpp Update prototype. 2009-09-11 06:34:14 +00:00
PrintPreprocessedOutput.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
RewriteBlocks.cpp Change all the Type::getAsFoo() methods to specializations of Type::getAs(). 2009-09-21 23:43:11 +00:00
RewriteMacros.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
RewriteObjC.cpp Refactor the representation of qualifiers to bring ExtQualType out of the 2009-09-24 19:53:00 +00:00
RewriteTest.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
StmtXML.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TextDiagnosticBuffer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TextDiagnosticPrinter.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TypeXML.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Warnings.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00