summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-08-25 14:24:04 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-08-25 14:24:04 +0000
commit1a3320e4639c9f39e85311f41dcd4d5a5c2c7f28 (patch)
tree5e0a2558e01bea5a62f5dc995be8c5c280cc0441 /clang/include/clang-c
parentf0c2dd07eaa888ab949f6f1befe3a70e78abc831 (diff)
downloadbcm5719-llvm-1a3320e4639c9f39e85311f41dcd4d5a5c2c7f28.tar.gz
bcm5719-llvm-1a3320e4639c9f39e85311f41dcd4d5a5c2c7f28.zip
[OPENMP 4.0] Initial support for array sections.
Adds parsing/sema analysis/serialization/deserialization for array sections in OpenMP constructs (introduced in OpenMP 4.0). Currently it is allowed to use array sections only in OpenMP clauses that accepts list of expressions. Differential Revision: http://reviews.llvm.org/D10732 llvm-svn: 245937
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 d7912ddaa8e..0c73855da8c 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -1982,7 +1982,11 @@ enum CXCursorKind {
*/
CXCursor_ObjCSelfExpr = 146,
- CXCursor_LastExpr = CXCursor_ObjCSelfExpr,
+ /** \brief OpenMP 4.0 [2.4, Array Section].
+ */
+ CXCursor_OMPArraySectionExpr = 147,
+
+ CXCursor_LastExpr = CXCursor_OMPArraySectionExpr,
/* Statements */
CXCursor_FirstStmt = 200,
OpenPOWER on IntegriCloud