c++: ts_lambda is not needed
authorNathan Sidwell <nathan@acm.org>
Mon, 21 Sep 2020 15:55:15 +0000 (08:55 -0700)
committerNathan Sidwell <nathan@acm.org>
Mon, 21 Sep 2020 18:53:14 +0000 (11:53 -0700)
commit33605e9bef15555b19f06424ea0b777b5fdc0dfa
tree4dfd124ac2f9b0f3e404605ac5223cb8eea2f061
parent4f5a297f7520cf5ba10a3a16f32ea0e1655b203f
c++: ts_lambda is not needed

We don't need ts_lambda, as IDENTIFIER_LAMBDA_P is sufficient.  Killed thusly.

gcc/cp/
* decl.c (xref_tag_1): Use IDENTIFIER_LAMBDA_P to detect lambdas.
* lambda.c (begin_lambda_type): Use ts_current to push the tag.
* name-lookup.h (enum tag_scope): Drop ts_lambda.
gcc/cp/decl.c
gcc/cp/lambda.c
gcc/cp/name-lookup.h