[clang] [Concepts] Add Decls from the outer scope of the current lambda for conversion function constraints (PR #83420)

via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 13 03:04:37 PDT 2024


================
@@ -275,6 +275,9 @@ Bug Fixes to C++ Support
   (`#82258 <https://github.com/llvm/llvm-project/issues/82258>`_)
 - Correctly immediate-escalate lambda conversion functions.
   (`#82258 <https://github.com/llvm/llvm-project/issues/82258>`_)
+- Fixed a crash while checking constraints of a trailing requires-expression of a lambda, that the
+  expression references to an entity declared outside of the lambda. This is a reduction from
----------------
cor3ntin wrote:

```suggestion
  expression references to an entity declared outside of the lambda. Fixes
```


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


More information about the cfe-commits mailing list