[PATCH] D79714: [Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment operator is defined as deleted (PR45634)

Mikael Holmén via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 23 04:43:59 PDT 2021


uabelho added a comment.

Hi,

With this commit I get failures in the following testcases when building check-runtimes on trunk:

  Failed Tests (29):
    libc++ :: libcxx/debug/containers/db_sequence_container_iterators.pass.cpp
    libc++ :: libcxx/gdb/gdb_pretty_printer_test.sh.cpp
    libc++ :: std/containers/sequences/vector.bool/assign_copy.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/assign_move.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/copy.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/copy_alloc.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/emplace.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/erase_iter.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/erase_iter_iter.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/insert_iter_initializer_list.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/insert_iter_size_value.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/insert_iter_value.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/iterators.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/move.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/move_alloc.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/resize_size.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/resize_size_value.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/shrink_to_fit.pass.cpp
    libc++ :: std/containers/sequences/vector.bool/size.pass.cpp
    libc++ :: std/containers/sequences/vector/vector.cons/deduct.pass.cpp
    libc++ :: std/utilities/template.bitset/bitset.members/left_shift.pass.cpp
    libc++ :: std/utilities/template.bitset/bitset.members/op_eq_eq.pass.cpp
    libc++ :: std/utilities/template.bitset/bitset.members/right_shift.pass.cpp
    libc++ :: std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp
    libc++ :: std/utilities/template.bitset/bitset.members/to_ulong.pass.cpp
    libc++ :: std/utilities/template.bitset/bitset.operators/op_and.pass.cpp
    libc++ :: std/utilities/template.bitset/bitset.operators/op_not.pass.cpp
    libc++ :: std/utilities/template.bitset/bitset.operators/op_or.pass.cpp

They all get -Wdeprecated-copy warnigns and then with -Werror they fail.
Is this something you've seen or considered?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79714/new/

https://reviews.llvm.org/D79714



More information about the cfe-commits mailing list