]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: pass std attributes to make_call_declarator
authorJason Merrill <jason@redhat.com>
Mon, 31 Oct 2022 17:40:10 +0000 (13:40 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 1 Nov 2022 01:23:17 +0000 (21:23 -0400)
commitaf6d747df7e311a6555dda3a75f6724ecc4481bd
treea250180b381cbfa674e977cac83501de64bedf8e
parent43c40f114a68edc9a9cc9963dc940c11806ff863
c++: pass std attributes to make_call_declarator

It seems preferable to pass these to the function rather than set them
separately after the call.

gcc/cp/ChangeLog:

* parser.cc (make_call_declarator): Add std_attrs parm.
(cp_parser_lambda_declarator_opt): Pass it.
(cp_parser_direct_declarator): Pass it.
gcc/cp/parser.cc