[PATCH] Pragma for captured statements

Andy Zhang andy.zhang at intel.com
Tue Feb 5 10:06:09 PST 2013


This patch implements parsing for "#pragma clang __debug captured" as a first step for implementing captured statements (see http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-January/027540.html).

Added preprocessor support for the new pragma to PragmaDebugHandler. The parser returns a StmtEmpty for this pragma until the AST changes go in.

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

Files:
  include/clang/Basic/TokenKinds.def
  include/clang/Lex/PPCallbacks.h
  include/clang/Parse/Parser.h
  lib/Frontend/PrintPreprocessedOutput.cpp
  lib/Lex/Pragma.cpp
  lib/Parse/ParsePragma.cpp
  lib/Parse/ParseStmt.cpp
  test/Parser/captured-statements.c
  test/Preprocessor/pragma-captured.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D369.1.patch
Type: text/x-patch
Size: 6406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130205/a2fba631/attachment.bin>


More information about the cfe-commits mailing list