summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-07-07 13:01:15 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-07-07 13:01:15 +0000
commit4acb859fbdad4b5bc9208d3bfaea6847a682e26f (patch)
tree9e7b794b1f6f141bc4141dbb84cc0d9a1a9e830a /clang/lib/AST/StmtProfile.cpp
parent8a8b850c98f392ec21d5b1e99338e0145d57fe69 (diff)
downloadbcm5719-llvm-4acb859fbdad4b5bc9208d3bfaea6847a682e26f.tar.gz
bcm5719-llvm-4acb859fbdad4b5bc9208d3bfaea6847a682e26f.zip
[OPENMP] Added initial support for 'omp parallel for'.
llvm-svn: 212453
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 f666be7008f..73ec8d733a6 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -380,6 +380,11 @@ void StmtProfiler::VisitOMPSingleDirective(const OMPSingleDirective *S) {
VisitOMPExecutableDirective(S);
}
+void
+StmtProfiler::VisitOMPParallelForDirective(const OMPParallelForDirective *S) {
+ VisitOMPExecutableDirective(S);
+}
+
void StmtProfiler::VisitExpr(const Expr *S) {
VisitStmt(S);
}
OpenPOWER on IntegriCloud