diff options
author | Kelvin Li <kkwli0@gmail.com> | 2016-12-25 04:52:54 +0000 |
---|---|---|
committer | Kelvin Li <kkwli0@gmail.com> | 2016-12-25 04:52:54 +0000 |
commit | 0b48254b3942654cf71e89bc3ed24f7ff25ac218 (patch) | |
tree | 795ba865330b7bde365610ddb43ecdac455b2ccb /lib/Serialization/ASTWriterStmt.cpp | |
parent | 79f2c33940b04324d12c0c560fbec9b3d67b57d4 (diff) |
[OpenMP] Sema and parsing for 'target teams distribute' pragma
This patch is to implement sema and parsing for 'target teams distribute' pragma.
Differential Revision: https://reviews.llvm.org/D28015
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r-- | lib/Serialization/ASTWriterStmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Serialization/ASTWriterStmt.cpp b/lib/Serialization/ASTWriterStmt.cpp index 5c1b2cc126..be420babc5 100644 --- a/lib/Serialization/ASTWriterStmt.cpp +++ b/lib/Serialization/ASTWriterStmt.cpp @@ -2544,6 +2544,12 @@ void ASTStmtWriter::VisitOMPTargetTeamsDirective(OMPTargetTeamsDirective *D) { Code = serialization::STMT_OMP_TARGET_TEAMS_DIRECTIVE; } +void ASTStmtWriter::VisitOMPTargetTeamsDistributeDirective( + OMPTargetTeamsDistributeDirective *D) { + VisitOMPLoopDirective(D); + Code = serialization::STMT_OMP_TARGET_TEAMS_DISTRIBUTE_DIRECTIVE; +} + //===----------------------------------------------------------------------===// // ASTWriter Implementation //===----------------------------------------------------------------------===// |