diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-11 07:12:28 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-11 07:12:28 +0000 |
commit | da4e0d350c00dfa40a6e443c25660f3f13f676d4 (patch) | |
tree | c67d034d45f1af3fed040b2c51374cd8221af3a4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6bb2463f855b0737acce40432c7d98ea517c0b7d (diff) | |
download | llvm-da4e0d350c00dfa40a6e443c25660f3f13f676d4.zip llvm-da4e0d350c00dfa40a6e443c25660f3f13f676d4.tar.gz llvm-da4e0d350c00dfa40a6e443c25660f3f13f676d4.tar.bz2 |
Have ~ASTContext() delete StoredDeclsMap (internal to DeclContext) by
storing the set of StoredDeclsMaps in an internal vector of void*.
This isn't an ideal solution, but for the time being this fixes a
major memory leak with these DenseMaps not being freed.
Fixes: <rdar://problem/7634755>
llvm-svn: 95861
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions