diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-14 12:14:03 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-14 12:14:03 +0000 |
commit | 1e6b6060f943d53ecca748a7779866fdd53472ab (patch) | |
tree | 662172f9f24f8c03ecc08a554b625b55049e9d2a /clang/lib/Serialization/Module.cpp | |
parent | ffe7c7f4b23c9d5efc50fbb1dee3c83b4dc6ac13 (diff) | |
download | llvm-1e6b6060f943d53ecca748a7779866fdd53472ab.zip llvm-1e6b6060f943d53ecca748a7779866fdd53472ab.tar.gz llvm-1e6b6060f943d53ecca748a7779866fdd53472ab.tar.bz2 |
Parser: Don't manage TemplateAnnotationIds in a delayed cleanup pool.
Instead, make it the allocation function's responsibility to add them
to a list and clear it when a top-level decl is finished.
This plugs leakage of TemplateAnnotationIds. DelayedCleanupPool is
ugly and unused, remove it.
llvm-svn: 154743
Diffstat (limited to 'clang/lib/Serialization/Module.cpp')
0 files changed, 0 insertions, 0 deletions