Skip to content

Commit dcc2201

Browse files
committed
Fix typo
1 parent 0f584ac commit dcc2201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ mlir::Value ComplexExprEmitter::VisitInitListExpr(const InitListExpr *e) {
291291
}
292292

293293
assert(e->getNumInits() == 0 && "Unexpected number of inits");
294-
mlir::Type compleTy = cgf.convertType(e->getType());
295-
return builder.getNullValue(compleTy, loc);
294+
mlir::Type complexTy = cgf.convertType(e->getType());
295+
return builder.getNullValue(complexTy, loc);
296296
}
297297

298298
mlir::Value

0 commit comments

Comments
 (0)