c++: Avoid inconsistency in lambda fn's this pointer name [pr94807]
authorNathan Sidwell <nathan@acm.org>
Tue, 5 May 2020 14:47:13 +0000 (07:47 -0700)
committerNathan Sidwell <nathan@acm.org>
Tue, 5 May 2020 14:48:35 +0000 (07:48 -0700)
commit733195e367d84914cf9a35c5c78901c973f4159a
tree2c2b615bc3ce2ffbf6629897dd74a10dba105b61
parentd44f14ccef831d90feb57fab56bc3389d543ffdd
c++: Avoid inconsistency in lambda fn's this pointer name [pr94807]

* coroutines.cc (morph_fn_to_coro): Just check for
closure_identifier.
* pt.c (tsubst_function_decl): Update lambda fn's this_ptr name.
gcc/cp/ChangeLog
gcc/cp/coroutines.cc
gcc/cp/pt.c