Lines Matching refs:fromtype
2838 tree fromtype = TREE_TYPE (expr);
2850 gcc_assert (!MAYBE_CLASS_TYPE_P (fromtype) || !MAYBE_CLASS_TYPE_P (totype)
2851 || !DERIVED_FROM_P (totype, fromtype));
2856 if (MAYBE_CLASS_TYPE_P (fromtype))
2859 if (same_type_ignoring_top_level_qualifiers_p (to_nonref, fromtype) ||
2860 (CLASS_TYPE_P (to_nonref) && CLASS_TYPE_P (fromtype)
2861 && DERIVED_FROM_P (to_nonref, fromtype)))
2870 conv_fns = lookup_conversions (fromtype);
2971 So we pass fromtype as CTYPE to add_*_candidate. */
2974 cand = add_template_candidate (&candidates, fn, fromtype,
2977 TYPE_BINFO (fromtype),
2982 cand = add_function_candidate (&candidates, fn, fromtype,
2984 TYPE_BINFO (fromtype),
3030 fromtype, totype);