This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fixed build issue after 88f07a736bbc3f0062d7d8f4032f0b54aff5c018
ClosedPublic

Authored by vzakhari on Oct 5 2022, 12:53 PM.

Details

Summary

nullptr matches both against ::mlir::UnitAttr and ::mlir::TypeRange,
so the following two candidates fit:
static void mlir::omp::OrderedRegionOp::build(::mlir::OpBuilder &odsBuilder,

::mlir::OperationState &odsState,
/*optional*/::mlir::UnitAttr simd)

static void mlir::omp::OrderedRegionOp::build(::mlir::OpBuilder &odsBuilder,

::mlir::OperationState &odsState,
::mlir::TypeRange resultTypes,
/*optional*/bool simd = false)

Diff Detail