[all-commits] [llvm/llvm-project] ad4a6c: [libcxx][test] MoveOnly's comparisons are non-member

Casey Carter via All-commits all-commits at lists.llvm.org
Thu Jan 28 17:09:06 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad4a6ce10c43d65dd12502bda26dbc983f9bef4e
      https://github.com/llvm/llvm-project/commit/ad4a6ce10c43d65dd12502bda26dbc983f9bef4e
  Author: Casey Carter <Casey at Carter.net>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M libcxx/test/support/MoveOnly.h

  Log Message:
  -----------
  [libcxx][test] MoveOnly's comparisons are non-member

... so that comparisons with an `int` LHS and `MoveOnly` RHS are valid, as is necessary for the `partial_sort_copy` test to pass with an implementation that doesn't force a conversion to the type of the RHS as libc++ does.




More information about the All-commits mailing list