[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
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 4c02b3f..71b26c2 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -326,7 +326,7 @@
*
* \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 @@
*/
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.