Lines Matching refs:new_args
504 tree new_args; in add_to_template_args() local
513 new_args = make_tree_vec (TMPL_ARGS_DEPTH (args) + extra_depth); in add_to_template_args()
516 SET_TMPL_ARGS_LEVEL (new_args, i, TMPL_ARGS_LEVEL (args, i)); in add_to_template_args()
519 SET_TMPL_ARGS_LEVEL (new_args, i, TMPL_ARGS_LEVEL (extra_args, j)); in add_to_template_args()
521 return new_args; in add_to_template_args()
534 tree new_args; in add_outermost_template_args() local
548 new_args = add_to_template_args (args, extra_args); in add_outermost_template_args()
553 return new_args; in add_outermost_template_args()
561 tree new_args; in get_innermost_template_args() local
579 new_args = make_tree_vec (n); in get_innermost_template_args()
581 SET_TMPL_ARGS_LEVEL (new_args, i, in get_innermost_template_args()
584 return new_args; in get_innermost_template_args()
593 tree new_args; in strip_innermost_template_args() local
610 new_args = make_tree_vec (n); in strip_innermost_template_args()
612 SET_TMPL_ARGS_LEVEL (new_args, i, in strip_innermost_template_args()
615 return new_args; in strip_innermost_template_args()
6330 tree new_args, in coerce_template_parameter_pack() argument
6414 arg, new_args, complain, parm_idx, in coerce_template_parameter_pack()
6428 = tsubst (TREE_TYPE (TREE_VALUE (parm)), new_args, complain, in_decl); in coerce_template_parameter_pack()
6476 tree new_args; in coerce_template_parms() local
6550 new_args = add_outermost_template_args (args, new_inner_args); in coerce_template_parms()
6578 new_args, &lost, in coerce_template_parms()
6604 arg = tsubst_template_arg (TREE_PURPOSE (parm), new_args, in coerce_template_parms()
6629 arg, new_args, complain, in coerce_template_parms()
7915 tree new_args; in tsubst_friend_function() local
7933 &new_args, in tsubst_friend_function()
7937 return instantiate_template (tmpl, new_args, tf_error); in tsubst_friend_function()
8060 tree new_args = TI_ARGS (new_friend_template_info); in tsubst_friend_function() local
8072 new_args, 0) in tsubst_friend_function()
8110 = add_outermost_template_args (new_args, in tsubst_friend_function()
14652 tree *new_args; in fn_type_unification() local
14655 new_args = XALLOCAVEC (tree, nargs + 1); in fn_type_unification()
14656 new_args[0] = return_type; in fn_type_unification()
14657 memcpy (new_args + 1, args, nargs * sizeof (tree)); in fn_type_unification()
14658 args = new_args; in fn_type_unification()
15791 tree new_args = TREE_TYPE (pack); in unify_pack_expansion() local
15792 int i, len = TREE_VEC_LENGTH (new_args); in unify_pack_expansion()
15805 if (TREE_VEC_ELT (new_args, i) == NULL_TREE) in unify_pack_expansion()
15817 new_args = explicit_args; in unify_pack_expansion()
15834 SET_ARGUMENT_PACK_ARGS (result, new_args); in unify_pack_expansion()
15848 SET_ARGUMENT_PACK_ARGS (old_pack, new_args); in unify_pack_expansion()
15857 if (!comp_template_args_with_info (old_args, new_args, in unify_pack_expansion()