summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang
diff options
context:
space:
mode:
authorCarlo Bertolli <cbertol@us.ibm.com>2016-01-15 18:50:31 +0000
committerCarlo Bertolli <cbertol@us.ibm.com>2016-01-15 18:50:31 +0000
commitb4adf55e0f050a494cc0c9a98b0bd46e8e30070a (patch)
tree450730c8fe4392d25666e1a3aad1481ce2f16c40 /clang/tools/libclang
parent47f2452da84f820addf92cb003e7d4905d4aa1bc (diff)
downloadbcm5719-llvm-b4adf55e0f050a494cc0c9a98b0bd46e8e30070a.tar.gz
bcm5719-llvm-b4adf55e0f050a494cc0c9a98b0bd46e8e30070a.zip
Add OpenMP dist_schedule clause to distribute directive and related regression tests.
llvm-svn: 257917
Diffstat (limited to 'clang/tools/libclang')
-rw-r--r--clang/tools/libclang/CIndex.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index 9086c60e18b..d57dd933072 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/tools/libclang/CIndex.cpp
@@ -2222,6 +2222,11 @@ void OMPClauseEnqueue::VisitOMPDependClause(const OMPDependClause *C) {
void OMPClauseEnqueue::VisitOMPMapClause(const OMPMapClause *C) {
VisitOMPClauseList(C);
}
+void OMPClauseEnqueue::VisitOMPDistScheduleClause(
+ const OMPDistScheduleClause *C) {
+ Visitor->AddStmt(C->getChunkSize());
+ Visitor->AddStmt(C->getHelperChunkSize());
+}
}
void EnqueueVisitor::EnqueueChildren(const OMPClause *S) {
OpenPOWER on IntegriCloud