summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorCarlo Bertolli <cbertol@us.ibm.com>2015-12-08 04:21:03 +0000
committerCarlo Bertolli <cbertol@us.ibm.com>2015-12-08 04:21:03 +0000
commitb9bfa75b28506be4d81ae65409565c958be45f2b (patch)
tree167475e4a6f05911bc1c90729e83dce8dcb69f00 /clang/lib/AST/StmtPrinter.cpp
parent8da1f95916588922dd3ef277602aa93891106902 (diff)
downloadbcm5719-llvm-b9bfa75b28506be4d81ae65409565c958be45f2b.tar.gz
bcm5719-llvm-b9bfa75b28506be4d81ae65409565c958be45f2b.zip
Add parse and sema for OpenMP distribute directive and all its clauses excluding dist_schedule.
llvm-svn: 255001
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index f680b784165..2c5ec09addb 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -1057,6 +1057,11 @@ void StmtPrinter::VisitOMPTaskLoopSimdDirective(
PrintOMPExecutableDirective(Node);
}
+void StmtPrinter::VisitOMPDistributeDirective(OMPDistributeDirective *Node) {
+ Indent() << "#pragma omp distribute ";
+ PrintOMPExecutableDirective(Node);
+}
+
//===----------------------------------------------------------------------===//
// Expr printing methods.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud