Go to file
Johnny Chen 60e2c6aa43 rdar://problem/10501020
ClangASTSource::~ClangASTSource() was calling

    ClangASTContext *scratch_clang_ast_context = m_target->GetScratchClangASTContext();

which had the side effect of deleting this very ClangASTSource instance.  Not good.
Change it to

    // We are in the process of destruction, don't create clang ast context on demand
    // by passing false to Target::GetScratchClangASTContext(create_on_demand).
    ClangASTContext *scratch_clang_ast_context = m_target->GetScratchClangASTContext(false);

The Target::GetScratchClangASTContext(bool create_on_demand=true) has a new signature.

llvm-svn: 145537
2011-11-30 23:18:53 +00:00
clang [PCH] In ASTReader::FinishedDeserializing, after we do PassInterestingDeclsToConsumer 2011-11-30 23:18:26 +00:00
compiler-rt test asan at -O0 2011-11-30 22:27:30 +00:00
debuginfo-tests Testcase for r133065 2011-06-15 17:57:23 +00:00
libcxx Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
libcxxabi Add alignment requirement to char buffer 2011-11-28 21:03:21 +00:00
lldb rdar://problem/10501020 2011-11-30 23:18:53 +00:00
llvm Replace an assert() with an actual diagnostic. 2011-11-30 23:16:25 +00:00
polly test: Switch to new atomic instructions 2011-11-29 14:51:05 +00:00