cp-tree.h (struct cp_parameter_declarator): Rename ellipsis_p to template_parameter_p...
authorJason Merrill <jason@redhat.com>
Thu, 9 Jul 2015 17:50:11 +0000 (13:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 9 Jul 2015 17:50:11 +0000 (13:50 -0400)
commit5c4e8e5cd4c246e9d5c4dcecdc7cd77d0477584b
tree848228dc41d77265fce72478044b985321dbf536
parent2cc6d90e2d74a1bd0f97bf7106a86c1b85f70d8f
cp-tree.h (struct cp_parameter_declarator): Rename ellipsis_p to template_parameter_pack_p.

* cp-tree.h (struct cp_parameter_declarator): Rename ellipsis_p to
template_parameter_pack_p.
* parser.c (declarator_can_be_parameter_pack): False if
parameter_pack_p is set.
(make_parameter_declarator): Add template_parameter_pack_p parm.
(cp_parser_template_parameter): Remove parameter pack parsing.
(cp_parser_parameter_declaration): Handle all parameter packs.
Tweak default argument permerror.

From-SVN: r225621
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c