From f29276edb7b9c85c9f521eb3e301259bee17aa33 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Wed, 18 Jun 2014 04:14:57 +0000 Subject: [OPENMP] Initial support for '#pragma omp for' (fixed incompatibility with MSVC). llvm-svn: 211140 --- clang/lib/AST/StmtPrinter.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'clang/lib/AST/StmtPrinter.cpp') diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp index fdf2d545019..16330a46fe0 100644 --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -764,6 +764,11 @@ void StmtPrinter::VisitOMPSimdDirective(OMPSimdDirective *Node) { PrintOMPExecutableDirective(Node); } +void StmtPrinter::VisitOMPForDirective(OMPForDirective *Node) { + Indent() << "#pragma omp for "; + PrintOMPExecutableDirective(Node); +} + //===----------------------------------------------------------------------===// // Expr printing methods. //===----------------------------------------------------------------------===// -- cgit v1.2.3