summaryrefslogtreecommitdiff
path: root/include/clang/Basic/StmtNodes.td
diff options
context:
space:
mode:
authorTareq A. Siraj <tareq.a.sriaj@intel.com>2013-04-16 18:53:08 +0000
committerTareq A. Siraj <tareq.a.sriaj@intel.com>2013-04-16 18:53:08 +0000
commit051303ce09291dfbed537fa33b0d8a4d92c82b75 (patch)
tree009bdace0e61c4a9e4c25c9337551de59b007e3c /include/clang/Basic/StmtNodes.td
parent85192c7fe187d5486e12dbc6960af28f16a558a0 (diff)
downloadclang-051303ce09291dfbed537fa33b0d8a4d92c82b75.tar.gz
clang-051303ce09291dfbed537fa33b0d8a4d92c82b75.tar.bz2
clang-051303ce09291dfbed537fa33b0d8a4d92c82b75.tar.xz
Implement CapturedStmt AST
CapturedStmt can be used to implement generic function outlining as described in http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-January/027540.html. CapturedStmt is not exposed to the C api. Serialization and template support are pending. Author: Wei Pan <wei.pan@intel.com> Differential Revision: http://llvm-reviews.chandlerc.com/D370 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/StmtNodes.td')
-rw-r--r--include/clang/Basic/StmtNodes.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/StmtNodes.td b/include/clang/Basic/StmtNodes.td
index 979555e1a6..ad25e57c89 100644
--- a/include/clang/Basic/StmtNodes.td
+++ b/include/clang/Basic/StmtNodes.td
@@ -27,6 +27,7 @@ def DeclStmt : Stmt;
def SwitchCase : Stmt<1>;
def CaseStmt : DStmt<SwitchCase>;
def DefaultStmt : DStmt<SwitchCase>;
+def CapturedStmt : Stmt;
// Asm statements
def AsmStmt : Stmt<1>;