aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-05-10 20:56:10 +0000
committerTed Kremenek <kremenek@apple.com>2010-05-10 20:56:10 +0000
commit45d9c2d2b1b4ada29160edadc071db9779c0ec07 (patch)
treeb14405cf03cb39865e3de2a95dc87aafd8bcc992 /lib/AST/ASTContext.cpp
parentac9590effa90406767a544005ed1de52e258306b (diff)
Allocate most of DeclarationNamesTable using ASTContext's allcocator. The only things that
aren't allocated this way are the internal FoldingSets. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103429 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r--lib/AST/ASTContext.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp
index 3a8084833e..71ef09ab18 100644
--- a/lib/AST/ASTContext.cpp
+++ b/lib/AST/ASTContext.cpp
@@ -110,9 +110,6 @@ ASTContext::~ASTContext() {
if (GlobalNestedNameSpecifier)
GlobalNestedNameSpecifier->Destroy(*this);
- // Deallocate the memory associated with the DeclarationNameTable.
- DeclarationNames.DoDestroy(*this);
-
TUDecl->Destroy(*this);
}