Lambdas in lambda specifiers should be dependent if they appear in a generic
lambda, while current lambda creating processes fail to specify the correct
dependency kind to them.
This patch adds a template parameter scope before parsing lambda specifiers and
fixes issues:
https://github.com/llvm/llvm-project/issues/57155
https://github.com/llvm/llvm-project/issues/57170
I thought unevaluated lambdas could not have captures. that might be the issue here