diff options
author | Kelvin Li <kkwli0@gmail.com> | 2016-08-05 14:37:37 +0000 |
---|---|---|
committer | Kelvin Li <kkwli0@gmail.com> | 2016-08-05 14:37:37 +0000 |
commit | 02532876334c3323c26b236761bca6b4cead3c27 (patch) | |
tree | 5324cdc4a4a6726796691a75ebd274772c66b66f /clang/lib/AST/StmtProfile.cpp | |
parent | 24dc1e7a90ee85b33ac103f976bf6ad14097f9bf (diff) | |
download | bcm5719-llvm-02532876334c3323c26b236761bca6b4cead3c27.tar.gz bcm5719-llvm-02532876334c3323c26b236761bca6b4cead3c27.zip |
[OpenMP] Sema and parsing for 'teams distribute' pragma
This patch is to implement sema and parsing for 'teams distribute' pragma.
Differential Revision: https://reviews.llvm.org/D23189
llvm-svn: 277818
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r-- | clang/lib/AST/StmtProfile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index 776a672c7f6..cff836959d0 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp @@ -732,6 +732,11 @@ void StmtProfiler::VisitOMPTargetSimdDirective( VisitOMPLoopDirective(S); } +void StmtProfiler::VisitOMPTeamsDistributeDirective( + const OMPTeamsDistributeDirective *S) { + VisitOMPLoopDirective(S); +} + void StmtProfiler::VisitExpr(const Expr *S) { VisitStmt(S); } |