[clang] [Clang] Reconsider the timing of instantiation of local constexpr lambdas (PR #98758)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 14 05:03:52 PDT 2024


https://github.com/zyn0217 commented:

Curiously, if we move the call to lambda wrapper out of the function, then it would compile even on trunk -- https://gcc.godbolt.org/z/aEcajcEvE

I probably overlooked something here.

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


More information about the cfe-commits mailing list