summaryrefslogtreecommitdiffstats
path: root/include/clang-c
diff options
context:
space:
mode:
authorArpith Chacko Jacob <acjacob@us.ibm.com>2016-02-03 15:46:42 +0000
committerArpith Chacko Jacob <acjacob@us.ibm.com>2016-02-03 15:46:42 +0000
commit334563d01db6cf227cc281c9b9f2557e44ad75c3 (patch)
treecbcb0b2f399143b37955d6f94d11d281fa6a6895 /include/clang-c
parentd35ba45a58c209f9aad9deff4c80e6335cee4c67 (diff)
[OpenMP] Parsing + sema for target parallel for directive.
Summary: This patch adds parsing + sema for the target parallel for directive along with testcases. Reviewers: ABataev Differential Revision: http://reviews.llvm.org/D16759 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r--include/clang-c/Index.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index 25b8dd8f9e..c29a201d84 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -2286,7 +2286,11 @@ enum CXCursorKind {
*/
CXCursor_OMPTargetParallelDirective = 263,
- CXCursor_LastStmt = CXCursor_OMPTargetParallelDirective,
+ /** \brief OpenMP target parallel for directive.
+ */
+ CXCursor_OMPTargetParallelForDirective = 264,
+
+ CXCursor_LastStmt = CXCursor_OMPTargetParallelForDirective,
/**
* \brief Cursor that represents the translation unit itself.