[all-commits] [llvm/llvm-project] 770602: [libc++] Various cleanups in the ranges tests

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Aug 30 09:46:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 770602cfa01346db58417fa2f6bfd49f8ed4e9fa
      https://github.com/llvm/llvm-project/commit/770602cfa01346db58417fa2f6bfd49f8ed4e9fa
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    R libcxx/test/std/ranges/range.access/range.access.begin/incomplete.compile.verify.cpp
    A libcxx/test/std/ranges/range.access/range.access.begin/incomplete.verify.cpp
    R libcxx/test/std/ranges/range.access/range.access.cbegin/incomplete.compile.verify.cpp
    A libcxx/test/std/ranges/range.access/range.access.cbegin/incomplete.verify.cpp
    R libcxx/test/std/ranges/range.access/range.access.cend/incomplete.compile.verify.cpp
    A libcxx/test/std/ranges/range.access/range.access.cend/incomplete.verify.cpp
    R libcxx/test/std/ranges/range.access/range.access.end/incomplete.compile.verify.cpp
    A libcxx/test/std/ranges/range.access/range.access.end/incomplete.verify.cpp
    M libcxx/test/std/ranges/range.access/range.prim/data.incomplete.verify.cpp
    M libcxx/test/std/ranges/range.access/range.prim/empty.incomplete.verify.cpp
    M libcxx/test/std/ranges/range.adaptors/range.drop/dangling.cache.pass.cpp
    R libcxx/test/std/ranges/range.adaptors/range.join.view/ctor.base.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.join.view/ctor.view.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.take/ctor.default.pass.cpp
    R libcxx/test/std/ranges/range.adaptors/range.take/ctor.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.take/ctor.view_count.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.transform/ctor.default.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.transform/ctor.view_function.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.transform/types.h
    R libcxx/test/std/ranges/range.range/borrowed_range.compile.pass.cpp
    R libcxx/test/std/ranges/range.range/borrowed_range.subsumption.compile.pass.cpp
    A libcxx/test/std/ranges/range.req/range.range/borrowed_range.compile.pass.cpp
    A libcxx/test/std/ranges/range.req/range.range/borrowed_range.subsumption.compile.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/access/advance.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/access/get.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/access/primitives.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/access/structured_binding.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/advance.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/ctor.begin_end.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/ctor.begin_end_size.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/ctor.pair_like_conv.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/ctor.range.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/ctor.range_size.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/ctor/begin_end.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/ctor/begin_end_size.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/ctor/pair_like_conv.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/ctor/range.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/ctor/range_size.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/get.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/primitives.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.subrange/structured_bindings.pass.cpp
    R libcxx/test/std/ranges/range.utility/range.subrange/subrange_test_types.h
    A libcxx/test/std/ranges/range.utility/range.subrange/types.h

  Log Message:
  -----------
  [libc++] Various cleanups in the ranges tests

- Rename test files to follow conventions better
- Split constructor tests that were in a single file
- Add missing tests for take_view and transform_view's default constructors
- Add missing tests for transform_view's view/function constructor
- Fix include guards
- Mark some tests as being specific to libc++

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




More information about the All-commits mailing list