summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-12-17 05:48:59 +0000
committerKelvin Li <kkwli0@gmail.com>2016-12-17 05:48:59 +0000
commitbf594a560089552d861d72764256fa469296b97b (patch)
tree0f1e12fd60b3251df7236c22b4e6b28efee0985c /clang/include/clang-c
parent7761abb64a03d7a4dda6d8cc0e25dfe0ab67ab14 (diff)
downloadbcm5719-llvm-bf594a560089552d861d72764256fa469296b97b.tar.gz
bcm5719-llvm-bf594a560089552d861d72764256fa469296b97b.zip
[OpenMP] Sema and parsing for 'target teams' pragma
This patch is to implement sema and parsing for 'target teams' pragma. Differential Revision: https://reviews.llvm.org/D27818 llvm-svn: 290038
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 5756f9fda42..0fb9a055d62 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2354,7 +2354,11 @@ enum CXCursorKind {
*/
CXCursor_OMPTeamsDistributeParallelForDirective = 274,
- CXCursor_LastStmt = CXCursor_OMPTeamsDistributeParallelForDirective,
+ /** \brief OpenMP target teams directive.
+ */
+ CXCursor_OMPTargetTeamsDirective = 275,
+
+ CXCursor_LastStmt = CXCursor_OMPTargetTeamsDirective,
/**
* \brief Cursor that represents the translation unit itself.
OpenPOWER on IntegriCloud