summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-07-11 11:25:16 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-07-11 11:25:16 +0000
commit9c2e8ee72fe8c99a016a204a2f2b167cd17e188a (patch)
tree813773957814bc63d730a1a0476cb5fa60cf8d2f /clang/lib/AST/StmtProfile.cpp
parent83442bb8b2e5284276d3eb5a97457401ed61d3f7 (diff)
downloadbcm5719-llvm-9c2e8ee72fe8c99a016a204a2f2b167cd17e188a.tar.gz
bcm5719-llvm-9c2e8ee72fe8c99a016a204a2f2b167cd17e188a.zip
[OPENMP] Parsing and sema analysis for 'omp task' directive.
llvm-svn: 212804
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 db691a93edb..a364f68e305 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -390,6 +390,10 @@ void StmtProfiler::VisitOMPParallelSectionsDirective(
VisitOMPExecutableDirective(S);
}
+void StmtProfiler::VisitOMPTaskDirective(const OMPTaskDirective *S) {
+ VisitOMPExecutableDirective(S);
+}
+
void StmtProfiler::VisitExpr(const Expr *S) {
VisitStmt(S);
}
OpenPOWER on IntegriCloud