From 417089fc7e2cac58aa240d4a81a89f44afe99bc4 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Wed, 17 Feb 2016 13:19:37 +0000 Subject: [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 --- clang/lib/AST/StmtProfile.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/AST/StmtProfile.cpp') 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); } -- cgit v1.2.3