Lines Matching refs:args

345 /* Build something of the form ptr->method (args)
346 or object.method (args). This can also build
391 tree args;
1031 cand->args = tree_cons (NULL_TREE,
1033 TREE_CHAIN (cand->args));
1309 tree fn, tree args,
1318 cand->args = args;
1387 /* Make sure there are default args for the rest of the parms. */
1549 tree type1, tree type2, tree *args, tree *argtypes,
1561 num_convs = args[2] ? 3 : (args[1] ? 2 : 1);
1566 if (! args[i])
1569 t = implicit_conversion (types[i], argtypes[i], args[i],
1583 if (args[2])
1587 t = implicit_conversion (boolean_type_node, argtypes[2], args[2],
1595 add_candidate (candidates, fnname, /*args=*/NULL_TREE,
1627 args are passed through from add_builtin_candidates to
1638 tree type2, tree *args, tree *argtypes, int flags)
1644 args[1] = integer_zero_node;
1808 if (TYPE_PTR_TO_MEMBER_P (type1) && null_ptr_cst_p (args[1]))
1813 if (TYPE_PTR_TO_MEMBER_P (type2) && null_ptr_cst_p (args[0]))
1833 && null_ptr_cst_p (args[1])
1839 if (null_ptr_cst_p (args[0])
1955 && null_ptr_cst_p (args[1])))
2015 (candidates, fnname, type1, type1, args, argtypes, flags);
2017 (candidates, fnname, type2, type2, args, argtypes, flags);
2022 (candidates, fnname, type1, type2, args, argtypes, flags);
2050 enum tree_code code2, tree fnname, tree *args,
2064 if (args[i])
2065 argtypes[i] = lvalue_type (args[i]);
2093 NULL_TREE, args, argtypes, flags);
2100 boolean_type_node, args, argtypes, flags);
2126 if (! args[i])
2139 if (real_lvalue_p (args[i]))
2178 if (code == COND_EXPR && real_lvalue_p (args[i]))
2202 TREE_VALUE (type), args, argtypes, flags);
2206 NULL_TREE, args, argtypes, flags);
2548 tree args = NULL_TREE;
2573 args = build_tree_list (NULL_TREE, expr);
2578 args = tree_cons (NULL_TREE, t, args);
2588 NULL_TREE, args, NULL_TREE,
2595 args, TYPE_BINFO (totype),
2604 args = build_tree_list (NULL_TREE, build_this (expr));
2633 args, totype,
2640 args,
2726 resolve_args (tree args)
2729 for (t = args; t; t = TREE_CHAIN (t))
2743 return args;
2760 tree args,
2776 gcc_assert (!args || TREE_CODE (args) == TREE_LIST);
2786 add_candidates (fn, args, explicit_targs, template_only,
2804 build_new_function_call (tree fn, tree args, bool koenig_p)
2811 args = resolve_args (args);
2812 if (args == error_mark_node)
2826 DECL_NAME (OVL_CURRENT (orig_fn)), args);
2834 cand = perform_overload_resolution (fn, args, &candidates, &any_viable_p);
2839 return build_function_call (candidates->fn, args);
2844 DECL_NAME (OVL_CURRENT (fn)), args);
2847 DECL_NAME (OVL_CURRENT (fn)), args);
2871 build_operator_new_call (tree fnname, tree args,
2882 args = tree_cons (NULL_TREE, *size, args);
2883 args = resolve_args (args);
2884 if (args == error_mark_node)
2885 return args;
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);
2924 tree placement = TREE_CHAIN (args);
2953 TREE_VALUE (args) = *size;
2968 build_object_call (tree obj, tree args)
2994 args = resolve_args (args);
2996 if (args == error_mark_node)
3005 mem_args = tree_cons (NULL_TREE, build_this (obj), args);
3042 (&candidates, fn, obj, args, totype,
3046 add_conv_candidate (&candidates, fn, obj, args,
3055 error ("no match for call to %<(%T) (%A)%>", TREE_TYPE (obj), args);
3064 error ("call of %<(%T) (%A)%> is ambiguous", TREE_TYPE (obj), args);
3078 result = build_function_call (obj, args);
3412 tree args[3];
3417 to know about two args. In build_builtin_candidates, the
3419 args[0] = arg2;
3420 args[1] = arg3;
3421 args[2] = arg1;
3426 args,
3616 add_candidates (tree fns, tree args,
3642 build_this (TREE_VALUE (args)),
3643 TREE_CHAIN (args));
3648 fn_args = args;
3679 tree args[3];
3774 to know about two args; a builtin candidate will always have a first
3779 args[0] = arg2;
3780 args[1] = arg3;
3781 args[2] = arg1;
3785 args[0] = arg1;
3786 args[1] = arg2;
3787 args[2] = NULL_TREE;
3790 add_builtin_candidates (&candidates, code, code2, fnname, args, flags);
4023 tree fns, fnname, argtypes, args, type;
4061 args = TREE_CHAIN (TREE_OPERAND (placement, 1));
4067 args = NULL_TREE;
4136 args = tree_cons (NULL_TREE, addr, args);
4138 args = tree_cons (NULL_TREE, addr,
4143 /* The placement args might not be suitable for overload
4146 return build_cxx_call (fn, args);
4149 return build_function_call (fn, args);
4315 tree args;
4322 args = build_tree_list (NULL_TREE, expr);
4327 args = tree_cons (NULL_TREE, t, args);
4330 args = build_this (expr);
4352 allow UDCs for these args (which deliberately
4777 tree args = cand->args;
4795 expr = build3 (CALL_EXPR, return_type, fn, args, NULL_TREE);
4846 if (args && TREE_CODE (args) != TREE_LIST)
4847 args = build_tree_list (NULL_TREE, args);
4848 arg = args;
5000 if (integer_zerop (TREE_VALUE (args)))
5011 (build_indirect_ref (TREE_VALUE (args), 0));
5037 tree args, t;
5039 args = tree_cons (NULL, TYPE_SIZE_UNIT (as_base), NULL);
5040 args = tree_cons (NULL, arg, args);
5042 args = tree_cons (NULL, t, args);
5044 t = build_call (t, args);
5046 t = convert (TREE_TYPE (TREE_VALUE (args)), t);
5086 build_cxx_call (tree fn, tree args)
5090 fn = build_call (fn, args);
5217 build_special_member_call (tree instance, tree name, tree args,
5254 gcc_assert (args == NULL_TREE);
5303 args = tree_cons (NULL_TREE, sub_vtt, args);
5306 return build_new_method_call (instance, fns, args,
5360 build_new_method_call (tree instance, tree fns, tree args,
5390 || args == error_mark_node)
5401 orig_args = args;
5427 args = build_non_dependent_args (orig_args);
5435 user_args = args;
5450 args = resolve_args (args);
5451 if (args == error_mark_node)
5467 mem_args = tree_cons (NULL_TREE, instance_ptr, args);
5485 this_arglist = args;