summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-12-01 04:18:41 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-12-01 04:18:41 +0000
commit49f6e78d7118e5411488ebaf134de1fd2ff3f158 (patch)
treeaacc2c2c6346a501acab425ad933050c7bb0d15f /clang/lib/AST/StmtPrinter.cpp
parent1dbaf67537327eb4e34a80c11503bf06e18811e1 (diff)
downloadbcm5719-llvm-49f6e78d7118e5411488ebaf134de1fd2ff3f158.tar.gz
bcm5719-llvm-49f6e78d7118e5411488ebaf134de1fd2ff3f158.zip
[OPENMP 4.5] Parsing/sema analysis for 'taskloop' directive.
Adds initial parsing and semantic analysis for 'taskloop' directive. llvm-svn: 254367
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 8e8ef2297cd..20cf32a8cff 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -1029,6 +1029,12 @@ void StmtPrinter::VisitOMPCancelDirective(OMPCancelDirective *Node) {
<< getOpenMPDirectiveName(Node->getCancelRegion()) << " ";
PrintOMPExecutableDirective(Node);
}
+
+void StmtPrinter::VisitOMPTaskLoopDirective(OMPTaskLoopDirective *Node) {
+ Indent() << "#pragma omp taskloop ";
+ PrintOMPExecutableDirective(Node);
+}
+
//===----------------------------------------------------------------------===//
// Expr printing methods.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud