From ff75dfde6a351c57f41366d309c0bd11aba69bce Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Wed, 25 Aug 2010 00:32:08 +0000 Subject: [PATCH] Make sure CXXABI is destroyed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112004 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/ASTContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.50.1