summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-10-07 10:13:33 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-10-07 10:13:33 +0000
commit941bbec6f4d90763ec3fd97f7380836c7085ea81 (patch)
tree11486f57eae83a1dca964517a51a7658b19a3e86 /clang/lib/AST/StmtProfile.cpp
parentf3fe49aac61e49c0ff14602c95c2c3c7bbb6578a (diff)
downloadbcm5719-llvm-941bbec6f4d90763ec3fd97f7380836c7085ea81.tar.gz
bcm5719-llvm-941bbec6f4d90763ec3fd97f7380836c7085ea81.zip
[OPENMP] 'omp teams' directive basic support.
Includes parsing and semantic analysis for 'omp teams' directive support from OpenMP 4.0. Adds additional analysis to 'omp target' directive with 'omp teams' directive. llvm-svn: 219197
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 9bcb5929ed0..2da2174bf64 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -466,6 +466,10 @@ void StmtProfiler::VisitOMPTargetDirective(const OMPTargetDirective *S) {
VisitOMPExecutableDirective(S);
}
+void StmtProfiler::VisitOMPTeamsDirective(const OMPTeamsDirective *S) {
+ VisitOMPExecutableDirective(S);
+}
+
void StmtProfiler::VisitExpr(const Expr *S) {
VisitStmt(S);
}
OpenPOWER on IntegriCloud