@@ -1934,12 +1934,14 @@ genTaskyieldOp(lower::AbstractConverter &converter, lower::SymMap &symTable,
19341934
19351935static mlir::omp::WorkshareOp
19361936genWorkshareOp (lower::AbstractConverter &converter, lower::SymMap &symTable,
1937- semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval,
1938- mlir::Location loc, const ConstructQueue &queue,
1939- ConstructQueue::iterator item) {
1937+ semantics::SemanticsContext &semaCtx,
1938+ lower::pft::Evaluation &eval, mlir::Location loc,
1939+ const ConstructQueue &queue,
1940+ ConstructQueue::const_iterator item) {
19401941 lower::StatementContext stmtCtx;
19411942 mlir::omp::WorkshareOperands clauseOps;
1942- genWorkshareClauses (converter, semaCtx, stmtCtx, item->clauses , loc, clauseOps);
1943+ genWorkshareClauses (converter, semaCtx, stmtCtx, item->clauses , loc,
1944+ clauseOps);
19431945
19441946 return genOpWithBody<mlir::omp::WorkshareOp>(
19451947 OpWithBodyGenInfo (converter, symTable, semaCtx, loc, eval,
0 commit comments