commit | 13bb701f2f876356400a34b0917a417c66b5d70d | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Apr 14 12:14:03 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Apr 14 12:14:03 2012 +0000 |
tree | c4164fa3a1e81eafbedef7ff2c8ae851b9942d43 | |
parent | bcadf96a75942f528fc0683d953d66589d341909 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154743 91177308-0d34-0410-b5e6-96231b3b80d8