[all-commits] [llvm/llvm-project] 81cc83: [libc++][test] Clean up libcxx/test/support/MoveOn...

Joseph Loser via All-commits all-commits at lists.llvm.org
Sat Jan 29 15:21:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81cc834a4801458698db79d0bf101390b0ecb7d6
      https://github.com/llvm/llvm-project/commit/81cc834a4801458698db79d0bf101390b0ecb7d6
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2022-01-29 (Sat, 29 Jan 2022)

  Changed paths:
    M libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp
    M libcxx/test/support/MoveOnly.h

  Log Message:
  -----------
  [libc++][test] Clean up libcxx/test/support/MoveOnly.h

Remove copy and copy assignment rather than have them as private declarations.
They are superfluous given the move and move assignment.

As a drive-by, also specialize `std::hash` without reopening `namespace std`.

Differential Revision: https://reviews.llvm.org/D118502




More information about the All-commits mailing list