c++: lambda capture and explicit object parm
commit73e2bdbf9bed48b2b30691f03e79230bff4850c6
authorJason Merrill <jason@redhat.com>
Thu, 30 Nov 2023 02:51:36 +0000 (29 21:51 -0500)
committerJason Merrill <jason@redhat.com>
Fri, 1 Dec 2023 03:51:04 +0000 (30 22:51 -0500)
tree6375d99b86d47d9102c5ab8b02e6a4bb9b28d1d5
parent8428bcd70374dc5643519562ebb01c5e097d9ee7
c++: lambda capture and explicit object parm

More adjustments to allow for explicit object parameters in lambdas.  This
has no practical effect until that patch goes in, but applying this
separately seems reasonable.

gcc/cp/ChangeLog:

* semantics.cc (finish_non_static_data_member)
(finish_decltype_type, capture_decltype):
Handle deduced closure parameter.
gcc/cp/semantics.cc