summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-11-30 23:51:03 +0000
committerKelvin Li <kkwli0@gmail.com>2016-11-30 23:51:03 +0000
commit579e41ced22fe784060d07b9395f58f5c2f7ad0d (patch)
treeb9e8ddf914f542f4917133564497313cfb83ae1f /clang/lib/AST/StmtPrinter.cpp
parented14cb060420040e712ff159058e53c62a7326a0 (diff)
downloadbcm5719-llvm-579e41ced22fe784060d07b9395f58f5c2f7ad0d.tar.gz
bcm5719-llvm-579e41ced22fe784060d07b9395f58f5c2f7ad0d.zip
[OpenMP] Sema and parsing for 'teams distribute parallel for simd' pragma
This patch is to implement sema and parsing for 'teams distribute parallel for simd' pragma. Differential Revision: https://reviews.llvm.org/D27084 llvm-svn: 288294
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 e80598469da..f548e78f6f0 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -1215,6 +1215,12 @@ void StmtPrinter::VisitOMPTeamsDistributeSimdDirective(
PrintOMPExecutableDirective(Node);
}
+void StmtPrinter::VisitOMPTeamsDistributeParallelForSimdDirective(
+ OMPTeamsDistributeParallelForSimdDirective *Node) {
+ Indent() << "#pragma omp teams distribute parallel for simd ";
+ PrintOMPExecutableDirective(Node);
+}
+
//===----------------------------------------------------------------------===//
// Expr printing methods.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud