Skip to content

Commit 2ff1ac1

Browse files
committed
Fix function signature
1 parent 31ddd5c commit 2ff1ac1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

flang/lib/Lower/OpenMP/OpenMP.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1934,12 +1934,14 @@ genTaskyieldOp(lower::AbstractConverter &converter, lower::SymMap &symTable,
19341934

19351935
static mlir::omp::WorkshareOp
19361936
genWorkshareOp(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

Comments
 (0)