class.c (resolve_address_of_overloaded_function): Do conversion to correct type…
class.c (resolve_address_of_overloaded_function): Do conversion to correct type here, rather than ... * class.c (resolve_address_of_overloaded_function): Do conversion to correct type here, rather than ... (instantiate_type): Here. * cp-tree.h (DECL_TEMPLATE_PARM_P): New macro. (DECL_TEMPLATE_TEMPLATE_PARM_P): Use it. (decl_template_parm_p): Remove. * decl.c (pushdecl): Don't set DECL_CONTEXT for a template paramter. * lex.c (do_identifier): Use DECL_TEMPLATE_PARM_P. (push_inline_template_parms_recursive): Set it. (decl_template_parm_p): Remove. (check_template_shadow): Use DECL_TEMPLATE_PARM_P. (process_template_parm): Set it. From-SVN: r24344
Showing
gcc/testsuite/g++.old-deja/g++.pt/shadow1.C
0 → 100644
Please
register
or
sign in
to comment