-
- Downloads
-Wunused and C++17 structured bindings
* decl.c (poplevel): Don't warn about unused structured bindings, only real variables. * error.c (dump_simple_decl): Handle structured bindings. * expr.c (mark_exp_read): Look through DECL_VALUE_EXPR. From-SVN: r248399
Showing
- gcc/cp/ChangeLog 8 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/decl.c 4 additions, 1 deletiongcc/cp/decl.c
- gcc/cp/error.c 2 additions, 0 deletionsgcc/cp/error.c
- gcc/cp/expr.c 3 additions, 0 deletionsgcc/cp/expr.c
- gcc/testsuite/g++.dg/cpp1z/decomp29.C 26 additions, 0 deletionsgcc/testsuite/g++.dg/cpp1z/decomp29.C
Loading
Please register or sign in to comment