diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-09-18 08:07:34 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-09-18 08:07:34 +0000 |
commit | 87933c7ced4fb99bb9cf6cea4d87cec2825aea7c (patch) | |
tree | 1f887097058b418c1cfd5c261b11a4d126d142ed /clang/lib/AST/StmtPrinter.cpp | |
parent | fbbc0b8cece96d7377a1b52d59daa15465f7db09 (diff) | |
download | bcm5719-llvm-87933c7ced4fb99bb9cf6cea4d87cec2825aea7c.tar.gz bcm5719-llvm-87933c7ced4fb99bb9cf6cea4d87cec2825aea7c.zip |
[OPENMP 4.0] Add 'if' clause for 'cancel' directive.
Add parsing, sema analysis and codegen for 'if' clause in 'cancel' directive.
llvm-svn: 247976
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r-- | clang/lib/AST/StmtPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp index 173b5c7fcfa..4a29d38d5b8 100644 --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -991,7 +991,7 @@ void StmtPrinter::VisitOMPCancellationPointDirective( void StmtPrinter::VisitOMPCancelDirective(OMPCancelDirective *Node) { Indent() << "#pragma omp cancel " - << getOpenMPDirectiveName(Node->getCancelRegion()); + << getOpenMPDirectiveName(Node->getCancelRegion()) << " "; PrintOMPExecutableDirective(Node); } //===----------------------------------------------------------------------===// |