diff options
author | Sam Bishop <sam@bishop.dhs.org> | 2008-04-11 18:04:39 +0000 |
---|---|---|
committer | Sam Bishop <sam@bishop.dhs.org> | 2008-04-11 18:04:39 +0000 |
commit | 1bb19638f2ec0d63ed131b51ca8d9542d1a9afee (patch) | |
tree | b4f0cb9425641903c28c01290051bd5e3e54a51a /include/clang/AST/Decl.h | |
parent | 45bc03f9202d5649fd41f35b98d34bb34823d0f3 (diff) |
Invoke destructors in Decl::Destroy().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Decl.h')
-rw-r--r-- | include/clang/AST/Decl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 019673ab1b..ac08f96508 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -372,6 +372,7 @@ protected: static FunctionDecl* CreateImpl(llvm::Deserializer& D, ASTContext& C); friend Decl* Decl::Create(llvm::Deserializer& D, ASTContext& C); + friend void Decl::Destroy(ASTContext& C) const; }; @@ -452,6 +453,7 @@ protected: static EnumConstantDecl* CreateImpl(llvm::Deserializer& D, ASTContext& C); friend Decl* Decl::Create(llvm::Deserializer& D, ASTContext& C); + friend void Decl::Destroy(ASTContext& C) const; }; @@ -504,6 +506,7 @@ protected: static TypedefDecl* CreateImpl(llvm::Deserializer& D, ASTContext& C); friend Decl* Decl::Create(llvm::Deserializer& D, ASTContext& C); + friend void Decl::Destroy(ASTContext& C) const; }; |