Cosmetic changes

And now we're ready to trot out.
This commit is contained in:
Marek Polacek
2025-11-14 12:15:44 -05:00
parent 73bfc8e6f3
commit 697b464371

View File

@@ -1447,9 +1447,8 @@ static bool
is_override (tree type, tree fndecl)
{
tree binfo = TYPE_BINFO (type), base_binfo;
int ix;
for (ix = 0; BINFO_BASE_ITERATE (binfo, ix, base_binfo); ix++)
for (unsigned ix = 0; BINFO_BASE_ITERATE (binfo, ix, base_binfo); ix++)
{
tree basetype = BINFO_TYPE (base_binfo);
if (TYPE_POLYMORPHIC_P (basetype))
@@ -6731,8 +6730,7 @@ class_bases_of (location_t loc, const constexpr_ctx *ctx, tree r,
{
vec<constructor_elt, va_gc> *elts = nullptr;
tree binfo = TYPE_BINFO (r), base_binfo;
unsigned int i;
for (i = 0; BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
for (unsigned i = 0; BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
{
tree a = eval_is_accessible (loc, ctx, base_binfo, REFLECT_BASE, actx,
call, non_constant_p, jump_target, fun);