Handle auto parameter packs.
authorJason Merrill <jason@redhat.com>
Tue, 3 Nov 2015 20:51:41 +0000 (15:51 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Nov 2015 20:51:41 +0000 (15:51 -0500)
commitbfb014c3dedb6570350d1b87e71d8287c514fcaa
tree25bec5d6f31db0f90246460e71c9e5aebde17d8b
parent5c06742f6fb214c1c50e1bcd79aa9da86d652952
Handle auto parameter packs.

* pt.c (struct find_parameter_pack_data): Add
type_pack_expansion_p field.
(find_parameter_packs_r): Use it to turn 'auto' into a parameter pack.
(uses_parameter_packs, make_pack_expansion)
(check_for_bare_parameter_packs, fixed_parameter_pack_p): Set it.

From-SVN: r229722
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/concepts/auto3.C [new file with mode: 0644]