diff options
author | Carlo Bertolli <cbertol@us.ibm.com> | 2015-12-08 04:21:03 +0000 |
---|---|---|
committer | Carlo Bertolli <cbertol@us.ibm.com> | 2015-12-08 04:21:03 +0000 |
commit | b9bfa75b28506be4d81ae65409565c958be45f2b (patch) | |
tree | 167475e4a6f05911bc1c90729e83dce8dcb69f00 /clang/lib/AST/StmtPrinter.cpp | |
parent | 8da1f95916588922dd3ef277602aa93891106902 (diff) | |
download | bcm5719-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.cpp | 5 |
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. //===----------------------------------------------------------------------===// |