| commit | 1f280197fe37c7e05c6bdb4d6c320ec7925c6d02 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <doug.gregor@gmail.com> | Wed May 20 22:33:37 2009 +0000 |
| committer | Douglas Gregor <doug.gregor@gmail.com> | Wed May 20 22:33:37 2009 +0000 |
| tree | da275e8ada262dbc8e94f9abd682cf120a58846b | |
| parent | 72090765372445fb14eca307cdcb07041c4902ef [diff] |
Introduce a new kind of RAII class, ASTOwningVector, which is an llvm::SmallVector that owns all of the AST nodes inside of it. This RAII class is used to ensure proper destruction of AST nodes when template instantiation fails. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72186 91177308-0d34-0410-b5e6-96231b3b80d8