summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-03-09 09:49:00 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-03-09 09:49:00 +0000
commit78849fb464ce63bd701e07d607d4c70ceec897f4 (patch)
treefbd3d748b3d41c8ee29e3f59a6424259ef78126e /clang/lib/AST/StmtProfile.cpp
parent78e3b0e2a9d0c5cc7fb81f0edc7021bc66f17688 (diff)
downloadbcm5719-llvm-78849fb464ce63bd701e07d607d4c70ceec897f4.tar.gz
bcm5719-llvm-78849fb464ce63bd701e07d607d4c70ceec897f4.zip
[OPENMP 4.5] Codegen for data members in 'linear' clause.
OpenMP 4.5 allows to use data members in private clauses. Patch adds codegen support for 'linear' clause. llvm-svn: 263002
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 442e32a8adf..327b4c091e9 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -415,6 +415,7 @@ void OMPClauseProfiler::VisitOMPReductionClause(
}
void OMPClauseProfiler::VisitOMPLinearClause(const OMPLinearClause *C) {
VisitOMPClauseList(C);
+ VistOMPClauseWithPostUpdate(C);
for (auto *E : C->privates()) {
Profiler->VisitStmt(E);
}
OpenPOWER on IntegriCloud