Re: [PATCH v2] c++: Fix two issues with auto function parameter [PR99806]

2021-04-09 Thread Jason Merrill via Gcc-patches
On 4/8/21 4:50 PM, Marek Polacek wrote: On Thu, Apr 08, 2021 at 04:37:00PM -0400, Patrick Palka wrote: On Thu, 8 Apr 2021, Marek Polacek via Gcc-patches wrote: When we have a member function with auto parameter like this: struct S { void f(auto); }; cp_parser_member_declaration ->

Re: [PATCH v2] c++: Fix two issues with auto function parameter [PR99806]

2021-04-08 Thread Marek Polacek via Gcc-patches
On Thu, Apr 08, 2021 at 04:37:00PM -0400, Patrick Palka wrote: > On Thu, 8 Apr 2021, Marek Polacek via Gcc-patches wrote: > > > When we have a member function with auto parameter like this: > > > > struct S { > > void f(auto); > > }; > > > > cp_parser_member_declaration -> grokfield prod