Re: [PATCH] c++: Diagnose attributes on class/enum declarations [PR110345]

2024-12-17 Thread Jason Merrill
On 8/30/24 1:31 PM, Jakub Jelinek wrote: Hi! The following testcase shows another issue where we just ignored attributes without telling user we did that. If there are any declarators, the ignoring of the attribute are diagnosed in grokdeclarator etc., but if there is none (and we don't error s

[PATCH] c++: Diagnose attributes on class/enum declarations [PR110345]

2024-08-30 Thread Jakub Jelinek
Hi! The following testcase shows another issue where we just ignored attributes without telling user we did that. If there are any declarators, the ignoring of the attribute are diagnosed in grokdeclarator etc., but if there is none (and we don't error such as on int; ), the following patch emits