[all-commits] [llvm/llvm-project] 1716c3: [libc++] [test] More test coverage for ranges::{da...

Quuxplusone via All-commits all-commits at lists.llvm.org
Tue Jan 4 14:18:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1716c36d84030358a025558d16e6d484b40c14cc
      https://github.com/llvm/llvm-project/commit/1716c36d84030358a025558d16e6d484b40c14cc
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

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

  Log Message:
  -----------
  [libc++] [test] More test coverage for ranges::{data,size}.

Reviewed as part of D116239.


  Commit: 8507383631f2ce2254e35bb81e03319ede056ed1
      https://github.com/llvm/llvm-project/commit/8507383631f2ce2254e35bb81e03319ede056ed1
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M libcxx/include/__concepts/class_or_enum.h
    M libcxx/include/__ranges/access.h
    M libcxx/include/__ranges/empty.h
    M libcxx/include/__ranges/size.h
    M libcxx/test/std/ranges/range.access/begin.pass.cpp
    M libcxx/test/std/ranges/range.access/data.pass.cpp
    M libcxx/test/std/ranges/range.access/empty.pass.cpp
    M libcxx/test/std/ranges/range.access/end.pass.cpp
    M libcxx/test/std/ranges/range.access/size.pass.cpp
    M libcxx/test/std/ranges/range.access/ssize.pass.cpp
    M libcxx/test/std/ranges/range.req/range.range/range.compile.pass.cpp

  Log Message:
  -----------
  [libc++] [ranges] ADL-proof the [range.access] CPOs.

For example, `std::ranges::range<Holder<Incomplete>*>` should be
well-formed false, not a hard error at compile time.

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


Compare: https://github.com/llvm/llvm-project/compare/2b1c6df5a60a...8507383631f2


More information about the All-commits mailing list