summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorMichael Wong <fraggamuffin@gmail.com>2015-07-21 13:44:28 +0000
committerMichael Wong <fraggamuffin@gmail.com>2015-07-21 13:44:28 +0000
commit65f367fcbbf38e599b2f747ca101c97d40c6420d (patch)
treefb0045186e3262cb10d2e591043d47cbba1c2b18 /clang/lib/AST/StmtProfile.cpp
parentfbb86b2350e58876c243c882b3315c45888453dc (diff)
downloadbcm5719-llvm-65f367fcbbf38e599b2f747ca101c97d40c6420d.tar.gz
bcm5719-llvm-65f367fcbbf38e599b2f747ca101c97d40c6420d.zip
Commit for http://reviews.llvm.org/D10765
for OpenMP 4 target data directive parsing and sema. This commit is on behalf of Kelvin Li. llvm-svn: 242785
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 da996920c42..f2fa53d25cd 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -533,6 +533,10 @@ void StmtProfiler::VisitOMPTargetDirective(const OMPTargetDirective *S) {
VisitOMPExecutableDirective(S);
}
+void StmtProfiler::VisitOMPTargetDataDirective(const OMPTargetDataDirective *S) {
+ VisitOMPExecutableDirective(S);
+}
+
void StmtProfiler::VisitOMPTeamsDirective(const OMPTeamsDirective *S) {
VisitOMPExecutableDirective(S);
}
OpenPOWER on IntegriCloud