summaryrefslogtreecommitdiff
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorMike Rice <michael.p.rice@intel.com>2021-10-25 15:03:42 -0700
committerMike Rice <michael.p.rice@intel.com>2021-10-28 07:44:27 -0700
commitb663278e084c9fff51275a670631784d3b9f730f (patch)
treeeafc08b2a17314b00a875eef6ee8ad145a26a0a7 /clang/include/clang-c
parentbf87294cd4fa5781aa2fc0954e117712befedf87 (diff)
downloadllvm-omp-loop.tar.gz
[OpenMP] Initial parsing/sema for the 'omp loop' constructomp-loop
Adds basic parsing/sema/serialization support for the #pragma omp loop directive. Differential Revision: https://reviews.llvm.org/D112499
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 b49acf6b5854..b0d7ef509c26 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2596,7 +2596,11 @@ enum CXCursorKind {
*/
CXCursor_OMPMetaDirective = 294,
- CXCursor_LastStmt = CXCursor_OMPMetaDirective,
+ /** OpenMP loop directive.
+ */
+ CXCursor_OMPGenericLoopDirective = 295,
+
+ CXCursor_LastStmt = CXCursor_OMPGenericLoopDirective,
/**
* Cursor that represents the translation unit itself.