Home
last modified time | relevance | path

Searched refs:tsubst_decl (Results 1 – 25 of 28) sorted by relevance

12

/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
DChangeLog-200056 * pt.c (tsubst_decl): A FUNCTION_DECL has DECL_RESULT, not
152 * pt.c (tsubst_decl): Call clone_function_decl here if this is an
2696 * pt.c (tsubst_decl, case FUNCTION_DECL): Clear DECL_SAVED_TREE.
2726 * pt.c (tsubst_decl, case TYPE_DECL): Fix test for TYPE_DECLs
3197 * pt.c (tsubst_decl): Remove code to handle illegal
3322 (tsubst_decl): Use set_mangled_name_for_decl for destructors with
3353 (tsubst_decl): Use INNERMOST_TEMPLATE_ARGS.
3354 (tsubst_decl): Handle tricky specializations. Use
3536 * pt.c (tsubst_decl): Use IDENTIFIER_OPNAME_P.
3761 * pt.c (tsubst_decl): Make sure we call maybe_retrofit_in_chrg for
[all …]
DChangeLog-2012159 (tsubst_decl) [TEMPLATE_DECL]: Handle getting a template template
177 (tsubst_decl): Call make_ith_pack_parameter_name even if
570 (tsubst_decl): Handle inheriting constructors.
1009 * pt.c (tsubst_decl) [VAR_DECL]: Handle DECL_ANON_UNION_VAR_P.
1186 (tsubst_decl): Check for excessive deduction depth.
1445 * pt.c (tsubst_decl) [USING_DECL]: Check uses_template_parms
1634 * pt.c (tsubst_decl) [PARM_DECL]: Don't recurse into DECL_CHAIN
2042 * pt.c (tsubst_decl): Bail out if argvec is error_mark_node.
2048 tsubst_decl returns NULL_TREE.
DChangeLog-2017198 * pt.c (tsubst_decl): Clear it.
1328 * pt.c (tsubst_decl) [VAR_DECL]: Use strip_innermost_template_args.
1362 * pt.c (tsubst_decl): Handle DECL_INITIAL for all FIELD_DECLs, not
1372 * pt.c (tsubst_decl): For DECL_C_BIT_FIELD, tsubst_expr
1771 (tsubst_decl) [VAR_DECL]: Use enclosing_instantiation_of.
1870 (tsubst_decl) [FUNCTION_DECL]: Set DECL_CONTEXT on the parameters.
2223 * pt.c (tsubst_decl) [VAR_DECL]: Avoid clobbering auto.
2545 * pt.c (tsubst_decl, tsubst_baselink, tsubst_copy,
2702 * pt.c (tsubst_decl <FUNCTION_DECL>): Move var decls to
2842 * pt.c (push_template_decl_real, tsubst_decl, tsubst_baselink,
[all …]
DChangeLog-2005714 (tsubst_decl): Set processing_template_decl when substituting into
887 * pt.c (tsubst_decl): Clear DECL_TEMPLATE_INFO for friend
1068 * pt.c (tsubst_decl): Substitute in DECL_VALUE_EXPR.
1164 * pt.c (tsubst_decl): Clear DECL_TEMPLATE_INSTANTIATED when
1365 * pt.c (tsubst_decl) <case TEMPLATE_DECL>: Return ERROR_MARK_NODE
1607 * pt.c (tsubst_decl): Check TS_DECL_WRTL before doing
1831 * pt.c (tsubst_decl) <USING_DECL case>: Use do_class_using_decl
1908 * pt.c (tsubst_decl): Adjust call to grok_op_properties.
2826 * pt.c (tsubst_decl): Apply array-to-pointer and
2975 * pt.c (tsubst_decl): Use cp_apply_type_quals_to_decl.
DChangeLog-2001213 (tsubst_decl): Adjust grok_op_properties call.
980 * pt.c (tsubst_decl): Likewise.
1525 * pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope
1810 * pt.c (tsubst_decl): Likewise.
2214 * pt.c (tsubst_decl): Adjust a DECL_PRETTY_FUNCTION_P's
2230 * pt.c (tsubst_decl): Use VOID_TYPE_P.
2765 (tsubst_decl): Likewise.
2804 (tsubst_decl): Likewise.
3042 (tsubst_decl): Likewise.
3432 * pt.c (tsubst_decl): Remove IN_DECL parameter.
[all …]
DChangeLog-2013871 (tsubst_decl): Handle UDRs.
1271 (tsubst_decl, tsubst_copy): Likewise.
1283 (tsubst_pack_expansion, tsubst_decl): Adjust.
1971 (tsubst_decl): Adjust.
2373 (tsubst_decl): Don't clobber CLASSTYPE_TI_TEMPLATE of a partial
2463 (tsubst_decl): Drop redundant error.
3022 (tsubst_decl) [VAR_DECL]: Remove handling for anonymous union
3395 (tsubst_decl): Likewise.
3660 * pt.c (tsubst_decl): Check return value of register_specialization.
3912 * pt.c (tsubst_decl) [USING_DECL]: Likewise.
[all …]
DChangeLog-2009141 (tsubst_decl): Do typedef magic after applying attributes.
413 for_each_template_parm_r, tsubst_decl, tsubst): Use
921 * pt.c (tsubst_decl): Call it.
1030 * pt.c (tsubst_decl): Don't clobber input_location.
1231 (tsubst_decl, tsubst, tsubst_copy_and_build): Handle lambdas.
1273 (tsubst_decl): Arguments of function parameter packs are not
1870 * pt.c (tsubst_decl): Don't abort if we didn't change anything
1968 * pt.c (tsubst_decl) [FUNCTION_DECL]: Don't tsubst
3046 (tsubst_decl): For typedefs, build the variant type from the correct
3567 * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags.
DChangeLog-2011332 * pt.c (tsubst_decl): Don't call strip_array_domain on
828 (tsubst_decl): Create a substituted copy of the TYPE_DECL of an
1308 * pt.c (tsubst_decl) [FIELD_DECL]: Use void_zero_node
1322 * pt.c (tsubst_decl) [FIELD_DECL]: Set DECL_TEMPLATE_INFO
1551 * pt.c (tsubst_decl) [FIELD_DECL]: Not here.
2536 * pt.c (tsubst_decl) [VAR_DECL]: In unevaluated operand,
2717 * pt.c (tsubst_decl): Likewise.
2768 * pt.c (tsubst_decl): Handle DECL_VALUE_EXPR on reference.
2784 * pt.c (tsubst_decl) [FUNCTION_DECL]: Handle substitution failure.
3181 * pt.c (tsubst_decl) [PARM_DECL]: Handle partial instantiation of
[all …]
DChangeLog-1999489 * pt.c (tsubst_decl): Robustify.
577 * pt.c (tsubst_decl): Copy TREE_ASM_WRITTEN for VAR_DECLs.
610 * pt.c (tsubst_decl): Handle DECL_PRETTY_FUNCTION_P declarations
755 (tsubst_decl): Don't manipulate obstacks.
1049 (tsubst_decl): Likewise. Use make_tree_vec.
1394 * pt.c (tsubst_decl): If the type of a template instantiation is
2060 * pt.c (tsubst_decl): Likewise.
2533 (tsubst_decl): Likewise.
3491 (tsubst_decl): Make sure the declaration is on a saveable
3571 (tsubst_decl): Use it. Change TYPE_DECL handling to match VAR_DECLs.
[all …]
DChangeLog-20021025 (tsubst_decl): Likewise.
1316 * pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
1337 * pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
1481 * pt.c (tsubst_decl): Clear DECL_INITIALIZED_P.
1580 * pt.c (tsubst_decl): Remove assert.
2139 * pt.c (tsubst_decl): Use it.
3589 * pt.c (tsubst_decl): Use new hook.
3595 * pt.c (tsubst_decl): Move __PRETTY_FUNCTION__ handling...
3970 tsubst_decl, tsubst_arg_types, tsubst_function_type,
4522 (tsubst_decl, case PARM_DECL): Copy DECL_TEMPLATE_PARM_P. Template
DChangeLog-20031089 * pt.c (tsubst_decl): Substitute also the DECL_NAME node of
1992 * pt.c (tsubst_decl): Adjust accordingly.
2127 * pt.c (tsubst_decl): Do not expect it to be set.
2343 * pt.c (tsubst_decl) <USING_DECL case>: Set type.
2452 tsubst_decl, unify): Reformat.
2644 (tsubst_decl): Likewise.
2887 * pt.c (tsubst_decl): Copy
2952 (tsubst_decl): Likewise.
2974 * pt.c (tsubst_decl) <TEMPLATE_DECL>: Add a check for
3030 * pt.c (tsubst_decl): Copy it.
[all …]
DChangeLog-2010410 * pt.c (tsubst_decl): Likewise.
712 (tsubst_decl): Don't set
2783 (tsubst_decl): Likewise.
3438 * pt.c (tsubst_decl): Don't substitute the domain of an array
3468 *pt.c (tsubst_decl): Get the arguments of a specialization from
3995 *pt.c (tsubst_decl): Revert commit for PR c++/42697.
4000 *pt.c (tsubst_decl): Get the arguments of a specialization from
4051 * pt.c (tsubst_decl): Don't apply type attributes in place.
DChangeLog-2016320 * pt.c (tsubst_decl): Likewise.
545 (tsubst_decl, fn_type_unification): Likewise.
646 * pt.c (tsubst_decl): Adjust.
1930 (tsubst_decl): Don't try to find specializations of variables that
2564 (tsubst_decl): Set DECL_CONTEXT of local static from another
2644 * pt.c (tsubst_decl): Use uses_template_parms.
3392 * pt.c (tsubst_decl): Clear the DECL_MODE of the new decl.
4312 * pt.c (tsubst_decl): If not local_p, clear DECL_TEMPLATE_INFO.
DChangeLog-20152057 (tsubst_decl) [FUNCTION_DECL]: Handle constraints.
2185 * pt.c (tsubst_decl) [TYPE_DECL]: Clear TYPE_DEPENDENT_P_VALID.
2449 (tsubst_decl) [TEMPLATE_DECL]: Use the TEMPLATE_DECL built
2508 * pt.c (tsubst_decl, tsubst_copy_and_build): Likewise.
2885 * pt.c (tsubst_decl) [VAR_DECL]: Mark namespace-scope
3216 * pt.c (tsubst_decl) [VAR_DECL]: SET_DECL_IMPLICIT_INSTANTIATION
3251 * pt.c (tsubst_decl) [VAR_DECL]: Call coerce_innermost_template_parms.
DChangeLog-2007688 (tsubst_decl): Check for error_mark_node the return value of the
866 (tsubst_decl) [TYPE_DECL]: Just check if the name is the tag.
898 (tsubst_decl) [TYPE_DECL]: Only check for canonical decl for
914 (tsubst_decl) [TYPE_DECL]: Preserve naming typedef, pass
976 (instantiate_class_template, tsubst_decl): Use it.
2713 (tsubst_decl): Expand function parameter packs into separate
DChangeLog-20141305 * pt.c (tsubst_decl) [VAR_DECL]: Copy TLS model.
1320 * pt.c (tsubst_decl) [VAR_DECL]: Handle member variable templates.
1634 (tsubst_decl): Handle variable template specializations.
2432 * pt.c (tsubst_decl, tsubst_copy_and_build): Likewise.
3437 * pt.c (tsubst_decl) [TYPE_DECL]: Don't try to instantiate an
3707 * pt.c (tsubst_decl) [VAR_DECL]: Allow in unevaluated context.
DChangeLog-2004428 * pt.c (tsubst_decl) <TEMPLATE_DECL case>: Reorganize. Correctly
513 (tsubst_decl): Do not pre-substitute the type of the declaration.
1378 * pt.c (tsubst_decl): Use check_var_type.
1465 (tsubst_decl): Adjust call to retrieve_specialization.
1502 check_template_shadow, tsubst_decl
2412 instantiate_class_template, tsubst_decl, tsubst, tsubst_copy,
2571 lookup_template_class, instantiate_class_template, tsubst_decl,
3151 (tsubst_decl): Set DECL_INTERFACE_KNOWN for instantiations of
6169 (tsubst_decl): Clear DECL_INITIAL for new FUNCTION_DECLs.
6505 (tsubst_decl) <TEMPLATE_DECL case>: Likewise.
DChangeLog-2006192 * pt.c (tsubst_decl): Disallow variables of function type.
980 * pt.c (tsubst_decl): Discard invalid operator declarations.
1083 (tsubst_decl): Likewise.
1350 * pt.c (tsubst_decl): Handling substitutions into a static data
1517 (lookup_template_class, tsubst_decl): Call determine_visibility.
DChangeLog.tree-ssa437 (tsubst_decl, instantiate_decl, tsubst_enum): Likewise.
Dpt.cc210 static tree tsubst_decl (tree, tree, tsubst_flags_t);
12757 t = tsubst_decl (pattern, args, complain); in gen_elem_of_pack_expansion_instantiation()
13289 arg_pack = tsubst_decl (parm_pack, args, complain); in tsubst_pack_expansion()
14707 tsubst_decl (tree t, tree args, tsubst_flags_t complain) in tsubst_decl() function
15714 return tsubst_decl (t, args, complain); in tsubst()
16997 r = tsubst_decl (t, args, complain); in tsubst_copy()
17127 r = tsubst_decl (t, args, complain); in tsubst_copy()
17737 = tsubst_decl (TREE_VEC_ELT (it, 0), args, complain); in tsubst_omp_clause_decl()
18135 tree d = tsubst_decl (TREE_OPERAND (v, 0), args, complain); in tsubst_omp_for_iterator()
18158 decl = tsubst_decl (decl, args, complain); in tsubst_omp_for_iterator()
[all …]
DChangeLog-1998185 (tsubst_decl): Tweak so as not to confuse member templates with
648 (tsubst_decl): Likewise.
707 (tsubst_decl): Don't clear DECL_INITIAL for an instantiation.
779 * pt.c (tsubst_decl): Don't mess with the global value of an
1654 * pt.c (tsubst_decl): Initialize variable `argvec'.
1854 (tsubst_decl): Likewise for variable `r'.
2384 (tsubst_decl): Remove unused variables.
2438 * pt.c (tsubst_decl): Move special case code for dealing with
2573 * pt.c (tsubst_decl): Use the right pattern when calculating the
2688 (tsubst_decl): New function, split out from tsubst. Set
[all …]
DChangeLog328 (tsubst_decl) <case VAR_/TYPE_DECL>: Pass 'tmpl' instead of 't' as
1540 * pt.cc (tsubst_decl) [TYPE_DECL]: Copy TYPE_ALIGN.
2063 * pt.cc (tsubst_decl) <case VAR_DECL>: Set tf_tst_ok when
2740 (tsubst_decl) <case VAR_DECL>: Remove !CHECKING_P safeguard.
DChangeLog-2020458 (tsubst_decl, instantiate_template_1): Likewise.
2444 (tsubst_decl): Add support for headless local extern decls.
2481 * pt.c (tsubst_decl): No need to handle constinit flag
3779 * pt.c (tsubst_decl): Relax assert.
4248 * pt.c (tsubst_decl): Deal with DECL_OMP_PRIVATIZED_MEMBER for
4502 * pt.c (tsubst_decl): Make sure DECL_VALUE_EXPR continues to have
5970 * pt.c (tsubst_decl) [PARM_DECL]: Check cp_unevaluated_operand in
DChangeLog-2008574 * pt.c (tsubst_decl): Do not copy DECL_STRUCT_FUNCTION pointer.
991 * pt.c (tsubst_decl): Leave DECL_INITIAL set on deleted
3091 (tsubst_pack_expansion, tsubst_decl): Remove redundant checks.
DChangeLog-20182466 * pt.c (tsubst_decl): Handle recursive alias instantiation.
2976 tsubst_function_decl, tsubst_decl, tsubst, tsubst_copy_and_build,
3122 * pt.c (tsubst_decl): Remove DECL_DEAD_FOR_LOCAL setting.
4847 (tsubst_decl) [FIELD_DECL]: Don't register_specialization.

12