commit | 25a767651d14db87aa03dd5fe3e011d877dd4100 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Jun 22 06:09:49 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Jun 22 06:09:49 2011 +0000 |
tree | a4be9c9ef892b9807686250089b35afb71863238 | |
parent | fc0f40acc6877c2d1fa7e50decd8ec330a3569a4 [diff] |
Introduce DelayedCleanupPool useful for simplifying clean-up of certain resources that, while their lifetime is well-known and restricted, cleaning them up manually is easy to miss and cause a leak. Use it to plug the leaking of TemplateIdAnnotation objects. rdar://9634138. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133610 91177308-0d34-0410-b5e6-96231b3b80d8