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 | 1301fdd6c4139be806d8aa5d331bca292a04b385 (patch) | |
tree | 58d8a54ec1af0b6628869551df11268a68ef71ad /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 06555f134a7471c93124c71c8f2cf0892cc942cf (diff) | |
download | bcm5719-llvm-1301fdd6c4139be806d8aa5d331bca292a04b385.tar.gz bcm5719-llvm-1301fdd6c4139be806d8aa5d331bca292a04b385.zip |
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.
llvm-svn: 72186
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions