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 c321248 commit 5866289Copy full SHA for 5866289
clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
@@ -1901,7 +1901,7 @@ mlir::Value ScalarExprEmitter::VisitCastExpr(CastExpr *ce) {
1901
cir::CastOp middleVal = builder.createCast(subExpr->getType()->isBooleanType()
1902
? cir::CastKind::bool_to_int
1903
: cir::CastKind::integral,
1904
- Src, MiddleTy);
+ src, middleTy);
1905
1906
if (cgf.cgm.getCodeGenOpts().StrictVTablePointers)
1907
cgf.cgm.errorNYI(subExpr->getSourceRange(), "IntegralToPointer: strict vtable pointers");
0 commit comments