summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-07-08 08:12:03 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-07-08 08:12:03 +0000
commit84d0b3efee509e4c820096772981adeb6568978f (patch)
tree7f24a3a2722c4f05eef7c831cca58f09281d18cc /clang/lib/AST/StmtPrinter.cpp
parentefbce587759f70ad651c98b93e9590751b0e3ce9 (diff)
downloadbcm5719-llvm-84d0b3efee509e4c820096772981adeb6568978f.tar.gz
bcm5719-llvm-84d0b3efee509e4c820096772981adeb6568978f.zip
[OPENMP] Parsing and sema analysis for 'omp parallel sections' directive.
llvm-svn: 212516
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 9e88ca91186..1d01e655655 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -820,6 +820,12 @@ void StmtPrinter::VisitOMPParallelForDirective(OMPParallelForDirective *Node) {
PrintOMPExecutableDirective(Node);
}
+void StmtPrinter::VisitOMPParallelSectionsDirective(
+ OMPParallelSectionsDirective *Node) {
+ Indent() << "#pragma omp parallel sections ";
+ PrintOMPExecutableDirective(Node);
+}
+
//===----------------------------------------------------------------------===//
// Expr printing methods.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud