Author: akirtzidis
Date: Tue Aug 24 19:32:08 2010
New Revision: 112004
URL: http://llvm.org/viewvc/llvm-project?rev=112004&view=rev
Log:
Make sure CXXABI is destroyed.
Modified:
cfe/trunk/include/clang/AST/ASTContext.h
Modified: cfe/trunk/include/clang/AST/ASTContext.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTContext.h?rev=112004&r1=112003&r2=112004&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Tue Aug 24 19:32:08 2010
@@ -285,7 +285,7 @@
PartialDiagnostic::StorageAllocator DiagAllocator;
/// \brief The current C++ ABI.
- CXXABI *ABI;
+ llvm::OwningPtr<CXXABI> ABI;
CXXABI *createCXXABI(const TargetInfo &T);
public:
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits