Re: [PATCH v2] attribs: Fix wrong error with -Wno-attribute=A::b [PR103649]

2021-12-16 Thread Jason Merrill via Gcc-patches
On 12/16/21 19:52, Marek Polacek wrote: On Thu, Dec 16, 2021 at 11:53:46PM +0100, Jakub Jelinek wrote: On Thu, Dec 16, 2021 at 05:35:55PM -0500, Marek Polacek wrote: My patch to implement -Wno-attribute=A::b caused a bogus error when parsing [[foo::bar(1, 2)]]; when -Wno-attributes=foo::ba

[PATCH v2] attribs: Fix wrong error with -Wno-attribute=A::b [PR103649]

2021-12-16 Thread Marek Polacek via Gcc-patches
On Thu, Dec 16, 2021 at 11:53:46PM +0100, Jakub Jelinek wrote: > On Thu, Dec 16, 2021 at 05:35:55PM -0500, Marek Polacek wrote: > > My patch to implement -Wno-attribute=A::b caused a bogus error when > > parsing > > > > [[foo::bar(1, 2)]]; > > > > when -Wno-attributes=foo::bar was specified on