diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-09-20 21:36:47 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-09-20 21:36:47 +0200 |
commit | 2ffb574542b10b14841c2807047e7396e3a63f37 (patch) | |
tree | 7a26e0a41d63380941332667f2b8a5f7d7ad8d52 /gcc/explow.c | |
parent | fb3cd39dcfcecf8e9bc605bd3fe3ee74c8407b90 (diff) | |
download | gcc-2ffb574542b10b14841c2807047e7396e3a63f37.zip gcc-2ffb574542b10b14841c2807047e7396e3a63f37.tar.gz gcc-2ffb574542b10b14841c2807047e7396e3a63f37.tar.bz2 |
P0409R2 - allow lambda capture [=, this]
P0409R2 - allow lambda capture [=, this]
* parser.c (cp_parser_lambda_introducer): For cxx2a don't pedwarn on
redundant [=, this].
* g++.dg/cpp1z/lambda-this1.C: Don't expect error for c++2a on [=, this]
capture. Add further tests.
* g++.dg/cpp0x/lambda/lambda-capture-redundancy.C: Don't expect error
for c++2a on [=, this] capture.
From-SVN: r253030
Diffstat (limited to 'gcc/explow.c')
0 files changed, 0 insertions, 0 deletions