Lines Matching refs:tsubst

161 static tree tsubst (tree, tree, tsubst_flags_t, tree);
3928 /* The tsubst call is used to handle cases such as
3937 (tsubst (TREE_TYPE (parm), outer_args, complain, in_decl),
4095 tree t = tsubst (TREE_TYPE (parm), args, complain, in_decl);
4662 actually tsubst'd into the definition to create the
4782 context = tsubst (DECL_CONTEXT (template), arglist,
4899 found = tsubst (template, arglist, complain, NULL_TREE);
5302 vector of template arguments, as for tsubst.
5304 Returns an appropriate tsubst'd friend declaration. */
5336 arglist = tsubst (DECL_TI_ARGS (decl), args,
5340 new_friend = tsubst (decl, args, tf_warning_or_error, NULL_TREE);
5349 new_friend = tsubst (decl, args, tf_warning_or_error, NULL_TREE);
5528 CONTEXT of case 1 remains dependent type after tsubst while
5554 template arguments, as for tsubst.
5556 Returns an appropriate tsubst'd friend type or error_mark_node on
5573 push_nested_class (tsubst (context, args, tf_none, NULL_TREE));
5613 default parameters. We must tsubst the default parameters,
5633 tmpl = tsubst (friend_tmpl, args, tf_warning_or_error, NULL_TREE);
5810 base = tsubst (BINFO_TYPE (pbase_binfo), args, tf_error, NULL_TREE);
5863 newtag = tsubst (t, args, tf_error, NULL_TREE);
5904 r = tsubst (t, args, tf_error, NULL_TREE);
5926 r = tsubst (t, args, tf_warning_or_error, NULL_TREE);
6000 friend_type = tsubst (friend_type, args,
6017 friend_type = tsubst (friend_type, args,
6046 friend_type = tsubst (friend_type, args,
6145 r = tsubst (t, args, complain, in_decl);
6237 parm_decl = tsubst (parm_decl, args, complain, NULL_TREE);
6261 handled as if by tsubst. IN_DECL is as for tsubst. If
6263 we are presently tsubst'ing. Return the substituted value. */
6279 return tsubst (TYPE_PTRMEMFUNC_FN_TYPE (t), args, complain, in_decl);
6331 return tsubst (t, args, complain, in_decl);
6345 default argument here, not in tsubst. In the case of
6448 tree new_type = tsubst (TREE_TYPE (t), args, complain, in_decl);
6466 full args contain the tsubst'd args for the context,
6510 new_type = tsubst (TREE_TYPE (t), args, complain, in_decl);
6525 new_decl = tsubst (decl, args, complain, in_decl);
6570 /* Nobody should be tsubst'ing into non-template functions. */
6675 type = tsubst (TREE_TYPE (t), args, complain, in_decl);
6697 DECL_ARGUMENTS (r) = tsubst (DECL_ARGUMENTS (t), args,
6716 DECL_CLONED_FUNCTION (r) = tsubst (DECL_CLONED_FUNCTION (t),
6757 TREE_VALUE (*friends) = tsubst (TREE_VALUE (*friends),
6779 tsubst (DECL_FRIEND_CONTEXT (t),
6802 type = tsubst (TREE_TYPE (t), args, complain, in_decl);
6812 DECL_INITIAL (r) = tsubst (DECL_INITIAL (r), args,
6821 TREE_CHAIN (r) = tsubst (TREE_CHAIN (t), args,
6831 type = tsubst (TREE_TYPE (t), args, complain, in_decl);
6880 type = tsubst (TREE_TYPE (t), args, complain, in_decl);
6929 argvec = tsubst (DECL_TI_ARGS (t), args, complain, in_decl);
6960 type = tsubst (TREE_TYPE (t), args, complain, in_decl);
7076 type = tsubst (TREE_VALUE (arg_types), args, complain, in_decl);
7145 return_type = tsubst (TREE_TYPE (t), args, complain, in_decl);
7224 spec = tsubst (TREE_VALUE (specs), args, complain, in_decl);
7251 tsubst (tree t, tree args, tsubst_flags_t complain, tree in_decl)
7278 type = tsubst (type, args, complain, in_decl);
7405 tree argvec = tsubst (TYPE_TI_ARGS (t),
7432 /* This can happen during the attempted tsubst'ing in
7447 r = tsubst (TYPE_MAIN_VARIANT (t), args, complain, in_decl);
7466 tree argvec = tsubst (TYPE_TI_ARGS (t), args,
7498 purpose = tsubst (purpose, args, complain, in_decl);
7505 value = tsubst (value, args, complain, in_decl);
7512 chain = tsubst (chain, args, complain, in_decl);
7597 r = tsubst (TYPE_OFFSET_BASETYPE (t), args, complain, in_decl);
7664 tree domain = tsubst (TYPE_DOMAIN (t), args, complain, in_decl);
7705 tree e1 = tsubst (TREE_OPERAND (t, 0), args, complain, in_decl);
7706 tree e2 = tsubst (TREE_OPERAND (t, 1), args, complain, in_decl);
7717 tree e = tsubst (TREE_OPERAND (t, 0), args, complain, in_decl);
7805 tree e1 = tsubst (TREE_OPERAND (t, 0), args, complain, in_decl);
7816 tree e1 = tsubst (TREE_OPERAND (t, 0), args, complain, in_decl);
7817 tree e2 = tsubst (TREE_OPERAND (t, 1), args, complain, in_decl);
7868 qualifying_scope = tsubst (qualifying_scope, args,
7901 = tsubst (optype, args, complain, in_decl);
7953 scope = tsubst (scope, args, complain, in_decl);
8028 /* Like tsubst, but deals with expressions. This function just replaces
8119 t = tsubst (t, args, complain, in_decl);
8128 return tsubst (TREE_TYPE (DECL_TEMPLATE_RESULT (t)),
8131 return tsubst (t, args, complain, in_decl);
8150 tree context = tsubst (DECL_CONTEXT (t), args, complain, in_decl);
8164 (code, tsubst (TREE_TYPE (t), args, complain, in_decl),
8181 (code, tsubst (TREE_TYPE (t), args, complain, in_decl),
8369 return tsubst (t, args, complain, in_decl);
8374 tree new_type = tsubst (TREE_TYPE (t), args, complain, in_decl);
8387 tsubst (TREE_TYPE (t), args, complain, in_decl));
8558 decl = tsubst (decl, args, complain, in_decl);
8693 /* Computed goto's must be tsubst'd into. On the other hand,
8755 decl = tsubst (decl, args, complain, in_decl);
8770 tsubst (TREE_TYPE (t), args, complain, NULL_TREE);
8880 /* Like tsubst but deals with expressions and performs semantic
8915 tree new_type = tsubst (TREE_TYPE (t), args, complain, in_decl);
8988 (tsubst (TREE_TYPE (t), args, complain, in_decl),
9000 type = tsubst (TREE_TYPE (t), args, complain, in_decl);
9398 tree type = tsubst (TREE_TYPE (t), args, complain, in_decl);
9640 fndecl = tsubst (DECL_TEMPLATE_RESULT (gen_tmpl),
9755 fntype = tsubst (fntype, converted_args, tf_none, NULL_TREE);
9793 if (tsubst (TREE_TYPE (fn), targs, tf_none, NULL_TREE)
10101 elem = tsubst (TREE_TYPE (fn), subargs, tf_none, NULL_TREE);
10651 tparm = tsubst (TREE_TYPE (parm), targs, 0, NULL_TREE);
11030 set correctly by tsubst. */
11316 decl_type = tsubst (decl_type, converted_args, tf_none, NULL_TREE);
11390 spec_args = tsubst (spec_args, deduced_args, tf_none, NULL_TREE);
11898 arguments. TMPL should be the template into which tsubst'ing
11963 parm_type = tsubst (TREE_TYPE (pattern_parm), args, tf_error,
12185 tsubst (DECL_ARGUMENTS (gen), gen_args, tf_warning_or_error, d);
12186 tsubst (TYPE_RAISES_EXCEPTIONS (type), gen_args,
12188 /* Don't simply tsubst the function type, as that will give
12194 tsubst (type, gen_args, tf_warning_or_error, d);
12622 let tsubst know not to substitute for those parameters. */
12639 fn_type = tsubst (fn_type, partial_args, tf_error, NULL_TREE);