]> granicus.if.org Git - clang/commit
Use RAII objects to ensure proper destruction of expression and statement AST nodes...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 25 Nov 2008 22:21:31 +0000 (22:21 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 25 Nov 2008 22:21:31 +0000 (22:21 +0000)
commita55e52c0802cae3b7c366a05c461d3d15074c1a3
treefca8cd5d7a9b355502c69fea49e50e69a7ddd379
parent71fcec9abf2ce66d5e17a24bd021680e94e42f0d
Use RAII objects to ensure proper destruction of expression and statement AST nodes in the parser in most cases, even on error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60057 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
lib/Parse/AstGuard.h [new file with mode: 0644]
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseInit.cpp
lib/Parse/ParseObjc.cpp
lib/Parse/ParsePragma.cpp
lib/Parse/ParseStmt.cpp