[all-commits] [llvm/llvm-project] 0b4660: [libc++] Fix `take_view::__sentinel`'s `operator==...

Jakub Mazurkiewicz via All-commits all-commits at lists.llvm.org
Wed Dec 13 11:00:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b46606ca5b52aa515c5359ed6f24fb18d825b50
      https://github.com/llvm/llvm-project/commit/0b46606ca5b52aa515c5359ed6f24fb18d825b50
  Author: Jakub Mazurkiewicz <mazkuba3 at gmail.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M libcxx/include/__ranges/take_view.h
    A libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/base.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/ctor.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/eq.pass.cpp
    R libcxx/test/std/ranges/range.adaptors/range.take/sentinel/base.pass.cpp
    R libcxx/test/std/ranges/range.adaptors/range.take/sentinel/ctor.pass.cpp
    R libcxx/test/std/ranges/range.adaptors/range.take/sentinel/eq.pass.cpp
    M libcxx/test/support/test_comparisons.h

  Log Message:
  -----------
  [libc++] Fix `take_view::__sentinel`'s `operator==` (#74655)

* Fix `take_view::__sentinel`'s `operator==`
* Rename `ranges/range.adaptors/range.take/sentinel/base.pass.cpp`
directory to
`ranges/range.adaptors/range.take/range.take.sentinel/base.pass.cpp`
* Add ***full*** test coverage for `take_view::__sentinel`'s
`operator==`
* Drive-by: fix comment in `base.pass.cpp` test
* Close #55211




More information about the All-commits mailing list