summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-06-26 08:21:58 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-06-26 08:21:58 +0000
commit1e0498a92d6e09d01c791a7f32299de6c8e02cac (patch)
tree80b5da2548f93a8a8f193b07da7851a496adb24d /clang/lib/AST/StmtPrinter.cpp
parent07910d6ab548e7a57717af7e28d994cd652fd75d (diff)
downloadbcm5719-llvm-1e0498a92d6e09d01c791a7f32299de6c8e02cac.tar.gz
bcm5719-llvm-1e0498a92d6e09d01c791a7f32299de6c8e02cac.zip
[OPENMP] Initial parsing and sema analysis for 'section' directive.
llvm-svn: 211767
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index 46e9cbdc3d9..0ac683347f0 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -792,6 +792,11 @@ void StmtPrinter::VisitOMPSectionsDirective(OMPSectionsDirective *Node) {
PrintOMPExecutableDirective(Node);
}
+void StmtPrinter::VisitOMPSectionDirective(OMPSectionDirective *Node) {
+ Indent() << "#pragma omp section";
+ PrintOMPExecutableDirective(Node);
+}
+
//===----------------------------------------------------------------------===//
// Expr printing methods.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud