Re: [PATCH] c++: Improve handling of foreigner namespace attributes

2022-10-06 Thread Jason Merrill via Gcc-patches
On 10/5/22 08:04, Jakub Jelinek wrote: Hi! The following patch uses the new lookup_attribute overload and extra tests to avoid emitting weird warnings on foreign namespace attributes which we should just ignore (perhaps with a warning), but shouldn't imply any meaning to them just because they h

[PATCH] c++: Improve handling of foreigner namespace attributes

2022-10-05 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch uses the new lookup_attribute overload and extra tests to avoid emitting weird warnings on foreign namespace attributes which we should just ignore (perhaps with a warning), but shouldn't imply any meaning to them just because they have a name matching some standard or gnu