From: Douglas Gregor Date: Fri, 13 Aug 2010 00:52:31 +0000 (+0000) Subject: The Sema object will get destroyed before all of the others anyway. We don't need... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e3a97c98a9ad099410fa5172ce8783baf0da0fd;p=clang The Sema object will get destroyed before all of the others anyway. We don't need to force it git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110993 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index e2bb0f20db..06ec80589c 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -42,7 +42,6 @@ CompilerInstance::CompilerInstance() } CompilerInstance::~CompilerInstance() { - TheSema.reset(); } void CompilerInstance::setLLVMContext(llvm::LLVMContext *Value) {