We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f584ac commit dcc2201Copy full SHA for dcc2201
clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
@@ -291,8 +291,8 @@ mlir::Value ComplexExprEmitter::VisitInitListExpr(const InitListExpr *e) {
291
}
292
293
assert(e->getNumInits() == 0 && "Unexpected number of inits");
294
- mlir::Type compleTy = cgf.convertType(e->getType());
295
- return builder.getNullValue(compleTy, loc);
+ mlir::Type complexTy = cgf.convertType(e->getType());
+ return builder.getNullValue(complexTy, loc);
296
297
298
mlir::Value
0 commit comments