[libcxx-commits] [PATCH] D117950: [libc++][NFC] Use cpp17_output_iterator in tests.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 22 07:41:19 PST 2022


Mordante created this revision.
Herald added a subscriber: wenlei.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

The renames the output_iterator to cpp17_output_iterator. These
iterators are still used in C++20 so it's not possible to change the
current type to the new C++20 requirements. This is done in a similar
fashion as the cpp17_input_iterator.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117950

Files:
  libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_input_iterator.compile.pass.cpp
  libcxx/test/libcxx/iterators/contiguous_iterators.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.fail.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy_if.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate_copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/binary_transform.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/unary_transform.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.merge/merge.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.union/set_union.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.union/set_union_comp.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp
  libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp
  libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count.pass.cpp
  libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator.pass.cpp
  libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count.pass.cpp
  libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.output/output_iterator.compile.pass.cpp
  libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_en_US.pass.cpp
  libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
  libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp
  libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
  libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_string_en_US.pass.cpp
  libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_bool.pass.cpp
  libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.pass.cpp
  libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long.pass.cpp
  libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
  libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_long.pass.cpp
  libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp
  libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long.pass.cpp
  libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long_long.pass.cpp
  libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp
  libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put1.pass.cpp
  libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put2.pass.cpp
  libcxx/test/std/numerics/numeric.ops/adjacent.difference/adjacent_difference.pass.cpp
  libcxx/test/std/numerics/numeric.ops/adjacent.difference/adjacent_difference_op.pass.cpp
  libcxx/test/std/numerics/numeric.ops/partial.sum/partial_sum.pass.cpp
  libcxx/test/std/numerics/numeric.ops/partial.sum/partial_sum_op.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.counted/counted.pass.cpp
  libcxx/test/std/ranges/range.req/range.refinements/output_range.compile.pass.cpp
  libcxx/test/std/re/re.alg/re.alg.replace/test1.pass.cpp
  libcxx/test/std/re/re.alg/re.alg.replace/test2.pass.cpp
  libcxx/test/std/re/re.results/re.results.form/form1.pass.cpp
  libcxx/test/std/re/re.results/re.results.form/form2.pass.cpp
  libcxx/test/support/test_iterators.h



More information about the libcxx-commits mailing list