commit | 5cf48766d626ff6b223acc9d4b7e415ca8480836 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Sat Oct 17 00:34:24 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Sat Oct 17 00:34:24 2009 +0000 |
tree | c8dae4f26d5497c34a098a83f3c3867a4ef12725 | |
parent | 61d60ee6aa0a5ded0ddcf48679673b37506a1895 [diff] |
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(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84296 91177308-0d34-0410-b5e6-96231b3b80d8