summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/DeclGroup.cpp')
-rw-r--r--clang/lib/AST/DeclGroup.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/AST/DeclGroup.cpp b/clang/lib/AST/DeclGroup.cpp
index 434bf00d354..036acc2d77a 100644
--- a/clang/lib/AST/DeclGroup.cpp
+++ b/clang/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);
-}
OpenPOWER on IntegriCloud