summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2015-11-23 05:32:03 +0000
committerKelvin Li <kkwli0@gmail.com>2015-11-23 05:32:03 +0000
commit0bff7afab5bb88cafa91037c91b47436f5284331 (patch)
tree878fee7855d19dff45db6dfcc164870633e025bb /clang/lib/AST/StmtProfile.cpp
parent67501ca1b95213d0ef46f4d8e24073d70e16a7bc (diff)
downloadbcm5719-llvm-0bff7afab5bb88cafa91037c91b47436f5284331.tar.gz
bcm5719-llvm-0bff7afab5bb88cafa91037c91b47436f5284331.zip
[OpenMP] Parsing and sema support for map clause
http://reviews.llvm.org/D14134 llvm-svn: 253849
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 28507c1e536..4a54fa6a668 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -450,6 +450,9 @@ void OMPClauseProfiler::VisitOMPDependClause(const OMPDependClause *C) {
void OMPClauseProfiler::VisitOMPDeviceClause(const OMPDeviceClause *C) {
Profiler->VisitStmt(C->getDevice());
}
+void OMPClauseProfiler::VisitOMPMapClause(const OMPMapClause *C) {
+ VisitOMPClauseList(C);
+}
}
void
OpenPOWER on IntegriCloud