summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-07-20 22:57:10 +0000
committerKelvin Li <kkwli0@gmail.com>2016-07-20 22:57:10 +0000
commit986330c190fdecfe608b20449ba27491080afeba (patch)
tree79b6dd16ae472cc3f1d654c776cb707fd0277b82 /clang/lib/AST/StmtProfile.cpp
parentfb64ebe313f0fa6e47db8236f40a27c73e08e396 (diff)
downloadbcm5719-llvm-986330c190fdecfe608b20449ba27491080afeba.tar.gz
bcm5719-llvm-986330c190fdecfe608b20449ba27491080afeba.zip
[OpenMP] Sema and parsing for 'target simd' pragma
This patch is to implement sema and parsing for 'target simd' pragma. Differential Revision: https://reviews.llvm.org/D22479 llvm-svn: 276203
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 0a39413853a..776a672c7f6 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -727,6 +727,11 @@ void StmtProfiler::VisitOMPTargetParallelForSimdDirective(
VisitOMPLoopDirective(S);
}
+void StmtProfiler::VisitOMPTargetSimdDirective(
+ const OMPTargetSimdDirective *S) {
+ VisitOMPLoopDirective(S);
+}
+
void StmtProfiler::VisitExpr(const Expr *S) {
VisitStmt(S);
}
OpenPOWER on IntegriCloud