From: Argyrios Kyrtzidis Date: Wed, 25 Aug 2010 00:32:08 +0000 (+0000) Subject: Make sure CXXABI is destroyed. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff75dfde6a351c57f41366d309c0bd11aba69bce;p=clang Make sure CXXABI is destroyed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112004 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index a42c3894ed..fdf2d52bbb 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -285,7 +285,7 @@ class ASTContext { PartialDiagnostic::StorageAllocator DiagAllocator; /// \brief The current C++ ABI. - CXXABI *ABI; + llvm::OwningPtr ABI; CXXABI *createCXXABI(const TargetInfo &T); public: