diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2019-10-10 20:13:02 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-10-10 20:13:02 +0000 |
commit | 60e51c48033c5d6cfc7aa8e07d1143971e24261a (patch) | |
tree | 5ad12f1dc5c1e9ec65a17839606ed3278055f9e7 /clang/lib/Serialization/ASTWriterStmt.cpp | |
parent | 8dd16ed0c8d70e169544fd3e3732203aed55a806 (diff) | |
download | bcm5719-llvm-60e51c48033c5d6cfc7aa8e07d1143971e24261a.tar.gz bcm5719-llvm-60e51c48033c5d6cfc7aa8e07d1143971e24261a.zip |
[OPENMP50]Support for 'master taskloop' directive.
Added full support for master taskloop directive.
llvm-svn: 374437
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriterStmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTWriterStmt.cpp b/clang/lib/Serialization/ASTWriterStmt.cpp index a6927f32c0e..7cf4ab80722 100644 --- a/clang/lib/Serialization/ASTWriterStmt.cpp +++ b/clang/lib/Serialization/ASTWriterStmt.cpp @@ -2223,6 +2223,12 @@ void ASTStmtWriter::VisitOMPTaskLoopSimdDirective(OMPTaskLoopSimdDirective *D) { Code = serialization::STMT_OMP_TASKLOOP_SIMD_DIRECTIVE; } +void ASTStmtWriter::VisitOMPMasterTaskLoopDirective( + OMPMasterTaskLoopDirective *D) { + VisitOMPLoopDirective(D); + Code = serialization::STMT_OMP_MASTER_TASKLOOP_DIRECTIVE; +} + void ASTStmtWriter::VisitOMPDistributeDirective(OMPDistributeDirective *D) { VisitOMPLoopDirective(D); Code = serialization::STMT_OMP_DISTRIBUTE_DIRECTIVE; |