commit | ac9590effa90406767a544005ed1de52e258306b | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon May 10 20:40:08 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon May 10 20:40:08 2010 +0000 |
tree | 6220409f8e3d7896f93ce5d03c95422450452eb5 | |
parent | d04ed416be7c55bddddab1fa3fd38a0113a6b3da [diff] |
Start converting pieces of DeclarationNameTable to be allocated using ASTContext's allocator. While DeclarationNameTable doesn't leak, it uses 'malloc' too often. Start with having 'CXXLiteralOperatorNames' allocated using ASTContext's allocator and add a 'DoDestroy()' method to DeclarationNameTable that is called by ~ASTContext. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103426 91177308-0d34-0410-b5e6-96231b3b80d8