summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXCursor.cpp
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/tools/libclang/CXCursor.cpp
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/tools/libclang/CXCursor.cpp')
-rw-r--r--clang/tools/libclang/CXCursor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/tools/libclang/CXCursor.cpp b/clang/tools/libclang/CXCursor.cpp
index 2cf923396f7..0242e34a87c 100644
--- a/clang/tools/libclang/CXCursor.cpp
+++ b/clang/tools/libclang/CXCursor.cpp
@@ -637,6 +637,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent,
case Stmt::OMPDistributeParallelForDirectiveClass:
K = CXCursor_OMPDistributeParallelForDirective;
break;
+ case Stmt::OMPDistributeParallelForSimdDirectiveClass:
+ K = CXCursor_OMPDistributeParallelForSimdDirective;
+ break;
}
CXCursor C = { K, 0, { Parent, S, TU } };
OpenPOWER on IntegriCloud