Home | History | Annotate | Download | only in cp

Lines Matching defs:binfo

56    thunks VIRTUAL_OFFSET is the virtual binfo.  You must post process
83 will be a BINFO. */
510 /* Find the binfo for the base subobject of BINFO being initialized by
511 inherited constructor FNDECL (a member of a direct base of BINFO). */
515 inherited_ctor_binfo_1 (tree binfo, tree fndecl)
519 for (int i = 0; BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
526 /* Find the binfo for the base subobject of BINFO being initialized by
527 BINFO), or BINFO if FNDECL is not
531 inherited_ctor_binfo (tree binfo, tree fndecl)
535 return binfo;
540 tree one = inherited_ctor_binfo_1 (binfo, *iter);
549 /* Find the binfo for the base subobject being initialized by inheriting
558 tree binfo = TYPE_BINFO (DECL_CONTEXT (fndecl));
559 return inherited_ctor_binfo (binfo, fndecl);
583 for (tree binfo = inherited_ctor_binfo (comp_ctor);
584 binfo;
585 binfo = BINFO_INHERITANCE_CHAIN (binfo))
586 if (BINFO_VIRTUAL_P (binfo))
607 /* True iff constructor(s) INH inherited into BINFO initializes INIT_BINFO.
612 binfo_inherited_from (tree binfo, tree init_binfo, tree inh)
621 for (int i = 0; BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
633 /* Subroutine of do_build_copy_constructor: Add a mem-initializer for BINFO
638 add_one_base_init (tree binfo, tree parm, bool move_p, tree inh,
646 if (!binfo_inherited_from (TYPE_BINFO (current_class_type), binfo, inh))
660 init = build_base_path (PLUS_EXPR, parm, binfo, 1,
666 return tree_cons (binfo, init, member_init_list);
714 tree binfo, base_binfo;
720 deal with the binfo's directly as a direct base might be
723 vec_safe_iterate (vbases, i, &binfo); i++)
725 member_init_list = add_one_base_init (binfo, parm, move_p, inh,
729 for (binfo = TYPE_BINFO (current_class_type), i = 0;
730 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
820 tree binfo, base_binfo;
823 for (binfo = TYPE_BINFO (current_class_type), i = 0;
824 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
1929 tree ob, fn, fns, binfo, rval;
1932 binfo = TYPE_BINFO (type);
1935 binfo = type;
1936 type = BINFO_TYPE (binfo);
1960 fns = lookup_fnfields (binfo, name, 0, complain);
1961 rval = build_new_method_call (ob, fns, &args, binfo, flags, &fn, complain);
2458 or virtual base. BINFO is the parent type's binfo. BASE_BINFO is
2459 the base binfo of interests. All other parms are as for
2463 synthesized_method_base_walk (tree binfo, tree base_binfo,
2478 = binfo_inherited_from (binfo, base_binfo, *inheriting_ctor)))
2487 && ABSTRACT_CLASS_TYPE_P (BINFO_TYPE (binfo)))
2541 tree binfo, base_binfo;
2653 for (binfo = TYPE_BINFO (ctype), i = 0;
2654 BINFO_BASE_ITERATE (binfo, i, base_binfo); ++i)
2660 tree fn = synthesized_method_base_walk (binfo, base_binfo,
2712 synthesized_method_base_walk (binfo, base_binfo, sfk, fnname, quals,
2822 tree binfo = inherited_ctor_binfo (decl);
2823 if (TREE_CODE (binfo) != TREE_BINFO)