[clang] [llvm] [Clang][SME] Detect always_inline used with mismatched streaming attributes (PR #77936)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 18 10:25:08 PST 2024
efriedma-quic wrote:
clang has never emitted diagnostics for failure to inline an always_inline function. But if gcc is doing it, maybe defaulting to an error isn't such a big deal.
Separately, it's probably worth ensuring that the LLVM inlining passes don't actually perform illegal inlining for functions marked always_inline; looking at the code, it looks like we might end up skipping the relevant checks.
https://github.com/llvm/llvm-project/pull/77936
More information about the llvm-commits
mailing list