[libcxx-commits] [PATCH] D154595: Revert "[libc++] Fix std::copy and std::move for ranges with potentially overlapping tail padding"

Alexander Kornienko via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 6 04:24:51 PDT 2023


alexfh created this revision.
Herald added a subscriber: mstorsjo.
Herald added a project: All.
alexfh requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This reverts commit c4e98722ca79c827dd57b809e0ef16b3b8da8c72 <https://reviews.llvm.org/rGc4e98722ca79c827dd57b809e0ef16b3b8da8c72>, which breaks
vector<T>::erase(...) for move-only types. See
https://reviews.llvm.org/D151953#4472195


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154595

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__algorithm/copy_move_common.h
  libcxx/include/__string/char_traits.h
  libcxx/include/__string/constexpr_c_functions.h
  libcxx/include/__type_traits/datasizeof.h
  libcxx/include/__utility/is_pointer_in_range.h
  libcxx/include/string
  libcxx/test/libcxx/algorithms/alg.modifying.operations/copy_move_trivial.pass.cpp
  libcxx/test/libcxx/transitive_includes/cxx03.csv
  libcxx/test/libcxx/transitive_includes/cxx11.csv
  libcxx/test/libcxx/transitive_includes/cxx14.csv
  libcxx/test/libcxx/transitive_includes/cxx17.csv
  libcxx/test/libcxx/transitive_includes/cxx20.csv
  libcxx/test/libcxx/transitive_includes/cxx23.csv
  libcxx/test/libcxx/transitive_includes/cxx26.csv
  libcxx/test/libcxx/type_traits/datasizeof.compile.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154595.537661.patch
Type: text/x-patch
Size: 49907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230706/539da7f4/attachment-0001.bin>


More information about the libcxx-commits mailing list