[PATCH] Sema for Captured Statements

Ben Langmuir ben.langmuir at intel.com
Fri Mar 15 10:05:02 PDT 2013


  Updated based on review comments.

  I added a CapturedDecl, but decided not to move the captures into it, since that didn't seem to improve anything vs. leaving them in the CapturedStmt.  CapturedDecl is just a DeclContext, and a pointer to the body of the captured statement.

Hi doug.gregor,

http://llvm-reviews.chandlerc.com/D433

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D433?vs=1109&id=1298#toc

Files:
  include/clang/AST/Decl.h
  include/clang/AST/DeclBase.h
  include/clang/AST/RecursiveASTVisitor.h
  include/clang/AST/Stmt.h
  include/clang/Basic/DeclNodes.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/ScopeInfo.h
  include/clang/Sema/Sema.h
  include/clang/Serialization/ASTBitCodes.h
  lib/AST/Decl.cpp
  lib/AST/DeclBase.cpp
  lib/AST/Stmt.cpp
  lib/AST/StmtPrinter.cpp
  lib/CodeGen/CGDecl.cpp
  lib/Frontend/PrintPreprocessedOutput.cpp
  lib/Parse/ParsePragma.cpp
  lib/Sema/ScopeInfo.cpp
  lib/Sema/Sema.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaExprCXX.cpp
  lib/Sema/SemaLambda.cpp
  lib/Sema/SemaStmt.cpp
  lib/Serialization/ASTCommon.cpp
  lib/Serialization/ASTReaderDecl.cpp
  lib/Serialization/ASTWriterDecl.cpp
  test/Sema/captured-statements.c
  test/SemaCXX/captured-statements.cpp
  tools/libclang/CIndex.cpp
  tools/libclang/RecursiveASTVisitor.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D433.3.patch
Type: text/x-patch
Size: 35885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130315/44389cbb/attachment.bin>


More information about the cfe-commits mailing list