[cfe-commits] r112004 - /cfe/trunk/include/clang/AST/ASTContext.h
Argyrios Kyrtzidis
akyrtzi at gmail.com
Tue Aug 24 17:32:08 PDT 2010
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:
More information about the cfe-commits
mailing list