aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-20 20:42:28 +0000
committerChris Lattner <sabre@nondot.org>2009-02-20 20:42:28 +0000
commit077e0f09d12a4bd61908863df35528de1cd80c53 (patch)
treed51c65449f4eb4f8f506ef07d1415f9d41432c15 /lib/AST/DeclObjC.cpp
parent7a21bd046fe57629ab074980cf8193f5e0c15735 (diff)
destroy should forward to base class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r--lib/AST/DeclObjC.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp
index ccf641f94d..98343e7222 100644
--- a/lib/AST/DeclObjC.cpp
+++ b/lib/AST/DeclObjC.cpp
@@ -178,6 +178,7 @@ ObjCImplementationDecl::Create(ASTContext &C, DeclContext *DC,
/// Destroy - Call destructors and release memory.
void ObjCImplementationDecl::Destroy(ASTContext& C) {
IVars.clear();
+ Decl::Destroy(C);
}