Parser support for #pragma clang __debug captured
This patch implements parsing ‘#pragma clang __debug’ as a first step for implementing captured statements. Captured statements are a mechanism for doing outlining in the AST. see http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-January/027540.html. Currently returns StmtEmpty Author: Andy Zhang <andy.zhang@intel.com> Differential Revision: http://llvm-reviews.chandlerc.com/D369 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179614 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/TokenKinds.def 5 additions, 0 deletionsinclude/clang/Basic/TokenKinds.def
- include/clang/Lex/PPCallbacks.h 6 additions, 0 deletionsinclude/clang/Lex/PPCallbacks.h
- include/clang/Parse/Parser.h 4 additions, 0 deletionsinclude/clang/Parse/Parser.h
- lib/Frontend/PrintPreprocessedOutput.cpp 12 additions, 0 deletionslib/Frontend/PrintPreprocessedOutput.cpp
- lib/Lex/Pragma.cpp 30 additions, 0 deletionslib/Lex/Pragma.cpp
- lib/Parse/ParsePragma.cpp 15 additions, 0 deletionslib/Parse/ParsePragma.cpp
- lib/Parse/ParseStmt.cpp 3 additions, 0 deletionslib/Parse/ParseStmt.cpp
- test/Parser/captured-statements.c 14 additions, 0 deletionstest/Parser/captured-statements.c
- test/Preprocessor/pragma-captured.c 13 additions, 0 deletionstest/Preprocessor/pragma-captured.c
Loading
Please register or sign in to comment