diff options
author | Arpith Chacko Jacob <acjacob@us.ibm.com> | 2016-01-26 18:48:41 +0000 |
---|---|---|
committer | Arpith Chacko Jacob <acjacob@us.ibm.com> | 2016-01-26 18:48:41 +0000 |
commit | ed30907f4a2352e40c8dfebbf615bd14607833fc (patch) | |
tree | be9442fb06b8e3830314bebeb1c6d24669e8030c /include/clang-c | |
parent | 00fef86c90e0dae2bac1905d5317fad36e5b591c (diff) |
[OpenMP] Parsing + sema for target parallel directive.
Summary:
This patch adds parsing + sema for the target parallel directive and its clauses along with testcases.
Reviewers: ABataev
Differential Revision: http://reviews.llvm.org/D16553
Rebased to current trunk and updated test cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@258832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/Index.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index c884b14b15..25b8dd8f9e 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -2282,7 +2282,11 @@ enum CXCursorKind { */ CXCursor_OMPTargetExitDataDirective = 262, - CXCursor_LastStmt = CXCursor_OMPTargetExitDataDirective, + /** \brief OpenMP target parallel directive. + */ + CXCursor_OMPTargetParallelDirective = 263, + + CXCursor_LastStmt = CXCursor_OMPTargetParallelDirective, /** * \brief Cursor that represents the translation unit itself. |