[clang] [C++20] [Modules] Don't emit function bodies which is noinline and av… (PR #68501)
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 8 12:23:46 PDT 2023
dwblaikie wrote:
This doesn't seem all that useful/important to me - a user can move the body of the function into an implementation unit rather than putting it in the interface unit and marking it noinline, right? This is the same recommendation we'd make if someone wrote a complex function definition in a header - and I think it's fine that the advice remains valid/relevant even in a modules build.
https://github.com/llvm/llvm-project/pull/68501
More information about the cfe-commits
mailing list