[all-commits] [llvm/llvm-project] 2a04de: [libc++] [test] Simplify sentinel_wrapper and size...

Quuxplusone via All-commits all-commits at lists.llvm.org
Thu Dec 16 09:03:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a04decc4a487e841cb9924409b6fd8005cc11fd
      https://github.com/llvm/llvm-project/commit/2a04decc4a487e841cb9924409b6fd8005cc11fd
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M libcxx/test/std/ranges/range.adaptors/range.common.view/begin.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.common.view/end.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.common.view/types.h
    M libcxx/test/std/ranges/range.adaptors/range.take/sentinel/base.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.take/sentinel/ctor.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.take/types.h
    M libcxx/test/std/strings/string.view/string.view.cons/from_range.pass.cpp
    M libcxx/test/support/test_iterators.h

  Log Message:
  -----------
  [libc++] [test] Simplify sentinel_wrapper and sized_sentinel.

Remove `s.base()`; every test that wants to get the base of a "test sentinel"
should use the ADL `base(s)` from now on.

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




More information about the All-commits mailing list