[all-commits] [llvm/llvm-project] 6842f5: [libc++] [test] Flatten the directory structure a ...

Quuxplusone via All-commits all-commits at lists.llvm.org
Thu Dec 23 11:56:42 PST 2021


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

  Changed paths:
    A libcxx/test/std/ranges/range.access/begin.pass.cpp
    A libcxx/test/std/ranges/range.access/data.pass.cpp
    A libcxx/test/std/ranges/range.access/empty.pass.cpp
    A libcxx/test/std/ranges/range.access/end.pass.cpp
    R libcxx/test/std/ranges/range.access/range.access.begin/begin.pass.cpp
    R libcxx/test/std/ranges/range.access/range.access.cbegin/cbegin.compile.pass.cpp
    R libcxx/test/std/ranges/range.access/range.access.cend/cend.compile.pass.cpp
    R libcxx/test/std/ranges/range.access/range.access.end/end.pass.cpp
    R libcxx/test/std/ranges/range.access/range.prim/data.pass.cpp
    R libcxx/test/std/ranges/range.access/range.prim/empty.pass.cpp
    R libcxx/test/std/ranges/range.access/range.prim/size.pass.cpp
    R libcxx/test/std/ranges/range.access/range.prim/ssize.pass.cpp
    A libcxx/test/std/ranges/range.access/size.pass.cpp
    A libcxx/test/std/ranges/range.access/ssize.pass.cpp

  Log Message:
  -----------
  [libc++] [test] Flatten the directory structure a bit. NFC.

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


  Commit: a2a9a5c7d3d9e6860444d8b4fd9f1fd665801586
      https://github.com/llvm/llvm-project/commit/a2a9a5c7d3d9e6860444d8b4fd9f1fd665801586
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M libcxx/include/__ranges/empty.h
    M libcxx/test/std/ranges/range.access/empty.pass.cpp

  Log Message:
  -----------
  [libc++] [ranges] Fix bugs in ranges::empty().

It was missing the cast to `bool` in `bool(__t.empty())`.
It was wrongly using `std::forward` in some places.

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


  Commit: 4191a93ea448426d30de220ed8605329942d9872
      https://github.com/llvm/llvm-project/commit/4191a93ea448426d30de220ed8605329942d9872
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M libcxx/test/std/ranges/range.access/empty.pass.cpp

  Log Message:
  -----------
  [libc++] [test] Eliminate `== true` and `== false`. NFC.

As suggested in D115312.


  Commit: 3042091168e99323217223a959df8675bdfa9b3c
      https://github.com/llvm/llvm-project/commit/3042091168e99323217223a959df8675bdfa9b3c
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M libcxx/include/__ranges/access.h
    M libcxx/include/__ranges/data.h
    M libcxx/include/__ranges/empty.h
    M libcxx/include/__ranges/size.h

  Log Message:
  -----------
  [libc++] [ranges] Whitespace and namespace-style adjustments. NFC.

Largely split out of D116199 to keep that PR smaller.


Compare: https://github.com/llvm/llvm-project/compare/8f8c89f3cd74...3042091168e9


More information about the All-commits mailing list