diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-20 22:33:37 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-20 22:33:37 +0000 |
commit | d7e2705961bacb9df5d9119403c01c9b04aff97f (patch) | |
tree | da275e8ada262dbc8e94f9abd682cf120a58846b /lib/Frontend/PCHReaderDecl.cpp | |
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
Diffstat (limited to 'lib/Frontend/PCHReaderDecl.cpp')
0 files changed, 0 insertions, 0 deletions