[clang] [llvm] [clang/LLVM] Add flatten_deep attribute for depth-limited inlining (1/2) (PR #165777)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 31 11:22:06 PDT 2025


efriedma-quic wrote:

I'm not sure this design is really practical for users.  Trying to make the user count out the depth seems like it'll be difficult to use effectively: it's hard to count, and the user has no direct control over which calls are affected.  And code refactoring is likely to break the intent.

Could you describe a bit more what led you to this particular solution?

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


More information about the cfe-commits mailing list