Re: [PATCH] c++: class-scope qualified constrained auto [PR107188]

2022-12-15 Thread Jason Merrill via Gcc-patches
On 12/8/22 11:42, Patrick Palka wrote: Here when parsing the class-scope auto constrained by a qualified concept-id, we first tentatively parse the overall member-declaration as a deprecated access-declaration, during which we parse C as a standalone TEMPLATE_ID_EXPR (not part of the auto) and

[PATCH] c++: class-scope qualified constrained auto [PR107188]

2022-12-08 Thread Patrick Palka via Gcc-patches
Here when parsing the class-scope auto constrained by a qualified concept-id, we first tentatively parse the overall member-declaration as a deprecated access-declaration, during which we parse C as a standalone TEMPLATE_ID_EXPR (not part of the auto) and end up emitting the bogus error