[PATCH] Sema for Captured Statements

Ben Langmuir ben.langmuir at intel.com
Wed Feb 20 13:08:21 PST 2013


Hi doug.gregor,

This patch implements creation and semantic analysis of Captured Statements.  It depends on the following uncommitted patches:
- http://llvm-reviews.chandlerc.com/D369 (parsing)
- http://llvm-reviews.chandlerc.com/D370 (AST)

With all three patches applied, #pragma clang __debug captured will work with -fsyntax-only.  Support for CodeGen will follow in a separate patch.

Notes:
- Does not include template support
- Does not include serialization

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

Files:
  include/clang/AST/Decl.h
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/ScopeInfo.h
  include/clang/Sema/Sema.h
  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
  test/Sema/captured-statements.c
  test/SemaCXX/captured-statements.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D433.1.patch
Type: text/x-patch
Size: 24304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130220/535e1571/attachment.bin>


More information about the cfe-commits mailing list