summaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-09 17:50:11 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-09 17:50:11 +0000
commitbbd955750b75e3d1eff76122161840aa323657b2 (patch)
tree848228dc41d77265fce72478044b985321dbf536 /gcc/cp/cp-tree.h
parentb8510b8523893712bdb32f7512c6302ac1a97edf (diff)
downloadgcc-bbd955750b75e3d1eff76122161840aa323657b2.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 18cf87e893a..d3836123643 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -5042,9 +5042,8 @@ struct cp_parameter_declarator {
cp_declarator *declarator;
/* The default-argument expression, or NULL_TREE, if none. */
tree default_argument;
- /* True iff this is the first parameter in the list and the
- parameter sequence ends with an ellipsis. */
- bool ellipsis_p;
+ /* True iff this is is a template parameter pack. */
+ bool template_parameter_pack_p;
};
/* A declarator. */