diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-25 18:32:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-25 18:32:30 +0000 |
commit | 1de22a26c0e126b08edb2eda9d9091c021d96dc6 (patch) | |
tree | 85d6a919a18615e5c1dd25c920472982f6dcb32c /lib/AST/DeclGroup.cpp | |
parent | 37db4db11b95e32d4ba205d9246c940025666f97 (diff) |
I lied. Kill off a few more Destroy methods
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclGroup.cpp')
-rw-r--r-- | lib/AST/DeclGroup.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/AST/DeclGroup.cpp b/lib/AST/DeclGroup.cpp index 434bf00d35..036acc2d77 100644 --- a/lib/AST/DeclGroup.cpp +++ b/lib/AST/DeclGroup.cpp @@ -30,9 +30,3 @@ DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { assert(decls); memcpy(this+1, decls, numdecls * sizeof(*decls)); } - -void DeclGroup::Destroy(ASTContext& C) { - // Decls are destroyed by the DeclContext. - this->~DeclGroup(); - C.Deallocate((void*) this); -} |