Artem-B wrote:

Issuing the warning suppression every time a TU happens to see a perfectly 
valid use of the attribute in the host code (even transitively, in someone 
else's headers), would be counterproductive, IMO. The only response to the 
warning is to suppress it (i.e. there's nothing for the user to fix). At the 
very least it creates unnecessary noise. It will also disrupt existing builds 
that happen to be done with `-Werror`. Yes, we can work around it, but I'd 
rather avoid creating the problem.


https://github.com/llvm/llvm-project/pull/124834
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to