diff options
author | Alexander Musman <alexander.musman@gmail.com> | 2014-07-17 08:54:58 +0000 |
---|---|---|
committer | Alexander Musman <alexander.musman@gmail.com> | 2014-07-17 08:54:58 +0000 |
commit | 80c2289a03f8a993b2377993a873242a62116c58 (patch) | |
tree | 884ff25047b61490212bc094c568afb654d56757 /clang/lib/AST/StmtPrinter.cpp | |
parent | c790515c8b2f395cc259030532992a4497b5daa8 (diff) | |
download | bcm5719-llvm-80c2289a03f8a993b2377993a873242a62116c58.tar.gz bcm5719-llvm-80c2289a03f8a993b2377993a873242a62116c58.zip |
[OPENMP] Parsing/Sema analysis of directive 'master'
llvm-svn: 213237
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r-- | clang/lib/AST/StmtPrinter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp index 5958dacf3a8..fd511ef465d 100644 --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -821,6 +821,11 @@ void StmtPrinter::VisitOMPSingleDirective(OMPSingleDirective *Node) { PrintOMPExecutableDirective(Node); } +void StmtPrinter::VisitOMPMasterDirective(OMPMasterDirective *Node) { + Indent() << "#pragma omp master"; + PrintOMPExecutableDirective(Node); +} + void StmtPrinter::VisitOMPParallelForDirective(OMPParallelForDirective *Node) { Indent() << "#pragma omp parallel for "; PrintOMPExecutableDirective(Node); |