Home
last modified time | relevance | path

Searched refs:tsubst (Results 1 – 22 of 22) sorted by relevance

/openbsd/src/gnu/usr.bin/gcc/gcc/cp/
Dpt.c3462 if (!same_type_p (tsubst (TREE_TYPE (parm), outer_args,
3656 tree t = tsubst (TREE_TYPE (parm), args, complain, in_decl);
3763 arg = tsubst (TREE_PURPOSE (parm), new_args, complain, in_decl);
4378 context = tsubst (DECL_CONTEXT (template), arglist,
4489 found = tsubst (template, arglist, complain, NULL_TREE);
4909 arglist = tsubst (DECL_TI_ARGS (decl), args,
4913 new_friend = tsubst (decl, args, tf_error | tf_warning, NULL_TREE);
4921 new_friend = tsubst (decl, args, tf_error | tf_warning, NULL_TREE);
5118 push_nested_class (tsubst (context, args, tf_none, NULL_TREE), 2);
5165 tmpl = tsubst (friend_tmpl, args, tf_error | tf_warning, NULL_TREE);
[all …]
DChangeLog.2612 (tsubst): Handle FUNCTION_NAME.
662 * pt.c (tsubst, case INTEGER_TYPE): Call it.
1016 (tsubst): Likewise.
1169 * pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size
2534 (tsubst): Likewise.
3373 * pt.c (tsubst): Likewise.
3426 (instantiate_decl): Call expand_body after tsubst'ing into
3594 * pt.c (tsubst): Back out 1999-08-06 patch. Use fold and
3877 * pt.c (tsubst): Use build_index_type to build in-template array
3921 * pt.c (tsubst): Use add_exception_specifier to build exception
[all …]
DChangeLog.1906 * pt.c (tsubst): Handle PROMOTE_PROTOTYPES.
929 * pt.c (tsubst, PARM_TYPE): Propagate DECL_ARTIFICIAL.
1541 * pt.c (tsubst): Propagate attributes const and noreturn.
2269 * pt.c (tsubst): Don't bother calling cp_build_type_variant, since it
2271 template decl, not the resultant type of the tsubst call.
3078 * pt.c (tsubst): When we copy a node, don't forget to copy
3383 * pt.c (tsubst): Use TREE_STATIC instead of DECL_INLINE &&
3462 * pt.c (tsubst): Fix problem with defining constructors in templated
3937 (tsubst): When replacing a TEMPLATE_TYPE_PARM, propagate
4138 (tsubst): Set TREE_PUBLIC and DECL_EXTERNAL on new decls. Don't set
[all …]
DChangeLog821 * pt.c (tsubst): Handle qualified TYPEOF_TYPEs correctly.
2031 * decl2.c (grokoptypename): Add SCOPE parameter. tsubst the type
2040 * pt.c (tsubst) [OFFSET_TYPE]: Check for tf_error.
2288 tsubst on context. Remove CONTEXTP and TPARMSP parameters.
3636 (instantiate_decl) Call pushclass and popclass when tsubst'ing type
4583 * pt.c (tsubst): Update.
5270 (tsubst): Adjust cp_build_qualified_type_real calls.
5354 (tsubst, tsubst_expr, tsubst_copy, lookup_template_class,
5374 tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr,
5912 * pt.c (tsubst_aggr_type): Move pmf handling into tsubst.
[all …]
Ddecl2.c1149 t = tsubst (t, args, tf_error | tf_warning, NULL_TREE);
Dcp-tree.h4064 extern tree tsubst PARAMS ((tree, tree, tsubst_flags_t, tree));
Ddecl.c11822 type = tsubst (type, args, tf_error | tf_warning,
/openbsd/src/gnu/gcc/gcc/cp/
Dpt.c161 static tree tsubst (tree, tree, tsubst_flags_t, tree);
3937 (tsubst (TREE_TYPE (parm), outer_args, complain, in_decl), in coerce_template_template_parms()
4095 tree t = tsubst (TREE_TYPE (parm), args, complain, in_decl); in convert_template_argument()
4782 context = tsubst (DECL_CONTEXT (template), arglist, in lookup_template_class()
4899 found = tsubst (template, arglist, complain, NULL_TREE); in lookup_template_class()
5326 arglist = tsubst (DECL_TI_ARGS (decl), args, in tsubst_friend_function()
5330 new_friend = tsubst (decl, args, tf_warning_or_error, NULL_TREE); in tsubst_friend_function()
5339 new_friend = tsubst (decl, args, tf_warning_or_error, NULL_TREE); in tsubst_friend_function()
5563 push_nested_class (tsubst (context, args, tf_none, NULL_TREE)); in tsubst_friend_class()
5623 tmpl = tsubst (friend_tmpl, args, tf_warning_or_error, NULL_TREE); in tsubst_friend_class()
[all …]
DChangeLog-1998649 (tsubst): Copy the array bounds index to the permanent obstack
668 * pt.c (tsubst): Add diagnostics for invalid array, reference
816 * pt.c (tsubst): Use build_index_type, not build_index_2_type.
1058 * pt.c (tsubst): Likewise.
1168 (tsubst): Likewise.
1265 * pt.c (tsubst, TEMPLATE*PARM*): Abort if we don't have any args.
2084 (tsubst, cases METHOD_TYPE, FUNCTION_TYPE): Use tsubst_arg_types.
2215 (tsubst): Attempt better error-recovery.
2688 (tsubst_decl): New function, split out from tsubst. Set
2694 (tsubst): Move _DECL processing to tsubst_decl. Make sure the
[all …]
DChangeLog-1997168 * pt.c (tsubst): Avoid creating pointer to reference and
197 * pt.c (tsubst): Remove tree_cons call (places redundant info into
487 * pt.c (tsubst): Instantiate template functions properly when
490 (comp_template_args): Handle member templates required by tsubst.
693 * pt.c (tsubst): Fix thinko.
766 (tsubst): Set DECL_IMPLICIT_INSTANTIATION on partial instantiations
937 (tsubst): Likewise.
1047 (tsubst): Move constant folding to TREE_VEC case.
1065 (tsubst): Do constant folding as necessary to make sure that
1183 (tsubst): Handle "partial instantiation" of member templates
[all …]
DChangeLog-199624 * pt.c (tsubst): Tweak arg types for a FUNCTION_TYPE.
101 * pt.c (tsubst): If t is a stub decl, return the stub decl for type.
449 * pt.c (tsubst): If the function decl isn't a member of this
762 * pt.c (tsubst): And support template args inside the exception
765 * pt.c (tsubst): Add support for exception specifications in
816 (tsubst): Add throw spec to make_call_declarator.
903 * pt.c (tsubst): Likewise.
1006 (tsubst): Not here.
1750 * pt.c (tsubst, case FUNCTION_DECL): Set up
2359 * pt.c (tsubst): When calling set_nested_typename, use
[all …]
DChangeLog-1999612 (tsubst): Handle FUNCTION_NAME.
662 * pt.c (tsubst, case INTEGER_TYPE): Call it.
1016 (tsubst): Likewise.
1169 * pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size
2534 (tsubst): Likewise.
3373 * pt.c (tsubst): Likewise.
3426 (instantiate_decl): Call expand_body after tsubst'ing into
3594 * pt.c (tsubst): Back out 1999-08-06 patch. Use fold and
3877 * pt.c (tsubst): Use build_index_type to build in-template array
3921 * pt.c (tsubst): Use add_exception_specifier to build exception
[all …]
DChangeLog-2004200 (tsubst): Use integral_constant_value, not decl_constant_value.
429 tsubst TEMPLATE_DECL that is a TEMPLATE_TEMPLATE_PARM.
514 (tsubst): Hand off declarations more quickly. Adjust call to
1042 (tsubst): Adjust call to make_unbound_class_template.
1467 (tsubst): Use it.
1497 tsubst_function_type, tsubst, tsubst_qualified_id,
1951 * pt.c (tsubst): Fix parentheses to accomodate emacs.
2412 instantiate_class_template, tsubst_decl, tsubst, tsubst_copy,
2572 tsubst_function_type, tsubst, tsubst_qualified_id, tsubst_copy,
2875 * pt.c (lookup_template_function, tsubst, tsubst_copy_and_build,
[all …]
DChangeLog-2002494 * decl2.c (grokoptypename): Add SCOPE parameter. tsubst the type
503 * pt.c (tsubst) [OFFSET_TYPE]: Check for tf_error.
877 tsubst on context. Remove CONTEXTP and TPARMSP parameters.
2233 (instantiate_decl) Call pushclass and popclass when tsubst'ing type
3180 * pt.c (tsubst): Update.
3867 (tsubst): Adjust cp_build_qualified_type_real calls.
3951 (tsubst, tsubst_expr, tsubst_copy, lookup_template_class,
3971 tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr,
4509 * pt.c (tsubst_aggr_type): Move pmf handling into tsubst.
4510 (tsubst, case POINTER_TYPE): Handle pmfs here.
[all …]
DChangeLog-199422 * pt.c (tsubst): Fix problem with defining constructors in templated
497 (tsubst): When replacing a TEMPLATE_TYPE_PARM, propagate
698 (tsubst): Set TREE_PUBLIC and DECL_EXTERNAL on new decls. Don't set
1001 (tsubst): Don't stick the mangled name in DECL_NAME for function
1869 * pt.c (tsubst): Give meaningful error about declaring template for
1873 (instantiate_template): Don't die if tsubst returns error_mark_node.
2188 * pt.c (tsubst): Use lookup_name_nonclass to find guiding decls, not
2375 (tsubst): Likewise.
2379 * pt.c (tsubst): If there is already a function for this expansion,
2570 * pt.c (tsubst): Support OFFSET_TYPEs.
[all …]
DChangeLog-2003566 * pt.c (tsubst) <ARRAY_REF>: Remove erroneous argument to build_nt.
1284 processing_template_decl around the tsubst of a template member
1902 (tsubst): Likewise.
2344 (tsubst): Remove USING_DECL checks.
2446 processing_template_decl around the tsubst of a template member
2487 * pt.c (tsubst): A USING_DECL will have unknown type.
2561 * pt.c (tsubst): Correctly qualify pointers-to-data member types.
2645 (tsubst): Use tsubst_template_arg for a DOMAIN. Adjust.
3691 * pt.c (tsubst): Handle qualified TYPEOF_TYPEs correctly.
4494 (tsubst): Likewise.
[all …]
DChangeLog-2001603 * pt.c (tsubst_copy): Call tsubst for TYPEOF_EXPR.
652 (tsubst): Likewise.
714 * pt.c (tsubst): Use copy_type instead of copy_node.
2216 (tsubst, FUNCTION_NAME case): Remove.
3390 (tsubst), semantics.c (begin_constructor_declarator): Use build_nt
3434 (tsubst): Adjust tsubst_decl call.
3524 (tsubst): Likewise.
3861 (tsubst): Likewise.
DChangeLog798 * pt.c (tsubst): Use fold_non_dependent_expr to fold array
985 * pt.c (tsubst): Issue errors about attempts to create VLAs at
1104 (tsubst): Likewise.
1151 * pt.c (tsubst) [TEMPLATE_TYPE_PARM]: Ignore quals from template
3963 pt.c (tsubst): Accept zero-length array if tf_error is set
4156 * pt.c (tsubst): Use build_qualified_name.
4874 * pt.c (tsubst) <case METHOD_TYPE>: Check for error_mark_node
5355 * pt.c (tsubst): Reject pointer-to-member of type void.
6181 * pt.c (convert_nontype_argument, tsubst, unify): Likewise.
6491 (tsubst): When substituting a function type into a member
[all …]
DChangeLog-19951257 * pt.c (tsubst): Handle PROMOTE_PROTOTYPES.
1280 * pt.c (tsubst, PARM_TYPE): Propagate DECL_ARTIFICIAL.
1892 * pt.c (tsubst): Propagate attributes const and noreturn.
2620 * pt.c (tsubst): Don't bother calling cp_build_type_variant, since it
2622 template decl, not the resultant type of the tsubst call.
3429 * pt.c (tsubst): When we copy a node, don't forget to copy
3734 * pt.c (tsubst): Use TREE_STATIC instead of DECL_INLINE &&
DChangeLog-2000244 * pt.c (tsubst, unify): Likewise.
1434 (tsubst): Add BOUND_TEMPLATE_TEMPLATE_PARM. Reorganize.
2236 * pt.c (tsubst): Don't layout type, if it's error_mark.
2563 * pt.c (tsubst, case TEMPLATE_TEMPLATE_PARM): Handle cv-qualified
2623 (tsubst): Pass TEMPLATE_DECL rather than IDENTIFIER_NODE to
4024 tsubst, instantiate_decl): Constify local char *.
4229 (tsubst): Likewise.
5162 tsubst, instantiate_template, type_unification_real, unify,
5261 tsubst_friend_function, instantiate_class_template, tsubst,
DChangeLog-1993572 * cp-pt.c (tsubst): Deal with new overloading.
/openbsd/src/gnu/usr.bin/gcc/gcc/
DChangeLog.611903 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.