@@ -2271,16 +2271,16 @@ void CIRGenItaniumCXXABI::emitRethrow(CIRGenFunction &CGF, bool isNoReturn) {
2271
2271
// `UnreachableOp` as the terminator. So, we branch from the current block
2272
2272
// to the rethrow block and create a block for the remaining operations.
2273
2273
2274
- auto currentBlock = builder.getInsertionBlock ();
2275
- auto region = currentBlock->getParent ();
2274
+ mlir::Block * currentBlock = builder.getInsertionBlock ();
2275
+ mlir::Region * region = currentBlock->getParent ();
2276
2276
2277
2277
if (currentBlock->empty ()) {
2278
2278
builder.create <cir::ThrowOp>(loc, mlir::Value{},
2279
2279
mlir::FlatSymbolRefAttr{},
2280
2280
mlir::FlatSymbolRefAttr{});
2281
2281
builder.create <cir::UnreachableOp>(loc);
2282
2282
} else {
2283
- auto rethrowBlock = builder.createBlock (region);
2283
+ mlir::Block * rethrowBlock = builder.createBlock (region);
2284
2284
builder.create <cir::ThrowOp>(loc, mlir::Value{},
2285
2285
mlir::FlatSymbolRefAttr{},
2286
2286
mlir::FlatSymbolRefAttr{});
@@ -2290,7 +2290,7 @@ void CIRGenItaniumCXXABI::emitRethrow(CIRGenFunction &CGF, bool isNoReturn) {
2290
2290
builder.create <cir::BrOp>(loc, rethrowBlock);
2291
2291
}
2292
2292
2293
- auto remBlock = builder.createBlock (region);
2293
+ mlir::Block * remBlock = builder.createBlock (region);
2294
2294
// This will be erased during codegen, it acts as a placeholder for the
2295
2295
// operations to be inserted (if any)
2296
2296
builder.create <cir::ScopeOp>(loc, /* scopeBuilder=*/
0 commit comments