Skip to content

Commit 5866289

Browse files
Update clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
Co-authored-by: Amr Hesham <[email protected]>
1 parent c321248 commit 5866289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ mlir::Value ScalarExprEmitter::VisitCastExpr(CastExpr *ce) {
19011901
cir::CastOp middleVal = builder.createCast(subExpr->getType()->isBooleanType()
19021902
? cir::CastKind::bool_to_int
19031903
: cir::CastKind::integral,
1904-
Src, MiddleTy);
1904+
src, middleTy);
19051905

19061906
if (cgf.cgm.getCodeGenOpts().StrictVTablePointers)
19071907
cgf.cgm.errorNYI(subExpr->getSourceRange(), "IntegralToPointer: strict vtable pointers");

0 commit comments

Comments
 (0)