summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-02-17 13:19:37 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-02-17 13:19:37 +0000
commit417089fc7e2cac58aa240d4a81a89f44afe99bc4 (patch)
treec6f4fb77c0a42d4d6820fe891c200dee1a4813bb /clang/lib/AST/StmtProfile.cpp
parent4788179a2cbb8fceda25751b2bdfc4f3ae2d13d6 (diff)
downloadbcm5719-llvm-417089fc7e2cac58aa240d4a81a89f44afe99bc4.tar.gz
bcm5719-llvm-417089fc7e2cac58aa240d4a81a89f44afe99bc4.zip
[OPENMP 4.5] Codegen support for data members in 'firstprivate' clause.
Added codegen for captured data members in non-static member functions. llvm-svn: 261089
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 02b59756e3d..d106969efe6 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -360,6 +360,7 @@ void OMPClauseProfiler::VisitOMPPrivateClause(const OMPPrivateClause *C) {
void
OMPClauseProfiler::VisitOMPFirstprivateClause(const OMPFirstprivateClause *C) {
VisitOMPClauseList(C);
+ VistOMPClauseWithPreInit(C);
for (auto *E : C->private_copies()) {
Profiler->VisitStmt(E);
}
OpenPOWER on IntegriCloud