https://github.com/banach-space updated https://github.com/llvm/llvm-project/pull/174334
From 7ed208c9942c9fb3e6359f7a97694b10c34afc59 Mon Sep 17 00:00:00 2001 From: Andrzej Warzynski <[email protected]> Date: Sun, 4 Jan 2026 14:50:43 +0000 Subject: [PATCH] [CIR][NFC] Fix incorrect function names in assert messages --- clang/lib/CIR/CodeGen/CIRGenFunction.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clang/lib/CIR/CodeGen/CIRGenFunction.h b/clang/lib/CIR/CodeGen/CIRGenFunction.h index c46cd86e66dc0..49ebccc221950 100644 --- a/clang/lib/CIR/CodeGen/CIRGenFunction.h +++ b/clang/lib/CIR/CodeGen/CIRGenFunction.h @@ -210,7 +210,7 @@ class CIRGenFunction : public CIRGenTypeCache { /// Get integer from a mlir::Value that is an int constant or a constant op. static int64_t getSExtIntValueFromConstOp(mlir::Value val) { auto constOp = val.getDefiningOp<cir::ConstantOp>(); - assert(constOp && "getIntValueFromConstOp call with non ConstantOp"); + assert(constOp && "getSExtIntValueFromConstOp call with non ConstantOp"); return constOp.getIntValue().getSExtValue(); } @@ -218,8 +218,7 @@ class CIRGenFunction : public CIRGenTypeCache { /// constant op. static int64_t getZExtIntValueFromConstOp(mlir::Value val) { auto constOp = val.getDefiningOp<cir::ConstantOp>(); - assert(constOp && - "getZeroExtendedIntValueFromConstOp call with non ConstantOp"); + assert(constOp && "getZExtIntValueFromConstOp call with non ConstantOp"); return constOp.getIntValue().getZExtValue(); } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
