| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array1.C | ||
| array2.C | ||
| case1.C | ||
| cond1.C | ||
| delete1.C | ||
| extern_C.C | ||
| friend1.C | ||
| incomplete-cast1.C | ||
| inherit1.C | ||
| inherit2.C | ||
| nested1.C | ||
| packed1.C | ||
| protected1.C | ||
| static1.C | ||
| template1.C | ||
| template2.C | ||
| template3.C | ||
| template4.C |
PR c++/67711 - assigning from temporary initializer_list. PR c++/48562 - new initializer_list. * typeck.c (maybe_warn_about_returning_address_of_local): Also warn about returning local initializer_list. * cp-tree.h (AUTO_TEMP_NAME, TEMP_NAME_P): Remove. * call.c (build_over_call): Warn about assignment from temporary init_list. * init.c (build_new_1): Warn about 'new std::initializer_list'. (find_list_begin, maybe_warn_list_ctor): New. (perform_member_init): Use maybe_warn_list_ctor. From-SVN: r260905
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array1.C | Loading commit data... | |
| array2.C | Loading commit data... | |
| case1.C | Loading commit data... | |
| cond1.C | Loading commit data... | |
| delete1.C | Loading commit data... | |
| extern_C.C | Loading commit data... | |
| friend1.C | Loading commit data... | |
| incomplete-cast1.C | Loading commit data... | |
| inherit1.C | Loading commit data... | |
| inherit2.C | Loading commit data... | |
| nested1.C | Loading commit data... | |
| packed1.C | Loading commit data... | |
| protected1.C | Loading commit data... | |
| static1.C | Loading commit data... | |
| template1.C | Loading commit data... | |
| template2.C | Loading commit data... | |
| template3.C | Loading commit data... | |
| template4.C | Loading commit data... |