]> granicus.if.org Git - clang/commitdiff
The Sema object will get destroyed before all of the others anyway. We don't need...
authorDouglas Gregor <dgregor@apple.com>
Fri, 13 Aug 2010 00:52:31 +0000 (00:52 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 13 Aug 2010 00:52:31 +0000 (00:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110993 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInstance.cpp

index e2bb0f20db99ff7780692ed4defa80c7c42ccea3..06ec80589c77b1792a129f4dac098e52ac182679 100644 (file)
@@ -42,7 +42,6 @@ CompilerInstance::CompilerInstance()
 }
 
 CompilerInstance::~CompilerInstance() {
-  TheSema.reset();
 }
 
 void CompilerInstance::setLLVMContext(llvm::LLVMContext *Value) {