/data/llvm-project/flang/lib/Lower/ConvertExpr.cpp:728:10: error: unused variable 'nullBoxTy' [-Werror,-Wunused-variable]
auto nullBoxTy = builder.getRefType(fir::BoxType::get(noneTy));
^
1 error generated.
builder.createTemporary(loc, boxType, /*shape=*/mlir::ValueRange{});
mlir::Value nullBox = builder.create<fir::EmboxOp>(loc, boxType, nullConst);
builder.create<fir::StoreOp>(loc, nullBox, tempBox);
- auto nullBoxTy = builder.getRefType(fir::BoxType::get(noneTy));
return fir::MutableBoxValue(tempBox,
/*lenParameters=*/mlir::ValueRange{},
/*mutableProperties=*/{});