diff options
author | Jason Merrill <jason@redhat.com> | 2018-11-05 02:46:52 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2018-11-05 02:46:52 -0500 |
commit | c24c8a4b003f81734c2a94e0980008c2c24659d9 (patch) | |
tree | f6903db115aff5c17547f7a29decc584021ecb1f /gcc/c-family/c-cppbuiltin.c | |
parent | ac27459299b143bcd3998193530b8b69f682e778 (diff) | |
download | gcc-c24c8a4b003f81734c2a94e0980008c2c24659d9.zip gcc-c24c8a4b003f81734c2a94e0980008c2c24659d9.tar.gz gcc-c24c8a4b003f81734c2a94e0980008c2c24659d9.tar.bz2 |
PR c++/60503 - wrong lambda attribute syntax.
This patch fixes two issues with lambda attribute handling: First, it was in
the wrong place in the grammar. Second, it was treating attributes as
applying to the whole declaration rather than to the function type, as
specified by the standard.
* parser.c (cp_parser_lambda_declarator_opt): Fix attribute
handling.
From-SVN: r265787
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions