[clang] [clang][Sema] Fix a bug when instantiating a lambda with requires clause (PR #65193)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 11 06:04:19 PDT 2023


cor3ntin wrote:

Could you rebase on top of main? There have been a few changes to lambda that i think address part of the issues here, but this patch is still very much needed.

We add a bug when referring to a capture in a decltype or a require would cause a crash, and that is fixed. I suspect the salient part of your patch is the addition of the parameters of the enclosing function.



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


More information about the cfe-commits mailing list