summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-07-05 05:00:15 +0000
committerKelvin Li <kkwli0@gmail.com>2016-07-05 05:00:15 +0000
commit4a39add05e01347f7e0683835c27a56bf1c29275 (patch)
tree8b74095e990246aed86a04d4c5af903c46c82664 /clang/include/clang-c
parent4d3626ed3192400bea0f8de5762715822907eae4 (diff)
downloadbcm5719-llvm-4a39add05e01347f7e0683835c27a56bf1c29275.tar.gz
bcm5719-llvm-4a39add05e01347f7e0683835c27a56bf1c29275.zip
[OpenMP] Sema and parse for 'distribute parallel for simd'
Summary: This patch is an implementation of sema and parsing for the OpenMP composite pragma 'distribute parallel for simd'. Differential Revision: http://reviews.llvm.org/D21977 llvm-svn: 274530
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 4c02b3f7934..71b26c2027e 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -326,7 +326,7 @@ clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu, CXFile file);
*
* \param tu the translation unit
*
- * \param file_name the name of the file.
+* \param file_name the name of the file.
*
* \returns the file handle for the named file in the translation unit \p tu,
* or a NULL file handle if the file was not a part of this translation unit.
@@ -2309,7 +2309,11 @@ enum CXCursorKind {
*/
CXCursor_OMPDistributeParallelForDirective = 266,
- CXCursor_LastStmt = CXCursor_OMPDistributeParallelForDirective,
+ /** \brief OpenMP distribute parallel for simd directive.
+ */
+ CXCursor_OMPDistributeParallelForSimdDirective = 267,
+
+ CXCursor_LastStmt = CXCursor_OMPDistributeParallelForSimdDirective,
/**
* \brief Cursor that represents the translation unit itself.
OpenPOWER on IntegriCloud