aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-02-26 10:44:52 +0100
committerJakub Jelinek <jakub@redhat.com>2021-02-26 10:47:07 +0100
commit0f161cc8494cf7283a16fa9ebbcf8fd121bab68d (patch)
tree4962d03899c296616a087ba3740a2df3a5f6beca /gcc/fortran
parent27f9a87886d48448f83e0e559dcf028b1a4a4ec6 (diff)
downloadgcc-0f161cc8494cf7283a16fa9ebbcf8fd121bab68d.zip
gcc-0f161cc8494cf7283a16fa9ebbcf8fd121bab68d.tar.gz
gcc-0f161cc8494cf7283a16fa9ebbcf8fd121bab68d.tar.bz2
c++: Implement P1102R2 - Down with ()!
The following patch implements P1102R2. For attributes, we have already attribute parsing before the parameter declarations and so when that is omitted, if the attributes are first we already accept it. 2021-02-26 Jakub Jelinek <jakub@redhat.com> * parser.c (cp_parser_lambda_declarator_opt): Implement P1102R2 - Down with ()! Make ()s optional before lambda specifiers for -std={c,gnu}++2b or with pedwarn in earlier versions. * g++.dg/cpp23/lambda-specifiers1.C: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions