aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-cppbuiltin.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2018-11-05 02:46:52 -0500
committerJason Merrill <jason@gcc.gnu.org>2018-11-05 02:46:52 -0500
commitc24c8a4b003f81734c2a94e0980008c2c24659d9 (patch)
treef6903db115aff5c17547f7a29decc584021ecb1f /gcc/c-family/c-cppbuiltin.c
parentac27459299b143bcd3998193530b8b69f682e778 (diff)
downloadgcc-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