[clang] [CIR] Add pass_object_size hidden parameter support (PR #191482)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 29 13:59:40 PDT 2026
================
@@ -2702,7 +2639,7 @@ mlir::Value CIRGenFunction::emitBuiltinObjectSize(const Expr *e, unsigned type,
// Extract the min/max mode from type. CIR only supports type 0
// (max, whole object) and type 2 (min, whole object), not type 1 or 3
// (closest subobject variants).
- const bool min = ((type & 2) != 0);
+ bool min = ((type & 2) != 0);
----------------
adams381 wrote:
Unintended — restored `const bool min`.
https://github.com/llvm/llvm-project/pull/191482
More information about the cfe-commits
mailing list