summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.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/lib/AST/StmtPrinter.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/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index 9363d169ad0..56d7ba07083 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -1159,6 +1159,12 @@ void StmtPrinter::VisitOMPDistributeParallelForDirective(
PrintOMPExecutableDirective(Node);
}
+void StmtPrinter::VisitOMPDistributeParallelForSimdDirective(
+ OMPDistributeParallelForSimdDirective *Node) {
+ Indent() << "#pragma omp distribute parallel for simd ";
+ PrintOMPExecutableDirective(Node);
+}
+
//===----------------------------------------------------------------------===//
// Expr printing methods.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud