[PATCH] Implement StmtWithCleanups
Wei Pan
wei.pan at intel.com
Mon Apr 15 09:31:17 PDT 2013
Hi doug.gregor, rjmccall,
* Handle C/C++ statements associated with cleanups, which is parallel
to ExprWithCleanups.
* Currently, this is only used for AsmStmt's. Previously, an AsmStmt
with cleanups is wrapped by a CompoundStmt, a StmtExpr, and then
an ExprWithCleanups. This statement cleanups its AST representation.
Another potential user is for statements with copy captures.
http://llvm-reviews.chandlerc.com/D672
Files:
include/clang/AST/RecursiveASTVisitor.h
include/clang/AST/Stmt.h
include/clang/Basic/StmtNodes.td
include/clang/Serialization/ASTBitCodes.h
lib/AST/ASTDumper.cpp
lib/AST/Stmt.cpp
lib/AST/StmtPrinter.cpp
lib/AST/StmtProfile.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaExprCXX.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
test/CodeGenCXX/asm.cpp
test/Misc/ast-dump-stmt.m
tools/libclang/CXCursor.cpp
tools/libclang/RecursiveASTVisitor.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D672.1.patch
Type: text/x-patch
Size: 17302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130415/1fdf5d40/attachment.bin>
More information about the cfe-commits
mailing list