commit | d7e2705961bacb9df5d9119403c01c9b04aff97f | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed May 20 22:33:37 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed May 20 22:33:37 2009 +0000 |
tree | da275e8ada262dbc8e94f9abd682cf120a58846b | |
parent | e06274d5c5c6b2decc9f217a8913b28f846bfcfa [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