================ @@ -3796,6 +3796,12 @@ def warn_attribute_ignored_on_non_definition : def warn_attribute_ignored_on_inline : Warning<"%0 attribute ignored on inline function">, InGroup<IgnoredAttributes>; +def warn_attribute_ignored_on_non_member : + Warning<"%0 attribute ignored on a non-member declaration">, + InGroup<IgnoredAttributes>; +def warn_attribute_ignored_on_non_template : + Warning<"%0 attribute ignored on a non-template context">, ---------------- zmodem wrote:
nit: I think it should be *in* a non-template context https://github.com/llvm/llvm-project/pull/183514 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
