[clang] [clang][X86] Support __attribute__((model("small"/"large"))) (PR #124834)

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 31 15:39:01 PST 2025


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


More information about the cfe-commits mailing list