================ @@ -3141,6 +3148,10 @@ def warn_attribute_ignored_no_calls_in_stmt: Warning< "statement">, InGroup<IgnoredAttributes>; +def warn_attribute_needs_aggregate : Warning< ---------------- erichkeane wrote:
I still disagree, in that misuse of this attribute should be harsher than a warning, we have precedent for it. As far as the 'older compiler' thing, typically that is the point of version checks/etc. That said, I'm LESS Sure than I was before, so I wouldn't mind seeing Aaron's opinion here. https://github.com/llvm/llvm-project/pull/102040 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits