summaryrefslogtreecommitdiff
path: root/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-11-30 23:51:03 +0000
committerKelvin Li <kkwli0@gmail.com>2016-11-30 23:51:03 +0000
commit195ed07166157b3ce58b54a0dd01cce29a07bc9b (patch)
tree018d029069a46da32686d807fae26b7086ef6973 /lib/AST/StmtProfile.cpp
parentfe232febd1c58d2b28d6d175e78b12063b693cf2 (diff)
downloadclang-195ed07166157b3ce58b54a0dd01cce29a07bc9b.tar.gz
[OpenMP] Sema and parsing for 'teams distribute parallel for simd' pragma
This patch is to implement sema and parsing for 'teams distribute parallel for simd' pragma. Differential Revision: https://reviews.llvm.org/D27084 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/StmtProfile.cpp')
-rw-r--r--lib/AST/StmtProfile.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/AST/StmtProfile.cpp b/lib/AST/StmtProfile.cpp
index 5a27934276..6cc20b74bf 100644
--- a/lib/AST/StmtProfile.cpp
+++ b/lib/AST/StmtProfile.cpp
@@ -738,6 +738,11 @@ void StmtProfiler::VisitOMPTeamsDistributeSimdDirective(
VisitOMPLoopDirective(S);
}
+void StmtProfiler::VisitOMPTeamsDistributeParallelForSimdDirective(
+ const OMPTeamsDistributeParallelForSimdDirective *S) {
+ VisitOMPLoopDirective(S);
+}
+
void StmtProfiler::VisitExpr(const Expr *S) {
VisitStmt(S);
}