diff --git a/libcxx/include/module.modulemap.in b/libcxx/include/module.modulemap.in index cf5bfc628206..9012ed18cbd7 100644 --- a/libcxx/include/module.modulemap.in +++ b/libcxx/include/module.modulemap.in @@ -469,6 +469,7 @@ module std [system] { module mismatch { header "__algorithm/mismatch.h" export std.utility.pair // return type + export std.iterator.aliasing_iterator } module move_backward { header "__algorithm/move_backward.h" } module move { header "__algorithm/move.h" } diff --git a/libcxx/test/benchmarks/containers/sequence/sequence_container_benchmarks.h b/libcxx/test/benchmarks/containers/sequence/sequence_container_benchmarks.h index 6e83e6b0c94e..00ec1ded7dc4 100644 --- a/libcxx/test/benchmarks/containers/sequence/sequence_container_benchmarks.h +++ b/libcxx/test/benchmarks/containers/sequence/sequence_container_benchmarks.h @@ -21,6 +21,7 @@ #include "benchmark/benchmark.h" #include "test_iterators.h" +#include "test_macros.h" #include "../../GenerateInput.h" namespace support { diff --git a/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_forward_iterator.compile.pass.cpp b/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_forward_iterator.compile.pass.cpp index 9c488c255465..8326e4d3bdd8 100644 --- a/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_forward_iterator.compile.pass.cpp +++ b/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_forward_iterator.compile.pass.cpp @@ -11,6 +11,7 @@ // template // concept __nothrow_forward_iterator; +#include #include #include "test_iterators.h" diff --git a/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_input_iterator.compile.pass.cpp b/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_input_iterator.compile.pass.cpp index 2da3f4297af7..6deb841616b9 100644 --- a/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_input_iterator.compile.pass.cpp +++ b/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_input_iterator.compile.pass.cpp @@ -11,6 +11,7 @@ // template // concept __nothrow_input_iterator; +#include #include #include "test_iterators.h" diff --git a/libcxx/test/libcxx/input.output/filesystems/class.path/path.req/is_pathable.pass.cpp b/libcxx/test/libcxx/input.output/filesystems/class.path/path.req/is_pathable.pass.cpp index e095d7598f18..950f895e3234 100644 --- a/libcxx/test/libcxx/input.output/filesystems/class.path/path.req/is_pathable.pass.cpp +++ b/libcxx/test/libcxx/input.output/filesystems/class.path/path.req/is_pathable.pass.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp b/libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp index 45d0cc3b95f9..88acc3036916 100644 --- a/libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp +++ b/libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp @@ -12,6 +12,7 @@ // Arithmetic operators #include <__iterator/bounded_iter.h> +#include #include #include "test_iterators.h" diff --git a/libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp b/libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp index cef2157469c8..31c080c63a31 100644 --- a/libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp +++ b/libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp @@ -11,6 +11,8 @@ // // Comparison operators +#include +#include #include #include <__iterator/bounded_iter.h> diff --git a/libcxx/test/libcxx/iterators/capacity_aware_iter/arithmetic.pass.cpp b/libcxx/test/libcxx/iterators/capacity_aware_iter/arithmetic.pass.cpp index c8451141c984..f4aa5c29790f 100644 --- a/libcxx/test/libcxx/iterators/capacity_aware_iter/arithmetic.pass.cpp +++ b/libcxx/test/libcxx/iterators/capacity_aware_iter/arithmetic.pass.cpp @@ -25,6 +25,7 @@ // operator-(__capacity_aware_iterator, __capacity_aware_iterator) #include <__iterator/capacity_aware_iterator.h> +#include #include #include #include diff --git a/libcxx/test/libcxx/iterators/capacity_aware_iter/comparison.pass.cpp b/libcxx/test/libcxx/iterators/capacity_aware_iter/comparison.pass.cpp index d1f396fb9377..34aa73bf4459 100644 --- a/libcxx/test/libcxx/iterators/capacity_aware_iter/comparison.pass.cpp +++ b/libcxx/test/libcxx/iterators/capacity_aware_iter/comparison.pass.cpp @@ -22,6 +22,7 @@ // operator<=> #include <__iterator/capacity_aware_iterator.h> +#include #include #include #include diff --git a/libcxx/test/libcxx/iterators/capacity_aware_iter/dereference.pass.cpp b/libcxx/test/libcxx/iterators/capacity_aware_iter/dereference.pass.cpp index ff7d4b53b071..42ab763896e2 100644 --- a/libcxx/test/libcxx/iterators/capacity_aware_iter/dereference.pass.cpp +++ b/libcxx/test/libcxx/iterators/capacity_aware_iter/dereference.pass.cpp @@ -18,7 +18,9 @@ // operator->(); #include <__iterator/capacity_aware_iterator.h> +#include #include +#include #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.concepts/cpp20_iter_traits.compile.pass.cpp b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.concepts/cpp20_iter_traits.compile.pass.cpp index 066587d68cd3..ff2e1a5579ba 100644 --- a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.concepts/cpp20_iter_traits.compile.pass.cpp +++ b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.concepts/cpp20_iter_traits.compile.pass.cpp @@ -15,6 +15,7 @@ // ITER_TRAITS(I) denotes iterator_traits. #include <__iterator/concepts.h> +#include #include #include "test_iterators.h" diff --git a/libcxx/test/libcxx/iterators/iterator_with_data.pass.cpp b/libcxx/test/libcxx/iterators/iterator_with_data.pass.cpp index b2e3ffe0be90..6986302de182 100644 --- a/libcxx/test/libcxx/iterators/iterator_with_data.pass.cpp +++ b/libcxx/test/libcxx/iterators/iterator_with_data.pass.cpp @@ -15,6 +15,10 @@ TEST_CLANG_DIAGNOSTIC_IGNORED("-Wprivate-header") #include <__iterator/iterator_with_data.h> TEST_DIAGNOSTIC_POP +#include +#include +#include + #include "test_iterators.h" static_assert(std::forward_iterator, int>>); diff --git a/libcxx/test/libcxx/iterators/product_iterator.pass.cpp b/libcxx/test/libcxx/iterators/product_iterator.pass.cpp index 604f3667c36e..d70bbca15ca6 100644 --- a/libcxx/test/libcxx/iterators/product_iterator.pass.cpp +++ b/libcxx/test/libcxx/iterators/product_iterator.pass.cpp @@ -10,6 +10,7 @@ // gcc 15 does not seem to recognize the __product_iterator_traits specializations // UNSUPPORTED: gcc +#include #include #include #include diff --git a/libcxx/test/libcxx/iterators/unwrap_iter.pass.cpp b/libcxx/test/libcxx/iterators/unwrap_iter.pass.cpp index 8ef2be2b0107..3902eb350bca 100644 --- a/libcxx/test/libcxx/iterators/unwrap_iter.pass.cpp +++ b/libcxx/test/libcxx/iterators/unwrap_iter.pass.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp index bede567f3301..6ef693ec4253 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include #include "sized_allocator.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp index b921591c1962..f535ede39478 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp @@ -17,6 +17,7 @@ #include #include +#include #include #include "sized_allocator.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp index 2053134a01a2..183f38c1ce11 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.pass.cpp index 0e0fbf39602d..ab76388ca957 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.pass.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_backward.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_backward.pass.cpp index 46beea04aa2f..c76efdd3f574 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_backward.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_backward.pass.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_n.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_n.pass.cpp index 577328d663d9..132993dba76b 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_n.pass.cpp @@ -24,6 +24,7 @@ #include "almost_satisfies_types.h" #include "test_macros.h" #include "test_iterators.h" +#include "type_algorithms.h" template concept HasCopyNIt = requires(In in, Count count, Out out) { std::ranges::copy_n(in, count, out); }; diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp index b0a74b81f8c0..10aad31778ea 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp index 5dc9b901db07..6d7ba98a33b6 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ranges.fill.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ranges.fill.pass.cpp index 7ae0a0665dfb..79543832d6e2 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ranges.fill.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ranges.fill.pass.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ranges.fill_n.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ranges.fill_n.pass.cpp index 25db892548a6..0de6f4a62513 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ranges.fill_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ranges.fill_n.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate.pass.cpp index 56fbe58e2dfd..98741873760d 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate.pass.cpp @@ -20,6 +20,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate_n.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate_n.pass.cpp index e6af0116ea0d..33d40a39cf38 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate_n.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp index e28484ee4984..1c82dd6d4fe7 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp @@ -18,6 +18,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp index d8b7e68b155d..5d4ba6e1ec3e 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp @@ -17,6 +17,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.move.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.move.pass.cpp index a82a068caf03..26c537f42efc 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.move.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.move.pass.cpp @@ -18,6 +18,7 @@ // ForwardIterator2 result); #include +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp index f5a0ff0b27da..73a4895abc94 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp @@ -13,9 +13,10 @@ // is_partitioned(InputIterator first, InputIterator last, Predicate pred); #include -#include -#include #include +#include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp index 05ab77907ea0..1867c3ae4624 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp @@ -17,6 +17,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_point.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_point.pass.cpp index 2dc17868f80e..c16aa6f10e5c 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_point.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_point.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition.pass.cpp index 6d9be0441bfe..07ee0f29d400 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition_copy.pass.cpp index af9a72da71a9..19fe28febe79 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition_copy.pass.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition_point.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition_point.pass.cpp index 932e833aa499..19ecdc02b777 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition_point.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_partition_point.pass.cpp @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_stable_partition.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_stable_partition.pass.cpp index 615cac8c6723..28fda6b56446 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_stable_partition.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ranges_stable_partition.pass.cpp @@ -24,12 +24,14 @@ #include #include +#include #include #include #include #include "almost_satisfies_types.h" #include "test_iterators.h" +#include "test_macros.h" struct UnaryPred { bool operator()(int) const; }; diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/ranges_sample.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/ranges_sample.pass.cpp index a5178cb2eee1..0da76d5389d2 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/ranges_sample.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/ranges_sample.pass.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.pass.cpp index ed89a5ad4711..09322dad3d6f 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.pass.cpp @@ -17,10 +17,12 @@ // UniformRandomNumberGenerator &&g); #include -#include -#include #include #include +#include +#include +#include +#include #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/ranges_shuffle.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/ranges_shuffle.pass.cpp index 24237b94502f..9db7bc62ecf3 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/ranges_shuffle.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/ranges_shuffle.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy.pass.cpp index 9c09b443ef12..29508988cd26 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy.pass.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy_if.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy_if.pass.cpp index c67f7c92e3ce..9636ddb1e07e 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy_if.pass.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove.pass.cpp index ebacec5f4936..deff5d626046 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy.pass.cpp index 1a0313d0b2b3..2647df673702 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp index d2ad3f2d2d5d..90be6f9c5c6d 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp @@ -15,8 +15,9 @@ // remove_copy_if(InIter first, InIter last, OutIter result, Pred pred); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp index 99f9adfd319e..40efd0cbff16 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges_replace_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges_replace_copy.pass.cpp index b1c03e9604a6..278fb04d95f6 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges_replace_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges_replace_copy.pass.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges_replace_copy_if.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges_replace_copy_if.pass.cpp index 38f6d4789b95..fe2bea49fdbd 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges_replace_copy_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges_replace_copy_if.pass.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace.pass.cpp index 1e91fc968cb2..31c398e6321e 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace.pass.cpp @@ -17,6 +17,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy.pass.cpp index 00f869889a42..471a1c98354f 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy.pass.cpp @@ -18,6 +18,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy_if.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy_if.pass.cpp index 795181bbbd18..12c4a8980cc7 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_copy_if.pass.cpp @@ -17,8 +17,9 @@ // replace_copy_if(InIter first, InIter last, OutIter result, Pred pred, const T& new_value); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp index 4f32b6e94a41..57ccc8d54a13 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp @@ -16,8 +16,9 @@ // replace_if(Iter first, Iter last, Pred pred, const T& new_value); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/ranges.reverse.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/ranges.reverse.pass.cpp index c1011f3ada64..46d6345aeede 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/ranges.reverse.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/ranges.reverse.pass.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp index 150ade52de89..d1184b6320e8 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate_copy.pass.cpp index 8e356cc219fe..976b0e69a983 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate_copy.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges.shift_left.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges.shift_left.pass.cpp index 9639fc529c2a..51a2e448e42d 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges.shift_left.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges.shift_left.pass.cpp @@ -26,8 +26,9 @@ #include #include "almost_satisfies_types.h" -#include "test_iterators.h" #include "MoveOnly.h" +#include "test_iterators.h" +#include "type_algorithms.h" struct InvalidDifferenceT {}; diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges_shift_right.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges_shift_right.pass.cpp index 48bb35f4b458..130af2d31c2b 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges_shift_right.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges_shift_right.pass.cpp @@ -25,9 +25,10 @@ #include #include "almost_satisfies_types.h" +#include "MoveOnly.h" #include "test_macros.h" #include "test_iterators.h" -#include "MoveOnly.h" +#include "type_algorithms.h" struct InvalidDifferenceT {}; diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_left.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_left.pass.cpp index 90540f499e15..5e058b853cd2 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_left.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_left.pass.cpp @@ -17,6 +17,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_right.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_right.pass.cpp index d92387c4c77a..c3c30cca0318 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_right.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_right.pass.cpp @@ -17,6 +17,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/binary_transform.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/binary_transform.pass.cpp index 7ad94e3331bf..b05206c77b59 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/binary_transform.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/binary_transform.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.transform.binary.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.transform.binary.pass.cpp index b2b98619fb96..bbad9ae357a7 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.transform.binary.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.transform.binary.pass.cpp @@ -21,11 +21,13 @@ // BinaryOperation binary_op); #include +#include #include #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(transform); diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.transform.unary.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.transform.unary.pass.cpp index 03985c7d3673..a63a114b3230 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.transform.unary.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.transform.unary.pass.cpp @@ -26,6 +26,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" // We can't test the constraint on the execution policy, because that would conflict with the binary // transform algorithm that doesn't take an execution policy, which is not constrained at all. diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/unary_transform.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/unary_transform.pass.cpp index 8cf9667f757f..124009479c8b 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/unary_transform.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/unary_transform.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ranges_unique.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ranges_unique.pass.cpp index 67a8462c7665..afa350a765ec 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ranges_unique.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ranges_unique.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ranges_unique_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ranges_unique_copy.pass.cpp index a4cf97069c96..7a9d2f0a2e57 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ranges_unique_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ranges_unique_copy.pass.cpp @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp index b145d567f47b..d763000bbecf 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp index bcf9c99e24c2..51236a0dc5e9 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp @@ -18,6 +18,7 @@ #include #include +#include #include "MoveOnly.h" #include "test_macros.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp index e7d76a334376..306a40f538bb 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp @@ -19,6 +19,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp index 91535f081ca8..97e0606da98e 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/adjacent_find.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/adjacent_find.pass.cpp index 6d57c5869ab7..06f4c90d1fe6 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/adjacent_find.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/adjacent_find.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/adjacent_find_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/adjacent_find_pred.pass.cpp index c80bc9fff83b..e107d65fd985 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/adjacent_find_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/adjacent_find_pred.pass.cpp @@ -14,8 +14,9 @@ // adjacent_find(Iter first, Iter last, Pred pred); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/all_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/all_of.pass.cpp index 255cd62fd05d..f9377fb10277 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/all_of.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/all_of.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp index a3af9b949bfd..1770749fbcc4 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp @@ -23,6 +23,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(all_of); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/any_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/any_of.pass.cpp index 79f4438aa9ab..c0b659304db8 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/any_of.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/any_of.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/pstl.any_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/pstl.any_of.pass.cpp index 229bf576dd80..5ddbfa9b98c3 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/pstl.any_of.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/pstl.any_of.pass.cpp @@ -23,6 +23,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(any_of); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains.pass.cpp index 1e89cd272e64..e5da5d68a4db 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains.pass.cpp @@ -29,6 +29,7 @@ #include "almost_satisfies_types.h" #include "boolean_testable.h" #include "test_iterators.h" +#include "type_algorithms.h" struct NotEqualityComparable {}; diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp index 176d6b22551f..64c3d7ce3ac8 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp @@ -14,8 +14,9 @@ // count_if(Iter first, Iter last, Pred pred); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/pstl.count.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/pstl.count.pass.cpp index f00861f66bfe..3b7d0816c2be 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/pstl.count.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/pstl.count.pass.cpp @@ -20,11 +20,13 @@ #include #include #include +#include #include #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(count); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/pstl.count_if.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/pstl.count_if.pass.cpp index 489c7a7332a6..2808670b55d8 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/pstl.count_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/pstl.count_if.pass.cpp @@ -20,11 +20,13 @@ #include #include #include +#include #include #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(count_if); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.ends_with/ranges.ends_with.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.ends_with/ranges.ends_with.pass.cpp index 76c62ffa760a..9a7a5f551a78 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.ends_with/ranges.ends_with.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.ends_with/ranges.ends_with.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal.pass.cpp index a041e38a4838..48c91bc664e0 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal.pass.cpp @@ -30,6 +30,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp index 8752b92d6dfa..933605c870eb 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp @@ -21,10 +21,10 @@ // constexpr bool // constexpr after c++17 // equal(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2, Pred pred); - #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/pstl.equal.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/pstl.equal.pass.cpp index e2f4dafe1a05..4be9b166045c 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/pstl.equal.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/pstl.equal.pass.cpp @@ -42,6 +42,7 @@ #include "test_execution_policies.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" template struct Test { diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/ranges.equal.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/ranges.equal.pass.cpp index 8f35a3cf3458..81723e1a2577 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/ranges.equal.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/ranges.equal.pass.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end.pass.cpp index 3060528a8e89..e64947bc4f80 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp index 7358cf5f7010..4f84def8fea7 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/ranges.find_end.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/ranges.find_end.pass.cpp index deaec0b6ebb6..ce5226c563f1 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/ranges.find_end.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/ranges.find_end.pass.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include "almost_satisfies_types.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/find_first_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/find_first_of.pass.cpp index 6a76ef95353a..efa54bbc8fd6 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/find_first_of.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/find_first_of.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/find_first_of_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/find_first_of_pred.pass.cpp index 0e9a6e576b85..fd2e4d426fbf 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/find_first_of_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/find_first_of_pred.pass.cpp @@ -15,8 +15,9 @@ // find_first_of(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2, Pred pred); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/ranges.find_first_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/ranges.find_first_of.pass.cpp index a74e6d721f77..4a374947dc44 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/ranges.find_first_of.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/ranges.find_first_of.pass.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp index 9da8c26db0f5..dde7bd923e8f 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp @@ -31,6 +31,7 @@ #include "almost_satisfies_types.h" #include "test_iterators.h" +#include "type_algorithms.h" struct NotEqualityComparable {}; diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find.pass.cpp index e9fd8c17b40c..a347778092d2 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find.pass.cpp @@ -28,7 +28,9 @@ #include #include #include +#include #include +#include #include #include diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp index 7fb168a06135..8af4c2e0f218 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp @@ -12,8 +12,9 @@ // constexpr InputIterator find_if(InputIterator first, InputIterator last, Predicate pred); // constexpr since C++20 #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp index 4b5d3540512d..a083cb56df6e 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find.pass.cpp index 8a9eee81d95c..9d43b1aa22ce 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find.pass.cpp @@ -23,6 +23,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(find); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find_if.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find_if.pass.cpp index 49eef2a7bc55..e12acf1d2837 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find_if.pass.cpp @@ -23,6 +23,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(find_if); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find_if_not.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find_if_not.pass.cpp index e5a242c57a2c..c67490dc402f 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find_if_not.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.find_if_not.pass.cpp @@ -23,6 +23,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(find_if_not); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find.pass.cpp index 3303b4a76f46..08a3a4658fa6 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find.pass.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -36,6 +37,7 @@ #include "almost_satisfies_types.h" #include "sized_allocator.h" #include "test_iterators.h" +#include "type_algorithms.h" struct NotEqualityComparable {}; diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/requirements.compile.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/requirements.compile.pass.cpp index 261dd6e572e5..8673a09394b9 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/requirements.compile.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/requirements.compile.pass.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each.pass.cpp index 3c0ff75fc56c..6506e4c5b317 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each.pass.cpp @@ -20,6 +20,7 @@ #include "test_macros.h" #include "test_iterators.h" +#include "type_algorithms.h" struct for_each_test { TEST_CONSTEXPR for_each_test(int c) : count(c) {} diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each.pass.cpp index b0e77094f0a4..97b022030972 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each.pass.cpp @@ -25,6 +25,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include EXECUTION_POLICY_SFINAE_TEST(for_each); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp index c00eed1ead56..8769d1b4db55 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp @@ -24,6 +24,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(for_each_n); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ranges.for_each.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ranges.for_each.pass.cpp index a6d0afde3186..86c5a8a39736 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ranges.for_each.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ranges.for_each.pass.cpp @@ -27,6 +27,7 @@ #include "almost_satisfies_types.h" #include "test_iterators.h" +#include "test_macros.h" struct Callable { void operator()(int); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ranges.for_each_n.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ranges.for_each_n.pass.cpp index 157876369423..a82fb6afaad0 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ranges.for_each_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ranges.for_each_n.pass.cpp @@ -26,6 +26,7 @@ #include "almost_satisfies_types.h" #include "test_iterators.h" +#include "test_macros.h" struct Callable { void operator()(int); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation.pass.cpp index 2a2c796caac0..2863219e60ea 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation_pred.pass.cpp index 4e4f889a45e7..d2a3ec6287a2 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation_pred.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ranges.is_permutation.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ranges.is_permutation.pass.cpp index 2d560b165758..e04c78e516c0 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ranges.is_permutation.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ranges.is_permutation.pass.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/none_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/none_of.pass.cpp index 00c1b8954ad3..8d63ecb6c17a 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/none_of.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/none_of.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp index fb3e34a2bdec..b20b99c1e836 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp @@ -23,6 +23,7 @@ #include "test_macros.h" #include "test_execution_policies.h" #include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(none_of); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search.pass.cpp index 8a706071f513..9ab7abdd9548 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search.pass.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include "almost_satisfies_types.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search_n.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search_n.pass.cpp index f68c31ead7b8..6686e8de733b 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search_n.pass.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include "almost_satisfies_types.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp index 3bf2fd9d6bb0..2e1aa06167e8 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp @@ -19,6 +19,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp index 2fa3e9ffac1b..21683da150f4 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_pred.pass.cpp index cfb82f3d4084..2251a89a8f51 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_pred.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_pred.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.starts_with/ranges.starts_with.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.starts_with/ranges.starts_with.pass.cpp index 172fa82fccc2..5346773fe06f 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.starts_with/ranges.starts_with.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.starts_with/ranges.starts_with.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include "almost_satisfies_types.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/ranges_equal_range.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/ranges_equal_range.pass.cpp index 518526705409..cc4c922d32dd 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/ranges_equal_range.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/ranges_equal_range.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp index 8ccff2ebb531..cbef8544e153 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp index b07a3c8f24f6..63b1ba343f1f 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp index 9708db7ce5fd..78465465e5eb 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp index 1cec5440f006..15e481807eb6 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp @@ -14,8 +14,9 @@ // is_heap_until(Iter first, Iter last, Compare comp); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ranges_is_heap.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ranges_is_heap.pass.cpp index fc207c9fc752..38a89e83f5f3 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ranges_is_heap.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ranges_is_heap.pass.cpp @@ -20,6 +20,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ranges_is_heap_until.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ranges_is_heap_until.pass.cpp index f1dc6adbeaae..5fd119a21a98 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ranges_is_heap_until.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ranges_is_heap_until.pass.cpp @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/ranges_make_heap.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/ranges_make_heap.pass.cpp index f69351209e4f..2c96c1987a12 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/ranges_make_heap.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/ranges_make_heap.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/ranges_pop_heap.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/ranges_pop_heap.pass.cpp index 9efe2513271e..b0a00335ab44 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/ranges_pop_heap.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/ranges_pop_heap.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/ranges_push_heap.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/ranges_push_heap.pass.cpp index 571da879ed3f..7161e6138487 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/ranges_push_heap.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/ranges_push_heap.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/ranges_sort_heap.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/ranges_sort_heap.pass.cpp index e62410e3a948..e7d346a627d6 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/ranges_sort_heap.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/ranges_sort_heap.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include @@ -32,6 +33,7 @@ #include "almost_satisfies_types.h" #include "test_iterators.h" +#include "test_macros.h" // SFINAE tests. diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp index 2cf675476026..644b4225976c 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp @@ -16,9 +16,11 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" +#include "type_algorithms.h" template struct Test { diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare_comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare_comp.pass.cpp index a78efaf58d7c..c5f32cdbadff 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare_comp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare_comp.pass.cpp @@ -16,8 +16,9 @@ // Iter2 first2, Iter2 last2, Compare comp); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.merge/ranges_inplace_merge.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.merge/ranges_inplace_merge.pass.cpp index 827e6c1d2086..d852ef1fce45 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.merge/ranges_inplace_merge.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.merge/ranges_inplace_merge.pass.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.merge/ranges_merge.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.merge/ranges_merge.pass.cpp index d68b0629e4c0..b34860267c76 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.merge/ranges_merge.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.merge/ranges_merge.pass.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include "almost_satisfies_types.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.max.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.max.pass.cpp index e9e5240cf8cd..fb8b0daa3ee4 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.max.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.max.pass.cpp @@ -33,6 +33,7 @@ #include "almost_satisfies_types.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" template concept HasMaxR = requires { std::ranges::max(std::declval()); }; diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.min.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.min.pass.cpp index 3d92964c90da..966a48d6fc2d 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.min.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.min.pass.cpp @@ -31,6 +31,7 @@ #include "almost_satisfies_types.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" template concept HasMinR = requires { std::ranges::min(std::declval()); }; diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.min.max/requires_forward_iterator.verify.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.min.max/requires_forward_iterator.verify.cpp index 4fabc2cdfe10..3cc2a2cb1e71 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.min.max/requires_forward_iterator.verify.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.min.max/requires_forward_iterator.verify.cpp @@ -13,6 +13,7 @@ #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.nth.element/ranges_nth_element.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.nth.element/ranges_nth_element.pass.cpp index f497dbd83047..61bbe6359b77 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.nth.element/ranges_nth_element.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.nth.element/ranges_nth_element.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/includes/ranges_includes.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/includes/ranges_includes.pass.cpp index 47f6779227f8..e59101174702 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/includes/ranges_includes.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/includes/ranges_includes.pass.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/ranges_set_difference.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/ranges_set_difference.pass.cpp index df55f63b73be..0a61199e9dca 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/ranges_set_difference.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/ranges_set_difference.pass.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include "almost_satisfies_types.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/ranges_set_intersection.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/ranges_set_intersection.pass.cpp index f7870485cfef..e047588baea3 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/ranges_set_intersection.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/ranges_set_intersection.pass.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_complexity.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_complexity.pass.cpp index ddf4087ddd6c..92df0e865863 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_complexity.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_complexity.pass.cpp @@ -38,6 +38,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/ranges_set_symmetric_difference.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/ranges_set_symmetric_difference.pass.cpp index ca830a09e3a0..163b3913a4f6 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/ranges_set_symmetric_difference.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/ranges_set_symmetric_difference.pass.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include "almost_satisfies_types.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.union/ranges_set_union.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.union/ranges_set_union.pass.cpp index b018763a8bf7..a53cb3ec3ed1 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.union/ranges_set_union.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.union/ranges_set_union.pass.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted.pass.cpp index 67d7a9eae4ce..28e0786f0c56 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_comp.pass.cpp index 103bcf84ed6b..4d26d51d7d13 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_comp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_comp.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_until.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_until.pass.cpp index 229ce5821014..c0bddc7df9fd 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_until.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_until.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_until_comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_until_comp.pass.cpp index 617cd7aacbfd..f66656439b52 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_until_comp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/is_sorted_until_comp.pass.cpp @@ -14,8 +14,9 @@ // is_sorted_until(Iter first, Iter last, Compare comp); #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/pstl.is_sorted.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/pstl.is_sorted.pass.cpp index 5b1e5ce60c25..5095266de276 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/pstl.is_sorted.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/pstl.is_sorted.pass.cpp @@ -23,6 +23,7 @@ #include "test_execution_policies.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" template struct Test { diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/pstl.is_sorted_comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/pstl.is_sorted_comp.pass.cpp index 8a6c24ca22af..56e4c694bae3 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/pstl.is_sorted_comp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/pstl.is_sorted_comp.pass.cpp @@ -24,6 +24,7 @@ #include "test_execution_policies.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" template struct Test { diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort.copy/ranges_partial_sort_copy.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort.copy/ranges_partial_sort_copy.pass.cpp index 36ec7892faa2..e5398dc3d161 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort.copy/ranges_partial_sort_copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort.copy/ranges_partial_sort_copy.pass.cpp @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort/ranges_partial_sort.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort/ranges_partial_sort.pass.cpp index f348c6e93e19..2c62a2bbaeb3 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort/ranges_partial_sort.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort/ranges_partial_sort.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/pstl.sort.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/pstl.sort.pass.cpp index 0724e746eab4..61fca0ef9dbc 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/pstl.sort.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/pstl.sort.pass.cpp @@ -29,6 +29,7 @@ #include "test_execution_policies.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" template struct Test { diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/ranges.sort.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/ranges.sort.pass.cpp index d7bf6dd75f90..f9759bd88777 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/ranges.sort.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/ranges.sort.pass.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/pstl.stable_sort.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/pstl.stable_sort.pass.cpp index e1a64f5185b5..3a9e624c8e40 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/pstl.stable_sort.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/pstl.stable_sort.pass.cpp @@ -25,12 +25,14 @@ #include #include #include +#include #include -#include "test_macros.h" -#include "test_execution_policies.h" -#include "test_iterators.h" #include "MoveOnly.h" +#include "test_execution_policies.h" +#include "test_macros.h" +#include "test_iterators.h" +#include "type_algorithms.h" EXECUTION_POLICY_SFINAE_TEST(stable_sort); diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/ranges.stable.sort.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/ranges.stable.sort.pass.cpp index 10e0874b3bc8..b96e1e843641 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/ranges.stable.sort.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/ranges.stable.sort.pass.cpp @@ -23,12 +23,14 @@ #include #include +#include #include #include #include #include "almost_satisfies_types.h" #include "test_iterators.h" +#include "test_macros.h" // SFINAE tests. diff --git a/libcxx/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp b/libcxx/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp index 01f14d79823f..50f8fda2a676 100644 --- a/libcxx/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp +++ b/libcxx/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/containers/associative/multiset/multiset.cons/iter_iter_comp.pass.cpp b/libcxx/test/std/containers/associative/multiset/multiset.cons/iter_iter_comp.pass.cpp index a7ce69733594..bed8d02f3e68 100644 --- a/libcxx/test/std/containers/associative/multiset/multiset.cons/iter_iter_comp.pass.cpp +++ b/libcxx/test/std/containers/associative/multiset/multiset.cons/iter_iter_comp.pass.cpp @@ -13,8 +13,9 @@ // template // multiset(InputIterator first, InputIterator last, const value_compare& comp); -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp b/libcxx/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp index dac553073f17..6a3146fcd2b0 100644 --- a/libcxx/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp +++ b/libcxx/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp @@ -20,6 +20,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/containers/associative/set/set.cons/iter_iter_comp.pass.cpp b/libcxx/test/std/containers/associative/set/set.cons/iter_iter_comp.pass.cpp index 573bbd316e07..e1763b87ff56 100644 --- a/libcxx/test/std/containers/associative/set/set.cons/iter_iter_comp.pass.cpp +++ b/libcxx/test/std/containers/associative/set/set.cons/iter_iter_comp.pass.cpp @@ -13,8 +13,9 @@ // template // set(InputIterator first, InputIterator last, const value_compare& comp); -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp b/libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp index f2ac013987eb..51da5d2d2ca4 100644 --- a/libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp +++ b/libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp index b43517da66f2..4e5fcd4d6757 100644 --- a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp @@ -27,6 +27,7 @@ #include #include #include +#include // On Windows, charset conversions cause allocations in the path class in // cases where no allocations are done on other platforms. diff --git a/libcxx/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp b/libcxx/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp index d92a44f2dbe1..dcf222267463 100644 --- a/libcxx/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp +++ b/libcxx/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp b/libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp index f649083b900e..e56176ca730b 100644 --- a/libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/iterator_sentinel.pass.cpp b/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/iterator_sentinel.pass.cpp index 1b7848963a73..c34d59e405a9 100644 --- a/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/iterator_sentinel.pass.cpp +++ b/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/iterator_sentinel.pass.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/lwg3664.pass.cpp b/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/lwg3664.pass.cpp index e2258e93966d..164101c2bf5a 100644 --- a/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/lwg3664.pass.cpp +++ b/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/lwg3664.pass.cpp @@ -15,8 +15,10 @@ // template> S> // constexpr iter_difference_t ranges::distance(const I& first, S last); -#include #include +#include +#include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator.pass.cpp b/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator.pass.cpp index a29f7c955523..ec3eff2db512 100644 --- a/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator.pass.cpp +++ b/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/iterator.pass.cpp @@ -12,6 +12,7 @@ #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp index 7ab92660fb06..c1c48d537c31 100644 --- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp index 7ab3a75f17ba..b367423db7b5 100644 --- a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp index 2df15cbd3142..a500757b50a2 100644 --- a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp index 0c72c70a72d2..e976e468e6f6 100644 --- a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp @@ -11,6 +11,7 @@ // template // concept input_iterator; +#include #include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp index b8df4fb5f1d4..62469ea6f21e 100644 --- a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp @@ -11,6 +11,7 @@ // template // concept input_or_output_iterator; +#include #include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp index e42fd8b0e4e0..de3912ea06f8 100644 --- a/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp @@ -11,6 +11,7 @@ // template // concept random_access_iterator; +#include #include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp index e6507f7e7767..65a8cf281b8e 100644 --- a/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp @@ -15,6 +15,8 @@ #include #include +#include +#include #include "../unqualified_lookup_wrapper.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/arrow.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/arrow.pass.cpp index 208d6932d86d..9d7b4419fba7 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/arrow.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/arrow.pass.cpp @@ -11,6 +11,7 @@ // constexpr auto operator->() const noexcept // requires contiguous_iterator; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/assign.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/assign.pass.cpp index cf7460911357..df21d8016c1d 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/assign.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/assign.pass.cpp @@ -12,7 +12,9 @@ // requires assignable_from // constexpr counted_iterator& operator=(const counted_iterator& x); +#include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/base.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/base.pass.cpp index 8d3e9f3d4f47..dfb922cd9bb8 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/base.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/base.pass.cpp @@ -11,7 +11,9 @@ // constexpr const I& base() const &; // constexpr I base() &&; +#include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/compare.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/compare.pass.cpp index eb0c5d8864a7..eb349557d76c 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/compare.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/compare.pass.cpp @@ -14,7 +14,9 @@ // friend constexpr bool operator==( // const counted_iterator& x, default_sentinel_t); +#include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/count.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/count.pass.cpp index 6e161fb224db..3012439ed90a 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/count.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/count.pass.cpp @@ -10,6 +10,7 @@ // constexpr iter_difference_t count() const noexcept; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.conv.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.conv.pass.cpp index 8e1a3f677082..b6dcaf8451e9 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.conv.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.conv.pass.cpp @@ -12,7 +12,9 @@ // requires convertible_to // constexpr counted_iterator(const counted_iterator& x); +#include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.default.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.default.pass.cpp index 60596ad43c60..edde9b2da9ff 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.default.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.default.pass.cpp @@ -10,6 +10,7 @@ // constexpr counted_iterator() requires default_initializable = default; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp index 00b6fb655c9c..b29db9b146a1 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp @@ -14,6 +14,7 @@ // requires convertible_to // constexpr counted_iterator(const counted_iterator& x); +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/decrement.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/decrement.pass.cpp index 7b3c526b1280..b833baed065d 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/decrement.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/decrement.pass.cpp @@ -13,6 +13,7 @@ // constexpr counted_iterator operator--(int) // requires bidirectional_iterator; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/deref.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/deref.pass.cpp index ea7083f17cf8..3204b99a526b 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/deref.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/deref.pass.cpp @@ -12,6 +12,7 @@ // constexpr decltype(auto) operator*() const // requires dereferenceable; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/increment.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/increment.pass.cpp index 2fea2561ebf7..9b880871b357 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/increment.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/increment.pass.cpp @@ -13,6 +13,7 @@ // constexpr counted_iterator operator++(int) // requires forward_iterator; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/iter_move.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/iter_move.pass.cpp index 1494a9d64998..8e7f77f69689 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/iter_move.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/iter_move.pass.cpp @@ -13,7 +13,9 @@ // noexcept(noexcept(ranges::iter_move(i.current))) // requires input_iterator; +#include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/iter_swap.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/iter_swap.pass.cpp index d3057e653ef8..8de4c406165d 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/iter_swap.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/iter_swap.pass.cpp @@ -13,7 +13,9 @@ // iter_swap(const counted_iterator& x, const counted_iterator& y) // noexcept(noexcept(ranges::iter_swap(x.current, y.current))); +#include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/iterator_traits.compile.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/iterator_traits.compile.pass.cpp index 8675c532f82b..9d3c70814e03 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/iterator_traits.compile.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/iterator_traits.compile.pass.cpp @@ -15,6 +15,7 @@ // add_pointer_t>, void>; // }; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/member_types.compile.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/member_types.compile.pass.cpp index 569b57c6bffc..39d89334a636 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/member_types.compile.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/member_types.compile.pass.cpp @@ -10,6 +10,7 @@ // iterator_type, value_type, difference_type, iterator_concept, iterator_category +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.default_sentinel.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.default_sentinel.pass.cpp index 7eb4ff402e47..d972c6feb187 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.default_sentinel.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.default_sentinel.pass.cpp @@ -13,6 +13,7 @@ // friend constexpr iter_difference_t operator-( // default_sentinel_t, const counted_iterator& y); +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.eq.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.eq.pass.cpp index 854c36a8c35b..912025a1d857 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.eq.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.eq.pass.cpp @@ -11,6 +11,7 @@ // constexpr counted_iterator& operator-=(iter_difference_t n) // requires random_access_iterator; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.iter.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.iter.pass.cpp index f2767a960ffb..af24c3962807 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.iter.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.iter.pass.cpp @@ -12,6 +12,7 @@ // friend constexpr iter_difference_t operator-( // const counted_iterator& x, const counted_iterator& y); +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.size.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.size.pass.cpp index e6fa733eb0e0..d755b5c6cf97 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.size.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/minus.size.pass.cpp @@ -11,6 +11,7 @@ // constexpr counted_iterator operator-(iter_difference_t n) const // requires random_access_iterator; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/plus.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/plus.pass.cpp index a397a8717b89..277b0bff97cf 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/plus.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/plus.pass.cpp @@ -16,7 +16,9 @@ // constexpr counted_iterator& operator+=(iter_difference_t n) // requires random_access_iterator; +#include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/subscript.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/subscript.pass.cpp index 7e1c320c0ca7..0b28a6d7a32b 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/subscript.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/subscript.pass.cpp @@ -11,6 +11,7 @@ // constexpr decltype(auto) operator[](iter_difference_t n) const // requires random_access_iterator; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/three_way_compare.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/three_way_compare.pass.cpp index 38df872fd165..e97dd7156bb3 100644 --- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/three_way_compare.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/three_way_compare.pass.cpp @@ -12,6 +12,7 @@ // friend constexpr strong_ordering operator<=>( // const counted_iterator& x, const counted_iterator& y); +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.default.pass.cpp b/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.default.pass.cpp index b7b02be51f6d..fce22c18feec 100644 --- a/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.default.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.default.pass.cpp @@ -10,8 +10,9 @@ // constexpr common_iterator() requires default_initializable = default; -#include #include +#include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.iter.pass.cpp b/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.iter.pass.cpp index 57d89e3c2e1b..3ad6e5149453 100644 --- a/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.iter.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.iter.pass.cpp @@ -12,6 +12,7 @@ #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.sentinel.pass.cpp b/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.sentinel.pass.cpp index 6e1c2130c9c9..cc678642d81c 100644 --- a/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.sentinel.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/iterators.common/ctor.sentinel.pass.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/iterators.common/types.h b/libcxx/test/std/iterators/predef.iterators/iterators.common/types.h index c51b70520fda..f5717f3eb3df 100644 --- a/libcxx/test/std/iterators/predef.iterators/iterators.common/types.h +++ b/libcxx/test/std/iterators/predef.iterators/iterators.common/types.h @@ -9,6 +9,8 @@ #ifndef TEST_STD_RANGES_ITERATORS_PREDEF_ITERATORS_ITERATORS_COMMON_TYPES_H #define TEST_STD_RANGES_ITERATORS_PREDEF_ITERATORS_ITERATORS_COMMON_TYPES_H +#include + #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_move.pass.cpp b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_move.pass.cpp index e0f63ac59436..d7d1d660359a 100644 --- a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_move.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_move.pass.cpp @@ -17,8 +17,10 @@ #include #include +#include #include #include + #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_swap.pass.cpp b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_swap.pass.cpp index aa0815390391..f7e82c871845 100644 --- a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_swap.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_swap.pass.cpp @@ -18,8 +18,10 @@ #include #include +#include #include #include + #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp index f7830f73e524..3955ebd9d2ac 100644 --- a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/base.pass.cpp b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/base.pass.cpp index 6e348b59be16..414410788916 100644 --- a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/base.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/base.pass.cpp @@ -12,9 +12,12 @@ // constexpr const Iterator& base() const & noexcept; // From C++20 // constexpr Iterator base() &&; // From C++20 +#include +#include #include - +#include #include + #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp index 8b92eb25761b..8cb99be391d0 100644 --- a/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp @@ -24,6 +24,7 @@ // using reference = iter_rvalue_reference_t; // Until C++20, value_type&& // }; +#include #include #include #include diff --git a/libcxx/test/std/iterators/predef.iterators/move.iterators/sized_sentinel.compile.pass.cpp b/libcxx/test/std/iterators/predef.iterators/move.iterators/sized_sentinel.compile.pass.cpp index 998b13ed4945..d72b1e897720 100644 --- a/libcxx/test/std/iterators/predef.iterators/move.iterators/sized_sentinel.compile.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/move.iterators/sized_sentinel.compile.pass.cpp @@ -8,6 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17 +#include #include #include "test_iterators.h" diff --git a/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_move.pass.cpp b/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_move.pass.cpp index 5e35f5c8facc..d6e9a4abef8c 100644 --- a/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_move.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_move.pass.cpp @@ -18,8 +18,10 @@ #include #include +#include #include #include + #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_swap.pass.cpp b/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_swap.pass.cpp index 7b6fb43b0001..d420d0f53b5e 100644 --- a/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_swap.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_swap.pass.cpp @@ -20,8 +20,10 @@ #include #include +#include #include #include + #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp index 57607e6d6a52..00c766e2e2d5 100644 --- a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp +++ b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp @@ -19,6 +19,7 @@ #include #include "test_iterators.h" +#include "test_macros.h" typedef std::num_put > F; diff --git a/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_neg_one.pass.cpp b/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_neg_one.pass.cpp index 5eb7c92daec2..941148189fbe 100644 --- a/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_neg_one.pass.cpp +++ b/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_neg_one.pass.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.iota/ranges.iota.pass.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.iota/ranges.iota.pass.cpp index 9fa50f1326f1..53f9c0815b26 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.iota/ranges.iota.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.iota/ranges.iota.pass.cpp @@ -19,6 +19,7 @@ #include "almost_satisfies_types.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" // // Testing constraints diff --git a/libcxx/test/std/numerics/numeric.ops/reduce/pstl.reduce.pass.cpp b/libcxx/test/std/numerics/numeric.ops/reduce/pstl.reduce.pass.cpp index f5748d7c823b..bf37bbef447e 100644 --- a/libcxx/test/std/numerics/numeric.ops/reduce/pstl.reduce.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/reduce/pstl.reduce.pass.cpp @@ -21,6 +21,8 @@ // ForwardIterator first, ForwardIterator last, T init, // BinaryOperation binary_op); +#include +#include #include #include @@ -28,6 +30,7 @@ #include "test_execution_policies.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" template struct Test { diff --git a/libcxx/test/std/numerics/numeric.ops/reduce/reduce.pass.cpp b/libcxx/test/std/numerics/numeric.ops/reduce/reduce.pass.cpp index 53a595e0bed3..a4496f9c88a5 100644 --- a/libcxx/test/std/numerics/numeric.ops/reduce/reduce.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/reduce/reduce.pass.cpp @@ -17,6 +17,8 @@ #include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init.pass.cpp b/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init.pass.cpp index 59590b1a1fa6..17491a9d9de1 100644 --- a/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init.pass.cpp @@ -14,8 +14,9 @@ // template // T reduce(InputIterator first, InputIterator last, T init); -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp b/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp index 347d3755a07c..2c8346bf38a6 100644 --- a/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp @@ -17,6 +17,8 @@ #include #include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.binary.pass.cpp b/libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.binary.pass.cpp index 6d8bb47ac7dc..0c84a6149cad 100644 --- a/libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.binary.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.binary.pass.cpp @@ -29,6 +29,7 @@ // BinaryOperation1 binary_op1, // BinaryOperation2 binary_op2); +#include #include #include diff --git a/libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.unary.pass.cpp b/libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.unary.pass.cpp index 4cea3d405aa0..3bf8a7138fd6 100644 --- a/libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.unary.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.unary.pass.cpp @@ -19,6 +19,7 @@ // ForwardIterator first, ForwardIterator last, // T init, BinaryOperation binary_op, UnaryOperation unary_op); +#include #include #include #include @@ -26,7 +27,7 @@ #include "MoveOnly.h" #include "test_execution_policies.h" #include "test_iterators.h" -#include "test_macros.h" +#include "type_algorithms.h" template struct Test { diff --git a/libcxx/test/std/ranges/range.access/size.pass.cpp b/libcxx/test/std/ranges/range.access/size.pass.cpp index ee44aa815ba9..0524c784530e 100644 --- a/libcxx/test/std/ranges/range.access/size.pass.cpp +++ b/libcxx/test/std/ranges/range.access/size.pass.cpp @@ -13,6 +13,8 @@ #include #include +#include + #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.access/ssize.pass.cpp b/libcxx/test/std/ranges/range.access/ssize.pass.cpp index ac2c5b7b6b76..9fe281b27586 100644 --- a/libcxx/test/std/ranges/range.access/ssize.pass.cpp +++ b/libcxx/test/std/ranges/range.access/ssize.pass.cpp @@ -13,6 +13,8 @@ #include #include +#include + #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adaptor.object/range_adaptor_closure.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adaptor.object/range_adaptor_closure.pass.cpp index 9d1eb1243458..6fec182d3b5a 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adaptor.object/range_adaptor_closure.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adaptor.object/range_adaptor_closure.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include #include "test_range.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/iterator/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/iterator/ctor.other.pass.cpp index 36c2456e459d..3c09ae8b3cde 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/iterator/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/iterator/ctor.other.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "../helpers.h" #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/iterator/member_types.compile.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/iterator/member_types.compile.pass.cpp index f8f20919fbf4..684569516d74 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/iterator/member_types.compile.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/iterator/member_types.compile.pass.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/ctor.other.pass.cpp index d06534ea52d5..eda06c00ecba 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/ctor.other.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include "../helpers.h" #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/eq.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/eq.pass.cpp index d7510a099c80..c7379be794b1 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/eq.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/eq.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "../helpers.h" #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/minus.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/minus.pass.cpp index bed863a65d47..6dc7a4a72e91 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/minus.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/sentinel/minus.pass.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include "../helpers.h" #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/size.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/size.pass.cpp index 12cdf52d711b..a12f6e0914f9 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/size.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent.transform/size.pass.cpp @@ -12,6 +12,7 @@ // constexpr auto size() const requires sized_range #include +#include #include "test_macros.h" #include "helpers.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/adaptor.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/adaptor.pass.cpp index 5fd4e803955a..8e72871649d5 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/adaptor.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/adaptor.pass.cpp @@ -10,6 +10,7 @@ // Test std::views::adjacent +#include #include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/ctor.views.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/ctor.views.pass.cpp index 6add56fe7a2d..62e179515fa6 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/ctor.views.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/ctor.views.pass.cpp @@ -10,6 +10,7 @@ // constexpr explicit adjacent_view(View) +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/arithmetic.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/arithmetic.pass.cpp index 671a5c3fec4d..880c06d61443 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/arithmetic.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/arithmetic.pass.cpp @@ -21,6 +21,7 @@ // friend constexpr difference_type operator-(const iterator& x, const iterator& y) // requires sized_sentinel_for, iterator_t>; +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/compare.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/compare.pass.cpp index 8461d7fa4a53..ceea9e3cf5ab 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/compare.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/compare.pass.cpp @@ -21,6 +21,7 @@ // requires random_access_range && // three_way_comparable>; +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/ctor.default.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/ctor.default.pass.cpp index 8cb005a9d3f8..48aa71751ef9 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/ctor.default.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/ctor.default.pass.cpp @@ -10,6 +10,7 @@ // iterator() = default; +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/ctor.other.pass.cpp index db70e1affe3e..510c3ce5c7b7 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/ctor.other.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/member_types.compile.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/member_types.compile.pass.cpp index b24c730e1197..f333d0200365 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/member_types.compile.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/member_types.compile.pass.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/singular.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/singular.pass.cpp index c1cc9498d39e..7db80b412d58 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/singular.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/singular.pass.cpp @@ -12,6 +12,7 @@ // [range.adjacent.iterator#2] If the invocation of any non-const member function of `iterator` exits via an // exception, the iterator acquires a singular value. +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/ctor.other.pass.cpp index 7a3ebbd94ca9..de411975b3e4 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/ctor.other.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/eq.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/eq.pass.cpp index a79107c69fb4..fad9e20e3bfa 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/eq.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/eq.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "../../range_adaptor_types.h" #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/minus.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/minus.pass.cpp index 9f3fada6013c..2b21ebc6605d 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/minus.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/minus.pass.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.adjacent/size.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.adjacent/size.pass.cpp index 79b20e56f53f..44beb1261801 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.adjacent/size.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.adjacent/size.pass.cpp @@ -11,7 +11,9 @@ // constexpr auto size() requires sized_range // constexpr auto size() const requires sized_range +#include #include +#include #include "test_macros.h" #include "../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.all/all_t.compile.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.all/all_t.compile.pass.cpp index 703467611b97..64f097a2cc7b 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.all/all_t.compile.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.all/all_t.compile.pass.cpp @@ -14,6 +14,7 @@ #include #include "test_iterators.h" +#include "test_macros.h" struct View : std::ranges::view_base { int *begin() const; diff --git a/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/begin_end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/begin_end.pass.cpp index 2dddd84d8796..90b471b7732f 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/begin_end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/begin_end.pass.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/data.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/data.pass.cpp index 568371dd5c7d..0b6547177eab 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/data.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/data.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/empty.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/empty.pass.cpp index 349233f037b7..42418c7d2c2c 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/empty.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/empty.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/size.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/size.pass.cpp index 20f3eaae31c3..eab261175cf7 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/size.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/size.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.as.rvalue/begin.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.as.rvalue/begin.pass.cpp index db846b25b955..7bf0aedea383 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.as.rvalue/begin.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.as.rvalue/begin.pass.cpp @@ -17,6 +17,7 @@ #include #include "test_iterators.h" +#include "type_algorithms.h" struct SimpleView : std::ranges::view_base { int* begin() const; diff --git a/libcxx/test/std/ranges/range.adaptors/range.as.rvalue/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.as.rvalue/end.pass.cpp index 529a609a3bbe..877d51563846 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.as.rvalue/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.as.rvalue/end.pass.cpp @@ -16,6 +16,7 @@ #include #include "test_iterators.h" +#include "type_algorithms.h" struct DefaultConstructibleView : std::ranges::view_base { int* begin() const; diff --git a/libcxx/test/std/ranges/range.adaptors/range.chunk.by/begin.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.chunk.by/begin.pass.cpp index d2d1d313cebe..2fa9218272fe 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.chunk.by/begin.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.chunk.by/begin.pass.cpp @@ -18,6 +18,7 @@ #include #include "test_iterators.h" +#include "test_macros.h" #include "types.h" struct Range : std::ranges::view_base { diff --git a/libcxx/test/std/ranges/range.adaptors/range.chunk.by/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.chunk.by/end.pass.cpp index 61ea0c747195..da46897a2986 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.chunk.by/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.chunk.by/end.pass.cpp @@ -19,6 +19,7 @@ #include #include "test_iterators.h" +#include "test_macros.h" struct NonCommonRange : std::ranges::view_base { using Iterator = forward_iterator; diff --git a/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/compare.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/compare.pass.cpp index 8757d63b6d9a..08ce289c2bc9 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/compare.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/compare.pass.cpp @@ -24,6 +24,7 @@ #include "../types.h" #include "test_iterators.h" #include "test_macros.h" +#include "type_algorithms.h" template > constexpr void test() { diff --git a/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/types.compile.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/types.compile.pass.cpp index 2093936ccf79..2631a44be9ff 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/types.compile.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/types.compile.pass.cpp @@ -22,6 +22,7 @@ #include "../types.h" #include "test_iterators.h" +#include "type_algorithms.h" struct TestValueTypeAndDifferenceType { template diff --git a/libcxx/test/std/ranges/range.adaptors/range.drop/base.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.drop/base.pass.cpp index eaf2e7d22130..5fcd1a78961f 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.drop/base.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.drop/base.pass.cpp @@ -11,6 +11,7 @@ // constexpr V base() const& requires copy_constructible { return base_; } // constexpr V base() && { return std::move(base_); } +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.drop/begin.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.drop/begin.pass.cpp index 7e01b5884728..e02f2b976afe 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.drop/begin.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.drop/begin.pass.cpp @@ -14,7 +14,9 @@ // constexpr auto begin() const // requires random_access_range && sized_range; +#include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.drop/ctor.default.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.drop/ctor.default.pass.cpp index ba6e2eb7582a..70414604a517 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.drop/ctor.default.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.drop/ctor.default.pass.cpp @@ -10,6 +10,7 @@ // drop_view() requires default_initializable = default; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.drop/ctor.view.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.drop/ctor.view.pass.cpp index 4f4257f9102c..aeb31ae2fec4 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.drop/ctor.view.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.drop/ctor.view.pass.cpp @@ -10,6 +10,7 @@ // constexpr drop_view(V base, range_difference_t count); // explicit since C++23 +#include #include #include "test_convertible.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.drop/dangling.cache.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.drop/dangling.cache.pass.cpp index caf64c231c34..f45e6e40d3e3 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.drop/dangling.cache.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.drop/dangling.cache.pass.cpp @@ -14,6 +14,7 @@ #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.drop/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.drop/end.pass.cpp index 62182ad98d45..3d835520c8aa 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.drop/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.drop/end.pass.cpp @@ -13,6 +13,7 @@ // constexpr auto end() const // requires range +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.drop/size.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.drop/size.pass.cpp index 8647bfa296a3..2914f9771dee 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.drop/size.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.drop/size.pass.cpp @@ -13,6 +13,7 @@ // constexpr auto size() const // requires sized_range +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/arithmetic.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/arithmetic.pass.cpp index 7a4ce83f1a9f..ce068c64387f 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/arithmetic.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/arithmetic.pass.cpp @@ -28,6 +28,7 @@ #include +#include #include #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/compare.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/compare.pass.cpp index 4dd52a80a0eb..83ecb6e24a7c 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/compare.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/compare.pass.cpp @@ -21,6 +21,7 @@ // friend constexpr auto operator<=>(const iterator& x, const iterator& y) // requires random_access_range && three_way_comparable>; +#include #include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/ctor.default.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/ctor.default.pass.cpp index 11da4843270b..902b3ac1ce43 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/ctor.default.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.elements/iterator/ctor.default.pass.cpp @@ -10,6 +10,7 @@ // iterator() requires default_initializable> = default; +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/equality.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/equality.pass.cpp index d8a3149398bf..fd6d87b50978 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/equality.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/equality.pass.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include "../types.h" #include "test_range.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/minus.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/minus.pass.cpp index 343bf8034630..6857eacf8def 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/minus.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/minus.pass.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.elements/types.h b/libcxx/test/std/ranges/range.adaptors/range.elements/types.h index 4c4084695ff3..5e2d727a9f77 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.elements/types.h +++ b/libcxx/test/std/ranges/range.adaptors/range.elements/types.h @@ -10,6 +10,7 @@ #define TEST_STD_RANGES_RANGE_ADAPTORS_RANGE_ELEMENTS_TYPES_H #include +#include #include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.filter/begin.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.filter/begin.pass.cpp index 478462795a4a..d06d58a6558d 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.filter/begin.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.filter/begin.pass.cpp @@ -13,7 +13,9 @@ #include #include + #include "test_iterators.h" +#include "test_macros.h" #include "types.h" struct Range : std::ranges::view_base { diff --git a/libcxx/test/std/ranges/range.adaptors/range.filter/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.filter/end.pass.cpp index 8c692fe60804..61a221e2dea9 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.filter/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.filter/end.pass.cpp @@ -15,7 +15,9 @@ #include #include #include + #include "test_iterators.h" +#include "test_macros.h" struct Range : std::ranges::view_base { using Iterator = forward_iterator; diff --git a/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.overview/adaptor.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.overview/adaptor.pass.cpp index da53bfaaa5a5..d247a94dbfc2 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.overview/adaptor.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.overview/adaptor.pass.cpp @@ -14,6 +14,7 @@ #include +#include #include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.view/begin.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.view/begin.pass.cpp index 22872c20773a..8f32d5e4e972 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.view/begin.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.view/begin.pass.cpp @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.view/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.view/end.pass.cpp index c6e973abffac..ffe0a28d637d 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.view/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.view/end.pass.cpp @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.join/begin.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join/begin.pass.cpp index 005d0d1d2d5c..48f3eb4ea9ca 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join/begin.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join/begin.pass.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include "types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.join/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join/end.pass.cpp index 516ba25a0e85..a4348832c14c 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join/end.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include "test_macros.h" #include "types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.join/range.join.iterator/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join/range.join.iterator/ctor.other.pass.cpp index e220b2cfeac8..617fc5640d1d 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join/range.join.iterator/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join/range.join.iterator/ctor.other.pass.cpp @@ -15,6 +15,7 @@ #include #include +#include #include "test_macros.h" #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.join/range.join.iterator/eq.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join/range.join.iterator/eq.pass.cpp index 5c831f33e67c..f02fa50fa486 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join/range.join.iterator/eq.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join/range.join.iterator/eq.pass.cpp @@ -14,6 +14,7 @@ #include #include +#include #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.join/range.join.sentinel/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join/range.join.sentinel/ctor.other.pass.cpp index 8e78c3732e20..3b67f4616498 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join/range.join.sentinel/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join/range.join.sentinel/ctor.other.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include "../types.h" #include "test_range.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.join/range.join.sentinel/eq.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.join/range.join.sentinel/eq.pass.cpp index 9d6cb7690262..e280cc766dd0 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.join/range.join.sentinel/eq.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.join/range.join.sentinel/eq.pass.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include "../types.h" #include "test_range.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/base.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/base.pass.cpp index 24ce2e9b4533..78e8c1f9db76 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/base.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/base.pass.cpp @@ -15,6 +15,7 @@ #include +#include #include #include #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/deref.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/deref.pass.cpp index dc967b673cf2..1b01c97df3a2 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/deref.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/deref.pass.cpp @@ -10,6 +10,7 @@ // constexpr decltype(auto) inner-iterator::operator*() const; +#include #include #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/equal.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/equal.pass.cpp index dbf3bfa126ae..369f79ae751c 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/equal.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/equal.pass.cpp @@ -15,6 +15,7 @@ #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer/equal.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer/equal.pass.cpp index 6cbc98a94645..566fad66ebdd 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer/equal.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer/equal.pass.cpp @@ -15,6 +15,7 @@ #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.split/types.h b/libcxx/test/std/ranges/range.adaptors/range.split/types.h index aa47faf0f468..0fd5af569d28 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.split/types.h +++ b/libcxx/test/std/ranges/range.adaptors/range.split/types.h @@ -9,6 +9,7 @@ #ifndef TEST_STD_RANGES_RANGE_ADAPTORS_RANGE_SPLIT_TYPES_H #define TEST_STD_RANGES_RANGE_ADAPTORS_RANGE_SPLIT_TYPES_H +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.take.while/sentinel/equality.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.take.while/sentinel/equality.pass.cpp index b00b3dd0bd05..473a09add7df 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.take.while/sentinel/equality.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.take.while/sentinel/equality.pass.cpp @@ -17,7 +17,9 @@ #include #include +#include #include +#include #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/base.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/base.pass.cpp index 15b2b5476e86..7947319408df 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/base.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/base.pass.cpp @@ -12,6 +12,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/ctor.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/ctor.pass.cpp index 8928371939c8..61d33760c71d 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/ctor.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.take/range.take.sentinel/ctor.pass.cpp @@ -13,8 +13,9 @@ // constexpr sentinel(sentinel s) // requires Const && convertible_to, sentinel_t>; -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/base.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/base.pass.cpp index 496f68f1769a..d3072d78fef7 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/base.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/base.pass.cpp @@ -11,6 +11,7 @@ // constexpr V base() const& requires copy_constructible // constexpr V base() && +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/begin.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/begin.pass.cpp index a3ddbf8914bf..5067c1d35770 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/begin.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/begin.pass.cpp @@ -13,6 +13,7 @@ // requires range && // regular_invocable>; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/end.pass.cpp index bfa9e6431c50..46fe20e998dc 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/end.pass.cpp @@ -17,7 +17,9 @@ // requires common_range && // regular_invocable>; +#include #include +#include #include "test_macros.h" #include "types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/arithmetic.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/arithmetic.pass.cpp index 3b2b738f4e10..f4093ee4d023 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/arithmetic.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/arithmetic.pass.cpp @@ -10,6 +10,7 @@ // transform_view::::operator{++,--,+=,-=} +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/base.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/base.pass.cpp index 02a93f424799..7ec33b8f93a7 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/base.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/base.pass.cpp @@ -10,6 +10,7 @@ // transform_view::::base +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/compare.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/compare.pass.cpp index 7077cf49a7c6..c4987081c00d 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/compare.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/compare.pass.cpp @@ -10,6 +10,7 @@ // transform_view::::operator{<,>,<=,>=,==,!=,<=>} +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/deref.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/deref.pass.cpp index 5d8bf51c6969..171f0d145f7a 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/deref.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/deref.pass.cpp @@ -10,6 +10,7 @@ // transform_view::::operator* +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/plus_minus.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/plus_minus.pass.cpp index 284fb41d4fe7..055d5b917263 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/plus_minus.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/plus_minus.pass.cpp @@ -10,6 +10,7 @@ // transform_view::::operator{+,-} +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/sentinel.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/sentinel.pass.cpp index a2da6acb796b..ce48e09d6eb8 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/sentinel.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/sentinel.pass.cpp @@ -10,6 +10,7 @@ // class transform_view::; +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/subscript.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/subscript.pass.cpp index 30c0b2ae8d8c..9fd3207b66d2 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/subscript.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/subscript.pass.cpp @@ -10,6 +10,7 @@ // transform_view::::operator[] +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.transform/size.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.transform/size.pass.cpp index 614686763ce9..46ee4e9190bb 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.transform/size.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.transform/size.pass.cpp @@ -11,6 +11,7 @@ // constexpr auto size() requires sized_range // constexpr auto size() const requires sized_range +#include #include #include "test_macros.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/begin.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/begin.pass.cpp index 9b326e1cd698..27d955a2039e 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/begin.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/begin.pass.cpp @@ -14,6 +14,7 @@ // regular_invocable...>; #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/ctor.default.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/ctor.default.pass.cpp index 751210f2a4f1..bd9aeefab7dc 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/ctor.default.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/ctor.default.pass.cpp @@ -11,6 +11,7 @@ // zip_transform_view() = default; #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/ctor.views.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/ctor.views.pass.cpp index 5f3b5a3ff6f9..e8668a1365f9 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/ctor.views.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/ctor.views.pass.cpp @@ -11,6 +11,7 @@ // constexpr explicit zip_transform_view(F, Views...) #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/end.pass.cpp index e6c7094e7d72..b12fbc9e74de 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/end.pass.cpp @@ -13,7 +13,9 @@ // requires range && // regular_invocable...>; +#include #include +#include #include "types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/arithmetic.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/arithmetic.pass.cpp index d697ae571cb7..1f478f1cee3d 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/arithmetic.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/arithmetic.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/compare.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/compare.pass.cpp index 2befb7e4cc58..5b216e26a99b 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/compare.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/compare.pass.cpp @@ -16,6 +16,7 @@ #include +#include #include #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/ctor.default.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/ctor.default.pass.cpp index 8f8369d6af5f..c13aefde4cba 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/ctor.default.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/ctor.default.pass.cpp @@ -10,6 +10,7 @@ // iterator() = default; +#include #include #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/ctor.other.pass.cpp index c643d83a2c66..fc1fb70e9179 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/iterator/ctor.other.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/ctor.other.pass.cpp index be7c3d15a910..c91a57cec691 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/ctor.other.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/eq.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/eq.pass.cpp index 9b20dacd1f69..f4750a14437a 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/eq.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/eq.pass.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include "../types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/minus.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/minus.pass.cpp index 48a0a6d206db..a5438da18ca9 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/minus.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/sentinel/minus.pass.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include "../types.h" #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/size.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/size.pass.cpp index 140bdc311d52..fac08c1f4ace 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/size.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/size.pass.cpp @@ -12,6 +12,7 @@ // constexpr auto size() const requires sized_range #include +#include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/ctor.views.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/ctor.views.pass.cpp index 513d26817e91..7013d675e423 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/ctor.views.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/ctor.views.pass.cpp @@ -10,6 +10,7 @@ // constexpr explicit zip_view(Views...) +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/end.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/end.pass.cpp index 7cf9f5f46272..4acef0b5a662 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/end.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/end.pass.cpp @@ -11,8 +11,10 @@ // constexpr auto end() requires(!(simple-view && ...)) // constexpr auto end() const requires(range&&...) +#include #include #include +#include #include "../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/arithmetic.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/arithmetic.pass.cpp index 444f3ed95b32..2beec58fdc89 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/arithmetic.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/arithmetic.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/compare.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/compare.pass.cpp index 5ad054c0c3b1..3408cf09a360 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/compare.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/compare.pass.cpp @@ -13,8 +13,9 @@ // friend constexpr auto operator<=>(const iterator& x, const iterator& y) // requires all-random-access; -#include +#include #include +#include #include "test_iterators.h" #include "test_range.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.default.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.default.pass.cpp index abced1629a4a..015376c4b603 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.default.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.default.pass.cpp @@ -10,6 +10,7 @@ // iterator() = default; +#include #include #include diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.other.pass.cpp index 6b8b55fbe68e..e6f124983a9d 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.other.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/deref.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/deref.pass.cpp index 61495fae0467..068f4846b72c 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/deref.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/deref.pass.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/member_types.compile.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/member_types.compile.pass.cpp index 852ea9ba069b..223719246a94 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/member_types.compile.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/member_types.compile.pass.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/singular.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/singular.pass.cpp index 5cd76e03bab4..7520c7518431 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/singular.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/singular.pass.cpp @@ -14,6 +14,7 @@ #include +#include #include #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ctor.other.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ctor.other.pass.cpp index c3f50b0aeabd..dc3ba740bfe3 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ctor.other.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ctor.other.pass.cpp @@ -12,6 +12,7 @@ #include #include +#include #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/eq.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/eq.pass.cpp index fa26d987b8dd..94cdfad53cb8 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/eq.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/eq.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "../../range_adaptor_types.h" #include "test_range.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/minus.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/minus.pass.cpp index 61f8935af3c4..db762dcf9ec8 100644 --- a/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/minus.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/minus.pass.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include "../../range_adaptor_types.h" diff --git a/libcxx/test/std/ranges/range.adaptors/range_adaptor_types.h b/libcxx/test/std/ranges/range.adaptors/range_adaptor_types.h index da5b94d75f46..0b654566e35b 100644 --- a/libcxx/test/std/ranges/range.adaptors/range_adaptor_types.h +++ b/libcxx/test/std/ranges/range.adaptors/range_adaptor_types.h @@ -9,6 +9,7 @@ #ifndef TEST_STD_RANGES_RANGE_ADAPTORS_RANGE_ADAPTOR_TYPES_H #define TEST_STD_RANGES_RANGE_ADAPTORS_RANGE_ADAPTOR_TYPES_H +#include #include #include diff --git a/libcxx/test/std/ranges/range.factories/range.iota.view/iterator/compare.pass.cpp b/libcxx/test/std/ranges/range.factories/range.iota.view/iterator/compare.pass.cpp index dba5ce24078c..bfeb7c231b81 100644 --- a/libcxx/test/std/ranges/range.factories/range.iota.view/iterator/compare.pass.cpp +++ b/libcxx/test/std/ranges/range.factories/range.iota.view/iterator/compare.pass.cpp @@ -10,6 +10,7 @@ // iota_view::::operator{<,>,<=,>=,==,!=,<=>} +#include #include #include diff --git a/libcxx/test/std/ranges/range.utility/range.elementsof/ctad.pass.cpp b/libcxx/test/std/ranges/range.utility/range.elementsof/ctad.pass.cpp index 532fe01306c5..a813f67d5d8f 100644 --- a/libcxx/test/std/ranges/range.utility/range.elementsof/ctad.pass.cpp +++ b/libcxx/test/std/ranges/range.utility/range.elementsof/ctad.pass.cpp @@ -25,6 +25,7 @@ #include "min_allocator.h" #include "test_allocator.h" #include "test_iterators.h" +#include "type_algorithms.h" template constexpr void test_impl() { diff --git a/libcxx/test/std/ranges/range.utility/range.elementsof/elements_of.pass.cpp b/libcxx/test/std/ranges/range.utility/range.elementsof/elements_of.pass.cpp index 77a9b84e01c2..f82a23079665 100644 --- a/libcxx/test/std/ranges/range.utility/range.elementsof/elements_of.pass.cpp +++ b/libcxx/test/std/ranges/range.utility/range.elementsof/elements_of.pass.cpp @@ -24,6 +24,7 @@ #include "min_allocator.h" #include "test_allocator.h" #include "test_iterators.h" +#include "type_algorithms.h" template struct Range { diff --git a/libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp b/libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp index 3f7c174d3fe4..bce13c38f2da 100644 --- a/libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp +++ b/libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp @@ -15,7 +15,9 @@ #include #include +#include #include + #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/strings/basic.string/string.cons/from_range_deduction.pass.cpp b/libcxx/test/std/strings/basic.string/string.cons/from_range_deduction.pass.cpp index 44aa0980972b..0ed62b345fa8 100644 --- a/libcxx/test/std/strings/basic.string/string.cons/from_range_deduction.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.cons/from_range_deduction.pass.cpp @@ -22,6 +22,7 @@ // is a type that does not qualify as an allocator (in addition to the `input_range` concept being satisfied by `R`). #include +#include #include #include "deduction_guides_sfinae_checks.h" diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp index 684661aeab8f..82f4f2de760c 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp @@ -13,6 +13,7 @@ #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp index c183def9ee75..b2306807fcf7 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp @@ -11,13 +11,14 @@ // template // basic_string& assign(InputIterator first, InputIterator last); // constexpr since C++20 -#include #include +#include +#include +#include "asan_testing.h" +#include "min_allocator.h" #include "test_macros.h" #include "test_iterators.h" -#include "min_allocator.h" -#include "asan_testing.h" template TEST_CONSTEXPR_CXX20 void test(S s, It first, It last, S expected) { diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp index 060216e7a82b..e228ccac2057 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp @@ -11,13 +11,14 @@ // template // iterator insert(const_iterator p, InputIterator first, InputIterator last); // constexpr since C++20 -#include #include +#include +#include -#include "test_macros.h" -#include "test_iterators.h" -#include "min_allocator.h" #include "asan_testing.h" +#include "min_allocator.h" +#include "test_iterators.h" +#include "test_macros.h" template TEST_CONSTEXPR_CXX20 void test(S s, typename S::difference_type pos, It first, It last, S expected) { diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp index c1ca532a5f91..ba91e0bd56f0 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include "test_macros.h" #include "min_allocator.h" diff --git a/libcxx/test/std/strings/string.view/string.view.cons/from_iterator_sentinel.pass.cpp b/libcxx/test/std/strings/string.view/string.view.cons/from_iterator_sentinel.pass.cpp index f6f407b7876f..4e6d97203b6b 100644 --- a/libcxx/test/std/strings/string.view/string.view.cons/from_iterator_sentinel.pass.cpp +++ b/libcxx/test/std/strings/string.view/string.view.cons/from_iterator_sentinel.pass.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include "make_string.h" #include "test_iterators.h" diff --git a/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp b/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp index b9209ac2c89b..6564e34fabd2 100644 --- a/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp b/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp index d616301767ed..d23e10b0baa5 100644 --- a/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/hash.pred.pass.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp b/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp index 396e2847928b..2f7854157e8d 100644 --- a/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/pred.pass.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp b/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp index 19f5710819c4..a0824b21c9e0 100644 --- a/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pass.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp b/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp index 3d29a05efd40..e1c961bcc4ce 100644 --- a/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/hash.pred.pass.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include "test_iterators.h" diff --git a/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp b/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp index 9f6dcbd2f242..7da2f904a1d3 100644 --- a/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp @@ -31,8 +31,9 @@ // }; #include -#include #include +#include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ranges_uninitialized_default_construct_n.pass.cpp b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ranges_uninitialized_default_construct_n.pass.cpp index 40fbf2269590..097547cc28d9 100644 --- a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ranges_uninitialized_default_construct_n.pass.cpp +++ b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ranges_uninitialized_default_construct_n.pass.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include "../buffer.h" #include "../counted.h" diff --git a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/uninitialized_default_construct_n.pass.cpp b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/uninitialized_default_construct_n.pass.cpp index 58ee06aaa819..95a664a1285b 100644 --- a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/uninitialized_default_construct_n.pass.cpp +++ b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/uninitialized_default_construct_n.pass.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "test_macros.h" #include "test_iterators.h" diff --git a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ranges_uninitialized_value_construct_n.pass.cpp b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ranges_uninitialized_value_construct_n.pass.cpp index 4742aefcdb5a..ac8f8f1173fd 100644 --- a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ranges_uninitialized_value_construct_n.pass.cpp +++ b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ranges_uninitialized_value_construct_n.pass.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include "../buffer.h" #include "../counted.h" diff --git a/libcxx/test/support/module.modulemap b/libcxx/test/support/module.modulemap index 75ae8c4221ae..0af147d75ee5 100644 --- a/libcxx/test/support/module.modulemap +++ b/libcxx/test/support/module.modulemap @@ -6,5 +6,6 @@ module test_config { module test { module double_move_tracker { header "double_move_tracker.h" } module test_allocator { header "test_allocator.h" } + module test_iterators { header "test_iterators.h" } module type_algorithms { header "type_algorithms.h" } } diff --git a/libcxx/test/support/test.support/test_proxy.pass.cpp b/libcxx/test/support/test.support/test_proxy.pass.cpp index 668caf175add..7c40fa4c2bb8 100644 --- a/libcxx/test/support/test.support/test_proxy.pass.cpp +++ b/libcxx/test/support/test.support/test_proxy.pass.cpp @@ -12,6 +12,8 @@ #include "test_iterators.h" #include +#include +#include constexpr void testProxy() { // constructor value diff --git a/libcxx/test/support/test_range.h b/libcxx/test/support/test_range.h index 4efa26f26647..315c443ab3c2 100644 --- a/libcxx/test/support/test_range.h +++ b/libcxx/test/support/test_range.h @@ -16,6 +16,7 @@ #include #include "test_iterators.h" +#include "test_macros.h" #if TEST_STD_VER < 17 # error "test/support/test_range.h" can only be included in builds supporting ranges