diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-05-10 20:56:10 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-05-10 20:56:10 +0000 |
commit | 45d9c2d2b1b4ada29160edadc071db9779c0ec07 (patch) | |
tree | b14405cf03cb39865e3de2a95dc87aafd8bcc992 /lib/AST/ASTContext.cpp | |
parent | ac9590effa90406767a544005ed1de52e258306b (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.cpp | 3 |
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); } |