Lines Matching defs:fns

954       tree fns = TREE_VALUE (conversions);
956 for (; fns; fns = OVL_NEXT (fns))
958 tree f = OVL_CURRENT (fns);
2608 tree fns;
2619 for (fns = TREE_VALUE (conv_fns); fns; fns = OVL_NEXT (fns))
2621 tree fn = OVL_CURRENT (fns);
2875 tree fns;
2896 fns = lookup_function_nonclass (fnname, args, /*block_p=*/false);
2899 cand = perform_overload_resolution (fns, args, &candidates, &any_viable_p);
2907 DECL_NAME (OVL_CURRENT (fns)), args);
2910 DECL_NAME (OVL_CURRENT (fns)), args);
2971 tree fns, convs, mem_args = NULL_TREE;
2987 fns = lookup_fnfields (TYPE_BINFO (type), ansi_opname (CALL_EXPR), 1);
2988 if (fns == error_mark_node)
2992 fns = NULL_TREE;
3002 if (fns)
3004 tree base = BINFO_TYPE (BASELINK_BINFO (fns));
3007 for (fns = BASELINK_FUNCTIONS (fns); fns; fns = OVL_NEXT (fns))
3009 tree fn = OVL_CURRENT (fns);
3027 tree fns = TREE_VALUE (convs);
3028 tree totype = TREE_TYPE (TREE_TYPE (OVL_CURRENT (fns)));
3037 for (; fns; fns = OVL_NEXT (fns))
3039 tree fn = OVL_CURRENT (fns);
3616 add_candidates (tree fns, tree args,
3629 while (fns)
3634 fn = OVL_CURRENT (fns);
3669 fns = OVL_NEXT (fns);
3757 tree fns;
3759 fns = lookup_fnfields (TREE_TYPE (arg1), fnname, 1);
3760 if (fns == error_mark_node)
3765 if (fns)
3766 add_candidates (BASELINK_FUNCTIONS (fns), arglist,
3768 BASELINK_BINFO (fns),
4023 tree fns, fnname, argtypes, args, type;
4044 fns = lookup_fnfields (TYPE_BINFO (type), fnname, 1);
4045 if (fns == error_mark_node)
4049 fns = NULL_TREE;
4051 if (fns == NULL_TREE)
4052 fns = lookup_name_nonclass (fnname);
4081 for (fn = BASELINK_P (fns) ? BASELINK_FUNCTIONS (fns) : fns;
5220 tree fns;
5277 fns = lookup_fnfields (binfo, name, 1);
5306 return build_new_method_call (instance, fns, args,
5360 build_new_method_call (tree instance, tree fns, tree args,
5389 || error_operand_p (fns)
5393 if (!BASELINK_P (fns))
5395 error ("call to non-function %qD", fns);
5400 orig_fns = fns;
5405 conversion_path = BASELINK_BINFO (fns);
5406 access_binfo = BASELINK_ACCESS_BINFO (fns);
5407 optype = BASELINK_OPTYPE (fns);
5408 fns = BASELINK_FUNCTIONS (fns);
5409 if (TREE_CODE (fns) == TEMPLATE_ID_EXPR)
5411 explicit_targs = TREE_OPERAND (fns, 1);
5412 fns = TREE_OPERAND (fns, 0);
5415 gcc_assert (TREE_CODE (fns) == FUNCTION_DECL
5416 || TREE_CODE (fns) == TEMPLATE_DECL
5417 || TREE_CODE (fns) == OVERLOAD);
5418 fn = get_first_fn (fns);
5472 for (fn = fns; fn; fn = OVL_NEXT (fn))