[clang] [Clang][SME] Detect always_inline used with mismatched streaming attributes (PR #77936)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 14:33:48 PST 2024


efriedma-quic wrote:

There's no general rule that forbids taking the address of an always_inline function.  So if a user really wants to, they can call a mismatched always_inline function anyway.  Given that, making this a hard error seems a bit dubious; it should probably be a warning instead.

https://github.com/llvm/llvm-project/pull/77936


More information about the cfe-commits mailing list