[clang] [Clang][Parser] Have the depth of the abbreviated generic lambdas inside a requires clause differ from the surrounding generic lambda (PR #80656)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 22 04:15:38 PST 2024


================
@@ -193,6 +193,10 @@ Bug Fixes to C++ Support
 - Fixed an out-of-bounds error caused by building a recovery expression for ill-formed
   function calls while substituting into constraints.
   (`#58548 <https://github.com/llvm/llvm-project/issues/58548>`_)
+- Fixed an issue where template parameters of the nested abbreviated generic lambda within
+  a requires-clause lie at the same depth as those of the surrounding lambda. This,
+  in turn, results in the wrong template argument substitution during the constraint checking.
----------------
cor3ntin wrote:

```suggestion
  in turn, results in the wrong template argument substitution during constraint checking.
```

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


More information about the cfe-commits mailing list