Skip to content

Commit 9a9e05d

Browse files
monthdevandykaylor
andauthored
Update clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
Co-authored-by: Andy Kaylor <[email protected]>
1 parent 2b3d7cb commit 9a9e05d

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
@@ -1904,7 +1904,7 @@ mlir::Value ScalarExprEmitter::VisitCastExpr(CastExpr *ce) {
19041904
Src, MiddleTy);
19051905

19061906
if (cgf.cgm.getCodeGenOpts().StrictVTablePointers)
1907-
llvm_unreachable("NYI");
1907+
cgf.cgm.errorNYI(subExpr->getSourceRange(), "IntegralToPointer: strict vtable pointers");
19081908

19091909
return builder.createIntToPtr(MiddleVal, DestCIRTy);
19101910
}

0 commit comments

Comments
 (0)