offset -> offset_of in std::meta::exception argument from eval_offset_of

This commit is contained in:
Jakub Jelinek
2026-01-07 10:13:32 +01:00
committed by Marek Polacek
parent 37d7a5eb20
commit eb4569e1d0

View File

@@ -3121,7 +3121,7 @@ eval_offset_of (location_t loc, const constexpr_ctx *ctx, tree r,
byte_off = BINFO_OFFSET (r);
}
else if (TREE_CODE (r) != FIELD_DECL)
return throw_exception (loc, ctx, "reflection unsuitable for offset",
return throw_exception (loc, ctx, "reflection unsuitable for offset_of",
fun, non_constant_p, jump_target);
else
bit_off = bit_position (r);