mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
offset -> offset_of in std::meta::exception argument from eval_offset_of
This commit is contained in:
committed by
Marek Polacek
parent
37d7a5eb20
commit
eb4569e1d0
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user