Lines Matching refs:orig_arg

8191   tree orig_arg;
8216 orig_arg = arg;
8265 error ("invalid use of destructor %qE as a type", orig_arg);
8271 "use %<typename %E%>", orig_arg);
8273 orig_arg = make_typename_type (TREE_OPERAND (arg, 0),
8277 arg = orig_arg;
8296 (DECL_P (arg) ? DECL_NAME (arg) : orig_arg));
8308 " expected a class template, got %qE", orig_arg);
8311 " expected a type, got %qE", orig_arg);
8328 " expected a class template, got %qT", orig_arg);
8333 if (template_parameter_pack_p (parm) && ARGUMENT_PACK_P (orig_arg))
8335 val = orig_arg;
8343 val = orig_arg;
8366 if (TREE_CODE (orig_arg) == TYPE_PACK_EXPANSION)
8379 parm, orig_arg);
8403 val = orig_arg;
8435 if (!type_dependent_expression_p (orig_arg)
8447 val = convert_nontype_argument (t, orig_arg, complain);
8450 val = canonicalize_expr_argument (orig_arg, complain);
8458 error_at (cp_expr_loc_or_input_loc (orig_arg),
8460 orig_arg, TREE_TYPE (orig_arg), t);
12892 tree orig_arg = NULL_TREE;
12971 orig_arg = arg_pack;
13012 TREE_TYPE (packs) = orig_arg;
13230 /* Substitute ARGS into the *_ARGUMENT_PACK orig_arg. */
13233 tsubst_argument_pack (tree orig_arg, tree args, tsubst_flags_t complain,
13237 tree new_arg = TYPE_P (orig_arg)
13238 ? cxx_make_type (TREE_CODE (orig_arg))
13239 : make_node (TREE_CODE (orig_arg));
13241 tree pack_args = tsubst_template_args (ARGUMENT_PACK_ARGS (orig_arg),
13249 TREE_CONSTANT (new_arg) = TREE_CONSTANT (orig_arg);
13271 tree orig_arg = TREE_VEC_ELT (t, i);
13274 if (TREE_CODE (orig_arg) == TREE_VEC)
13275 new_arg = tsubst_template_args (orig_arg, args, complain, in_decl);
13276 else if (PACK_EXPANSION_P (orig_arg))
13279 new_arg = tsubst_pack_expansion (orig_arg, args, complain, in_decl);
13290 else if (ARGUMENT_PACK_P (orig_arg))
13291 new_arg = tsubst_argument_pack (orig_arg, args, complain, in_decl);
13293 new_arg = tsubst_template_arg (orig_arg, args, complain, in_decl);
13299 if (new_arg != orig_arg)