[PATCH] Small CapturedStmt improvements
Ben Langmuir
ben.langmuir at intel.com
Tue Apr 23 09:47:31 PDT 2013
Hi wei.pan, doug.gregor,
Add a CapturedStmt.h similar to Lambda.h to reduce the typing required to get to the CapturedRegionKind enum. This also allows codegen to access this enum without including Sema/ScopeInfo.h.
Also removes some duplicated code for capturing 'this' between CapturedStmt and Lambda.
http://llvm-reviews.chandlerc.com/D712
Files:
include/clang/AST/Stmt.h
include/clang/Basic/CapturedStmt.h
include/clang/Sema/ScopeInfo.h
include/clang/Sema/Sema.h
lib/Parse/ParsePragma.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaStmt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D712.1.patch
Type: text/x-patch
Size: 8614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130423/9328a1e2/attachment.bin>
More information about the cfe-commits
mailing list