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 | 7e550caf4e66d705248e7670ca915755e67cd15d (patch) | |
| tree | 5d2a1726177377cdfe42f6993ba4027eae1c4104 /clang/lib/AST/ASTContext.cpp | |
| parent | 58aff8fb5784e0bb9792d595650b2812121f2422 (diff) | |
| download | bcm5719-llvm-7e550caf4e66d705248e7670ca915755e67cd15d.tar.gz bcm5719-llvm-7e550caf4e66d705248e7670ca915755e67cd15d.zip | |
Allocate most of DeclarationNamesTable using ASTContext's allcocator. The only things that
aren't allocated this way are the internal FoldingSets.
llvm-svn: 103429
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 3a8084833e4..71ef09ab18c 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/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); } |

