[cfe-commits] r110993 - /cfe/trunk/lib/Frontend/CompilerInstance.cpp

Douglas Gregor dgregor at apple.com
Thu Aug 12 17:52:31 PDT 2010


Author: dgregor
Date: Thu Aug 12 19:52:31 2010
New Revision: 110993

URL: http://llvm.org/viewvc/llvm-project?rev=110993&view=rev
Log:
The Sema object will get destroyed before all of the others anyway. We don't need to force it

Modified:
    cfe/trunk/lib/Frontend/CompilerInstance.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=110993&r1=110992&r2=110993&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Thu Aug 12 19:52:31 2010
@@ -42,7 +42,6 @@
 }
 
 CompilerInstance::~CompilerInstance() {
-  TheSema.reset();
 }
 
 void CompilerInstance::setLLVMContext(llvm::LLVMContext *Value) {





More information about the cfe-commits mailing list