[clang] [Clang][CodeGen] Fix crash when compiling naked lambdas (PR #165524)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 29 03:54:36 PDT 2025


https://github.com/ojhunt requested changes to this pull request.

I am not sure this is correct as it appears to be entirely skipping capture analysis on naked functions

In an ideal world I would have said we should make it a semantic error to apply naked to a lambda, but alas gcc supports this so we must as well :(

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


More information about the cfe-commits mailing list