summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-08-05 14:37:37 +0000
committerKelvin Li <kkwli0@gmail.com>2016-08-05 14:37:37 +0000
commit02532876334c3323c26b236761bca6b4cead3c27 (patch)
tree5324cdc4a4a6726796691a75ebd274772c66b66f /clang/lib/AST/StmtProfile.cpp
parent24dc1e7a90ee85b33ac103f976bf6ad14097f9bf (diff)
downloadbcm5719-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.cpp5
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);
}
OpenPOWER on IntegriCloud