c++: adjust the handling of RID_ATTRIBUTE.
authorMichel Morin <mimomorin@gmail.com>
Tue, 21 Sep 2021 23:04:31 +0000 (08:04 +0900)
committerJason Merrill <jason@redhat.com>
Thu, 23 Sep 2021 20:25:45 +0000 (16:25 -0400)
commite5c0492b7f42ccc093f9f4385bbbc4b39dc5ffcb
treebea8a19259600ace443a764b3db1d0c075efab59
parenteb9f099c3df2b1b4c5fb0fa25cfdfa3cb5fc817e
c++: adjust the handling of RID_ATTRIBUTE.

gcc/cp/ChangeLog:

* parser.c (cp_keyword_starts_decl_specifier_p): Do not
handle RID_ATTRIBUTE.
(cp_parser_constructor_declarator_p): Remove now-redundant
checks.
(cp_parser_lambda_declarator_opt): Likewise.
gcc/cp/parser.c