This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/64095] [C++14] Ellipsis at end of generic lambda parameter-declaration-clause should be parsed as a parameter pack


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64095

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Apr  2 18:20:04 2018
New Revision: 259015

URL: https://gcc.gnu.org/viewcvs?rev=259015&root=gcc&view=rev
Log:
        PR c++/64095 - auto... parameter pack.

        * parser.c (cp_parser_parameter_declaration): Handle turning autos
        into packs here.
        (cp_parser_parameter_declaration_list): Not here.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic16.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-mangle-1.C

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]