[libcxx-commits] [libcxx] [libc++][modules] Fix missing and incorrect includes (PR #108850)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 16 09:09:01 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Louis Dionne (ldionne)
<details>
<summary>Changes</summary>
This patch adds a large number of missing includes in the libc++ headers and the test suite. Those were found as part of the effort to move towards a mostly monolithic top-level std module.
---
Patch is 253.30 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/108850.diff
402 Files Affected:
- (modified) libcxx/include/__algorithm/copy.h (+2)
- (modified) libcxx/include/__algorithm/copy_backward.h (+2)
- (modified) libcxx/include/__algorithm/count.h (+2-1)
- (modified) libcxx/include/__algorithm/equal.h (+1-1)
- (modified) libcxx/include/__algorithm/equal_range.h (+1-1)
- (modified) libcxx/include/__algorithm/find.h (+3-1)
- (modified) libcxx/include/__algorithm/find_end.h (+1-1)
- (modified) libcxx/include/__algorithm/fold.h (+1)
- (modified) libcxx/include/__algorithm/includes.h (+1-1)
- (modified) libcxx/include/__algorithm/inplace_merge.h (+1)
- (modified) libcxx/include/__algorithm/is_permutation.h (+3-1)
- (modified) libcxx/include/__algorithm/lexicographical_compare.h (+1)
- (modified) libcxx/include/__algorithm/lower_bound.h (+1-1)
- (modified) libcxx/include/__algorithm/make_projected.h (+1)
- (modified) libcxx/include/__algorithm/min_element.h (+1-1)
- (modified) libcxx/include/__algorithm/minmax_element.h (+1-1)
- (modified) libcxx/include/__algorithm/mismatch.h (+2)
- (modified) libcxx/include/__algorithm/move.h (+2)
- (modified) libcxx/include/__algorithm/move_backward.h (+2)
- (modified) libcxx/include/__algorithm/partial_sort_copy.h (+1-1)
- (modified) libcxx/include/__algorithm/partition.h (+1)
- (modified) libcxx/include/__algorithm/ranges_ends_with.h (+1)
- (modified) libcxx/include/__algorithm/ranges_find_last.h (+1)
- (modified) libcxx/include/__algorithm/ranges_generate.h (+1-1)
- (modified) libcxx/include/__algorithm/ranges_generate_n.h (+1-1)
- (modified) libcxx/include/__algorithm/ranges_partition.h (+1)
- (modified) libcxx/include/__algorithm/search.h (+1-1)
- (modified) libcxx/include/__algorithm/search_n.h (+2-1)
- (modified) libcxx/include/__algorithm/set_difference.h (-1)
- (modified) libcxx/include/__algorithm/set_intersection.h (+1)
- (modified) libcxx/include/__algorithm/sort.h (+3)
- (modified) libcxx/include/__algorithm/stable_partition.h (+1)
- (modified) libcxx/include/__algorithm/uniform_random_bit_generator_adaptor.h (+1-1)
- (modified) libcxx/include/__algorithm/upper_bound.h (+1)
- (modified) libcxx/include/__atomic/atomic_ref.h (+1)
- (modified) libcxx/include/__chrono/day.h (+1-1)
- (modified) libcxx/include/__chrono/formatter.h (+1)
- (modified) libcxx/include/__chrono/month.h (+1-1)
- (modified) libcxx/include/__chrono/monthday.h (+1-1)
- (modified) libcxx/include/__chrono/ostream.h (+1)
- (modified) libcxx/include/__chrono/tzdb.h (+3)
- (modified) libcxx/include/__chrono/tzdb_list.h (+1)
- (modified) libcxx/include/__chrono/year.h (+1-1)
- (modified) libcxx/include/__chrono/year_month.h (+1-1)
- (modified) libcxx/include/__chrono/year_month_day.h (+1-1)
- (modified) libcxx/include/__chrono/zoned_time.h (+3-1)
- (modified) libcxx/include/__concepts/predicate.h (+1-1)
- (modified) libcxx/include/__expected/expected.h (+2)
- (modified) libcxx/include/__format/format_arg_store.h (+1)
- (modified) libcxx/include/__format/write_escaped.h (+1)
- (modified) libcxx/include/__functional/bind.h (+1-1)
- (modified) libcxx/include/__functional/hash.h (+1)
- (modified) libcxx/include/__functional/invoke.h (+1)
- (modified) libcxx/include/__functional/mem_fn.h (+1-1)
- (modified) libcxx/include/__functional/perfect_forward.h (+1)
- (modified) libcxx/include/__functional/reference_wrapper.h (+1-1)
- (modified) libcxx/include/__functional/weak_result_type.h (+1-1)
- (modified) libcxx/include/__hash_table (+2-1)
- (modified) libcxx/include/__iterator/common_iterator.h (+1)
- (modified) libcxx/include/__iterator/concepts.h (+1-1)
- (modified) libcxx/include/__iterator/counted_iterator.h (+1-1)
- (modified) libcxx/include/__iterator/ostreambuf_iterator.h (+4-1)
- (modified) libcxx/include/__memory/allocator_traits.h (+1)
- (modified) libcxx/include/__memory/inout_ptr.h (+1)
- (modified) libcxx/include/__memory/out_ptr.h (+1)
- (modified) libcxx/include/__memory/pointer_traits.h (+1)
- (modified) libcxx/include/__random/uniform_random_bit_generator.h (+1-1)
- (modified) libcxx/include/__ranges/elements_view.h (+1)
- (modified) libcxx/include/__ranges/range_adaptor.h (+2)
- (modified) libcxx/include/__ranges/transform_view.h (+1)
- (modified) libcxx/include/__string/char_traits.h (+1)
- (modified) libcxx/include/__thread/jthread.h (+3-1)
- (modified) libcxx/include/__thread/this_thread.h (+1)
- (modified) libcxx/include/__thread/thread.h (+1)
- (modified) libcxx/include/__tree (+2-1)
- (modified) libcxx/include/__type_traits/is_swappable.h (+1)
- (modified) libcxx/include/algorithm (+9)
- (modified) libcxx/include/array (+1)
- (modified) libcxx/include/bitset (+1)
- (modified) libcxx/include/deque (+13)
- (modified) libcxx/include/experimental/iterator (+2)
- (modified) libcxx/include/fstream (+5-1)
- (modified) libcxx/include/future (+5)
- (modified) libcxx/include/iomanip (+2)
- (modified) libcxx/include/map (+7)
- (modified) libcxx/include/optional (+3)
- (modified) libcxx/include/set (+9)
- (modified) libcxx/include/sstream (+2)
- (modified) libcxx/include/tuple (+4-1)
- (modified) libcxx/include/unordered_map (+7)
- (modified) libcxx/include/unordered_set (+9)
- (modified) libcxx/include/variant (+7-1)
- (modified) libcxx/include/vector (+14)
- (modified) libcxx/test/libcxx/algorithms/alg.sorting/alg.heap.operations/make.heap/complexity.pass.cpp (+1)
- (modified) libcxx/test/libcxx/algorithms/ranges_robust_against_copying_comparators.pass.cpp (+1)
- (modified) libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp (+1)
- (modified) libcxx/test/libcxx/algorithms/robust_against_copying_comparators.pass.cpp (+1)
- (modified) libcxx/test/libcxx/algorithms/robust_against_cpp20_hostile_iterators.compile.pass.cpp (+1)
- (modified) libcxx/test/libcxx/containers/sequences/vector.bool/abi.compile.pass.cpp (+1)
- (modified) libcxx/test/libcxx/containers/sequences/vector/abi.compile.pass.cpp (+1)
- (modified) libcxx/test/libcxx/containers/unord/next_pow2.pass.cpp (+2-1)
- (modified) libcxx/test/libcxx/containers/unord/next_prime.pass.cpp (+1)
- (modified) libcxx/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp (+1)
- (modified) libcxx/test/libcxx/diagnostics/ranges.nodiscard.verify.cpp (+1)
- (modified) libcxx/test/libcxx/iterators/iterator.requirements/iterator.concepts/cpp20_iter_concepts.pass.cpp (+3-2)
- (modified) libcxx/test/libcxx/ranges/range.utility.helpers/has_arrow.compile.pass.cpp (+1)
- (modified) libcxx/test/libcxx/strings/basic.string/alignof.compile.pass.cpp (+1)
- (modified) libcxx/test/libcxx/strings/basic.string/sizeof.compile.pass.cpp (+1)
- (modified) libcxx/test/libcxx/transitive_includes/cxx03.csv (+25)
- (modified) libcxx/test/libcxx/transitive_includes/cxx11.csv (+25)
- (modified) libcxx/test/libcxx/transitive_includes/cxx14.csv (+26)
- (modified) libcxx/test/libcxx/transitive_includes/cxx17.csv (+24)
- (modified) libcxx/test/libcxx/transitive_includes/cxx20.csv (+24)
- (modified) libcxx/test/libcxx/transitive_includes/cxx23.csv (+19)
- (modified) libcxx/test/libcxx/transitive_includes/cxx26.csv (+19-1)
- (modified) libcxx/test/libcxx/utilities/format/format.arguments/format.arg/arg_t.compile.pass.cpp (+1)
- (modified) libcxx/test/libcxx/utilities/format/format.string/format.string.std/escaped_output.pass.cpp (+3-2)
- (modified) libcxx/test/libcxx/utilities/function.objects/func.require/bullet_1_2_3.pass.cpp (+2-1)
- (modified) libcxx/test/libcxx/utilities/function.objects/func.require/bullet_4_5_6.pass.cpp (+2-1)
- (modified) libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/function_type_default_deleter.verify.cpp (+1)
- (modified) libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp (+1)
- (modified) libcxx/test/libcxx/utilities/utility/__murmur2_or_cityhash.abi-v1.pass.cpp (+1)
- (modified) libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle_urng.pass.cpp (+2-1)
- (modified) libcxx/test/std/algorithms/alg.nonmodifying/mismatch/mismatch.pass.cpp (+2)
- (modified) libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/complexity.pass.cpp (+1)
- (modified) libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/ranges_sort_heap.pass.cpp (+2)
- (modified) libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp (+2-1)
- (modified) libcxx/test/std/algorithms/alg.sorting/alg.merge/pstl.merge.pass.cpp (+1)
- (modified) libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/pstl.sort.pass.cpp (+1)
- (modified) libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort.pass.cpp (+1)
- (modified) libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.pass.cpp (+2)
- (modified) libcxx/test/std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp (+2)
- (modified) libcxx/test/std/algorithms/robust_re_difference_type.compile.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/bitwise_and_assign.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/bitwise_or_assign.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/bitwise_xor_assign.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/fetch_add.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/fetch_and.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/fetch_or.pass.cpp (+2-1)
- (modified) libcxx/test/std/atomics/atomics.ref/fetch_sub.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/fetch_xor.pass.cpp (+2-1)
- (modified) libcxx/test/std/atomics/atomics.ref/increment_decrement.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/member_types.compile.pass.cpp (+30-28)
- (modified) libcxx/test/std/atomics/atomics.ref/operator_minus_equals.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.ref/operator_plus_equals.pass.cpp (+2-1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/assign.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/exchange.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/load.pass.cpp (+2-1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.float.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/wait.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp (+2-1)
- (modified) libcxx/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp (+1)
- (modified) libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp (+2)
- (modified) libcxx/test/std/atomics/types.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/map/map.modifiers/try.emplace.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/multiset/multiset.cons/copy.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/multiset/multiset.cons/copy_alloc.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare.pass.cpp (+2)
- (modified) libcxx/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare_alloc.pass.cpp (+2)
- (modified) libcxx/test/std/containers/associative/set/set.cons/copy.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/set/set.cons/copy_alloc.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp (+1)
- (modified) libcxx/test/std/containers/associative/set/set.cons/initializer_list_compare.pass.cpp (+2)
- (modified) libcxx/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp (+2)
- (modified) libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/dtor_noexcept.pass.cpp (+1)
- (modified) libcxx/test/std/containers/container.adaptors/queue/queue.cons/dtor_noexcept.pass.cpp (+1)
- (modified) libcxx/test/std/containers/container.adaptors/stack/stack.cons/dtor_noexcept.pass.cpp (+1)
- (modified) libcxx/test/std/containers/views/mdspan/layout_left/properties.pass.cpp (+1)
- (modified) libcxx/test/std/containers/views/mdspan/layout_right/properties.pass.cpp (+1)
- (modified) libcxx/test/std/containers/views/mdspan/layout_stride/deduction.pass.cpp (+1)
- (modified) libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp (+1-1)
- (modified) libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp (+2-1)
- (modified) libcxx/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp (+6-7)
- (modified) libcxx/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp (+6-7)
- (modified) libcxx/test/std/experimental/memory/memory.observer.ptr/hash.pass.cpp (+1)
- (modified) libcxx/test/std/experimental/simd/simd.reference/reference_arith_operators.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/simd/simd.reference/reference_bitwise_operators.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible_propagate_const.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_propagate_const.move_ctor.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/move_ctor.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/hash.pass.cpp (+4-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/equal_to.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/greater_equal.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less_equal.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/not_equal_to.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/equal.pass.cpp (+3-1)
- (modified) libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/not_equal.pass.cpp (+3-1)
- (modified) libcxx/test/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp (+1)
- (modified) libcxx/test/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp (+1)
- (modified) libcxx/test/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp (+1)
- (modified) libcxx/test/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp (+1)
- (modified) libcxx/test/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp (+1)
- (modified) libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/incrementable_traits.compile.pass.cpp (+1)
- (modified) libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.compile.pass.cpp (+1)
- (modified) libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/sfinae.compile.pass.cpp (+1)
- (modified) libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp (+1)
- (modified) libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable_with.compile.pass.cpp (+1)
- (modified) libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp (+2-1)
- (modified) libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp (+2-1)
- (modified) libcxx/test/std/language.support/support.dynamic/destroying_delete_t_declaration.pass.cpp (+2)
- (modified) libcxx/test/std/language.support/support.runtime/cstdlib.pass.cpp (+2-1)
- (modified) libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp (+2-1)
- (modified) libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp (+2)
- (modified) libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/c.math/cmath.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.disc/result_type.pass.cpp (+1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/eval.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/eval_param.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.PR44847.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.pass.cpp (+1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval_param.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.geo/eval.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.geo/eval_param.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval_param.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.chisq/eval.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.chisq/eval_param.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.lognormal/eval.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.lognormal/eval_param.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.normal/eval.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.normal/eval_param.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.t/eval.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.t/eval_param.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.exp/eval.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.exp/eval_param.pass.cpp (+3-2)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.extreme/eval.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.extreme/eval_param.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.gamma/eval.pass.cpp (+2-1)
- (modified) libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.gamma/eval_param.pass.cpp (+2-1)
``````````diff
diff --git a/libcxx/include/__algorithm/copy.h b/libcxx/include/__algorithm/copy.h
index 0890b895f54092..7ae47514d6d27f 100644
--- a/libcxx/include/__algorithm/copy.h
+++ b/libcxx/include/__algorithm/copy.h
@@ -14,8 +14,10 @@
#include <__algorithm/iterator_operations.h>
#include <__algorithm/min.h>
#include <__config>
+#include <__iterator/iterator_traits.h>
#include <__iterator/segmented_iterator.h>
#include <__type_traits/common_type.h>
+#include <__type_traits/enable_if.h>
#include <__utility/move.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/copy_backward.h b/libcxx/include/__algorithm/copy_backward.h
index 73dc846a975a44..48a768f577f553 100644
--- a/libcxx/include/__algorithm/copy_backward.h
+++ b/libcxx/include/__algorithm/copy_backward.h
@@ -13,8 +13,10 @@
#include <__algorithm/iterator_operations.h>
#include <__algorithm/min.h>
#include <__config>
+#include <__iterator/iterator_traits.h>
#include <__iterator/segmented_iterator.h>
#include <__type_traits/common_type.h>
+#include <__type_traits/enable_if.h>
#include <__type_traits/is_constructible.h>
#include <__utility/move.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/count.h b/libcxx/include/__algorithm/count.h
index b3489a48c1f160..6910b4f43e9934 100644
--- a/libcxx/include/__algorithm/count.h
+++ b/libcxx/include/__algorithm/count.h
@@ -16,9 +16,10 @@
#include <__bit/popcount.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__fwd/bit_reference.h>
#include <__iterator/iterator_traits.h>
+#include <__type_traits/enable_if.h>
+#include <__type_traits/invoke.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
diff --git a/libcxx/include/__algorithm/equal.h b/libcxx/include/__algorithm/equal.h
index 23ff0641241949..cd8b0673e7a430 100644
--- a/libcxx/include/__algorithm/equal.h
+++ b/libcxx/include/__algorithm/equal.h
@@ -14,12 +14,12 @@
#include <__algorithm/unwrap_iter.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/distance.h>
#include <__iterator/iterator_traits.h>
#include <__string/constexpr_c_functions.h>
#include <__type_traits/desugars_to.h>
#include <__type_traits/enable_if.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_constant_evaluated.h>
#include <__type_traits/is_equality_comparable.h>
#include <__type_traits/is_volatile.h>
diff --git a/libcxx/include/__algorithm/equal_range.h b/libcxx/include/__algorithm/equal_range.h
index 28c37cdb24b5c9..4e74ad20aa412d 100644
--- a/libcxx/include/__algorithm/equal_range.h
+++ b/libcxx/include/__algorithm/equal_range.h
@@ -17,11 +17,11 @@
#include <__algorithm/upper_bound.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/advance.h>
#include <__iterator/distance.h>
#include <__iterator/iterator_traits.h>
#include <__iterator/next.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__type_traits/is_constructible.h>
#include <__utility/move.h>
diff --git a/libcxx/include/__algorithm/find.h b/libcxx/include/__algorithm/find.h
index 3ab4ab8064183a..6f23ec3f6fc69d 100644
--- a/libcxx/include/__algorithm/find.h
+++ b/libcxx/include/__algorithm/find.h
@@ -17,10 +17,12 @@
#include <__bit/invert_if.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__fwd/bit_reference.h>
#include <__iterator/segmented_iterator.h>
#include <__string/constexpr_c_functions.h>
+#include <__type_traits/enable_if.h>
+#include <__type_traits/invoke.h>
+#include <__type_traits/is_equality_comparable.h>
#include <__type_traits/is_integral.h>
#include <__type_traits/is_same.h>
#include <__type_traits/is_signed.h>
diff --git a/libcxx/include/__algorithm/find_end.h b/libcxx/include/__algorithm/find_end.h
index 68a9da75ed8642..08d1a295f8e5c0 100644
--- a/libcxx/include/__algorithm/find_end.h
+++ b/libcxx/include/__algorithm/find_end.h
@@ -15,11 +15,11 @@
#include <__algorithm/search.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/advance.h>
#include <__iterator/iterator_traits.h>
#include <__iterator/next.h>
#include <__iterator/reverse_iterator.h>
+#include <__type_traits/invoke.h>
#include <__utility/pair.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__algorithm/fold.h b/libcxx/include/__algorithm/fold.h
index 255658f5232499..1bcb3be9aadabe 100644
--- a/libcxx/include/__algorithm/fold.h
+++ b/libcxx/include/__algorithm/fold.h
@@ -11,6 +11,7 @@
#define _LIBCPP___ALGORITHM_FOLD_H
#include <__concepts/assignable.h>
+#include <__concepts/constructible.h>
#include <__concepts/convertible_to.h>
#include <__concepts/invocable.h>
#include <__concepts/movable.h>
diff --git a/libcxx/include/__algorithm/includes.h b/libcxx/include/__algorithm/includes.h
index 47b19d408d3a8e..a86102fc6d4a57 100644
--- a/libcxx/include/__algorithm/includes.h
+++ b/libcxx/include/__algorithm/includes.h
@@ -13,8 +13,8 @@
#include <__algorithm/comp_ref_type.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/iterator_traits.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__utility/move.h>
diff --git a/libcxx/include/__algorithm/inplace_merge.h b/libcxx/include/__algorithm/inplace_merge.h
index 2133f440d2fea6..62a8bc53e23f3c 100644
--- a/libcxx/include/__algorithm/inplace_merge.h
+++ b/libcxx/include/__algorithm/inplace_merge.h
@@ -26,6 +26,7 @@
#include <__memory/destruct_n.h>
#include <__memory/unique_ptr.h>
#include <__memory/unique_temporary_buffer.h>
+#include <__utility/move.h>
#include <__utility/pair.h>
#include <new>
diff --git a/libcxx/include/__algorithm/is_permutation.h b/libcxx/include/__algorithm/is_permutation.h
index b7949a5628a388..8753e9fc13f2db 100644
--- a/libcxx/include/__algorithm/is_permutation.h
+++ b/libcxx/include/__algorithm/is_permutation.h
@@ -14,12 +14,14 @@
#include <__algorithm/iterator_operations.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/concepts.h>
#include <__iterator/distance.h>
#include <__iterator/iterator_traits.h>
#include <__iterator/next.h>
+#include <__type_traits/enable_if.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
+#include <__type_traits/is_same.h>
#include <__utility/move.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__algorithm/lexicographical_compare.h b/libcxx/include/__algorithm/lexicographical_compare.h
index 8ea7c177b76033..1de3ca13e1b45c 100644
--- a/libcxx/include/__algorithm/lexicographical_compare.h
+++ b/libcxx/include/__algorithm/lexicographical_compare.h
@@ -19,6 +19,7 @@
#include <__iterator/iterator_traits.h>
#include <__string/constexpr_c_functions.h>
#include <__type_traits/desugars_to.h>
+#include <__type_traits/enable_if.h>
#include <__type_traits/invoke.h>
#include <__type_traits/is_equality_comparable.h>
#include <__type_traits/is_integral.h>
diff --git a/libcxx/include/__algorithm/lower_bound.h b/libcxx/include/__algorithm/lower_bound.h
index 54a64beff97a63..2144ba962966ee 100644
--- a/libcxx/include/__algorithm/lower_bound.h
+++ b/libcxx/include/__algorithm/lower_bound.h
@@ -14,10 +14,10 @@
#include <__algorithm/iterator_operations.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/advance.h>
#include <__iterator/distance.h>
#include <__iterator/iterator_traits.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__type_traits/remove_reference.h>
diff --git a/libcxx/include/__algorithm/make_projected.h b/libcxx/include/__algorithm/make_projected.h
index 5245e523f3df21..22cceb4cb2fb85 100644
--- a/libcxx/include/__algorithm/make_projected.h
+++ b/libcxx/include/__algorithm/make_projected.h
@@ -16,6 +16,7 @@
#include <__type_traits/decay.h>
#include <__type_traits/enable_if.h>
#include <__type_traits/integral_constant.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_member_pointer.h>
#include <__type_traits/is_same.h>
#include <__utility/declval.h>
diff --git a/libcxx/include/__algorithm/min_element.h b/libcxx/include/__algorithm/min_element.h
index f40b24a0e85a8e..db996365bf1de1 100644
--- a/libcxx/include/__algorithm/min_element.h
+++ b/libcxx/include/__algorithm/min_element.h
@@ -13,8 +13,8 @@
#include <__algorithm/comp_ref_type.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/iterator_traits.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__utility/move.h>
diff --git a/libcxx/include/__algorithm/minmax_element.h b/libcxx/include/__algorithm/minmax_element.h
index 47e3a68edf2989..dc0c3a818cd579 100644
--- a/libcxx/include/__algorithm/minmax_element.h
+++ b/libcxx/include/__algorithm/minmax_element.h
@@ -12,8 +12,8 @@
#include <__algorithm/comp.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/iterator_traits.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/mismatch.h b/libcxx/include/__algorithm/mismatch.h
index 0fae7f6e3fe323..cb83347584b1a5 100644
--- a/libcxx/include/__algorithm/mismatch.h
+++ b/libcxx/include/__algorithm/mismatch.h
@@ -17,7 +17,9 @@
#include <__config>
#include <__functional/identity.h>
#include <__iterator/aliasing_iterator.h>
+#include <__iterator/iterator_traits.h>
#include <__type_traits/desugars_to.h>
+#include <__type_traits/enable_if.h>
#include <__type_traits/invoke.h>
#include <__type_traits/is_constant_evaluated.h>
#include <__type_traits/is_equality_comparable.h>
diff --git a/libcxx/include/__algorithm/move.h b/libcxx/include/__algorithm/move.h
index 1716d43e2a613d..005099dcac06e3 100644
--- a/libcxx/include/__algorithm/move.h
+++ b/libcxx/include/__algorithm/move.h
@@ -14,8 +14,10 @@
#include <__algorithm/iterator_operations.h>
#include <__algorithm/min.h>
#include <__config>
+#include <__iterator/iterator_traits.h>
#include <__iterator/segmented_iterator.h>
#include <__type_traits/common_type.h>
+#include <__type_traits/enable_if.h>
#include <__type_traits/is_constructible.h>
#include <__utility/move.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/move_backward.h b/libcxx/include/__algorithm/move_backward.h
index 4beb7bdbaac0d0..24a8d9b24527a7 100644
--- a/libcxx/include/__algorithm/move_backward.h
+++ b/libcxx/include/__algorithm/move_backward.h
@@ -13,8 +13,10 @@
#include <__algorithm/iterator_operations.h>
#include <__algorithm/min.h>
#include <__config>
+#include <__iterator/iterator_traits.h>
#include <__iterator/segmented_iterator.h>
#include <__type_traits/common_type.h>
+#include <__type_traits/enable_if.h>
#include <__type_traits/is_constructible.h>
#include <__utility/move.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/partial_sort_copy.h b/libcxx/include/__algorithm/partial_sort_copy.h
index 6d44b4f8f928a4..172f53b290d548 100644
--- a/libcxx/include/__algorithm/partial_sort_copy.h
+++ b/libcxx/include/__algorithm/partial_sort_copy.h
@@ -18,8 +18,8 @@
#include <__algorithm/sort_heap.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/iterator_traits.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__utility/move.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/partition.h b/libcxx/include/__algorithm/partition.h
index bd0dccfaf92abe..669aac3b275557 100644
--- a/libcxx/include/__algorithm/partition.h
+++ b/libcxx/include/__algorithm/partition.h
@@ -12,6 +12,7 @@
#include <__algorithm/iterator_operations.h>
#include <__config>
#include <__iterator/iterator_traits.h>
+#include <__type_traits/remove_cvref.h>
#include <__utility/move.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/ranges_ends_with.h b/libcxx/include/__algorithm/ranges_ends_with.h
index df7fad0bfc70bd..3621bda3891236 100644
--- a/libcxx/include/__algorithm/ranges_ends_with.h
+++ b/libcxx/include/__algorithm/ranges_ends_with.h
@@ -22,6 +22,7 @@
#include <__iterator/reverse_iterator.h>
#include <__ranges/access.h>
#include <__ranges/concepts.h>
+#include <__ranges/size.h>
#include <__utility/move.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__algorithm/ranges_find_last.h b/libcxx/include/__algorithm/ranges_find_last.h
index 838dd44e5d1072..e7dae1704c2ea6 100644
--- a/libcxx/include/__algorithm/ranges_find_last.h
+++ b/libcxx/include/__algorithm/ranges_find_last.h
@@ -21,6 +21,7 @@
#include <__ranges/access.h>
#include <__ranges/concepts.h>
#include <__ranges/subrange.h>
+#include <__utility/forward.h>
#include <__utility/move.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__algorithm/ranges_generate.h b/libcxx/include/__algorithm/ranges_generate.h
index b94611d18263a8..04333b358eed26 100644
--- a/libcxx/include/__algorithm/ranges_generate.h
+++ b/libcxx/include/__algorithm/ranges_generate.h
@@ -12,12 +12,12 @@
#include <__concepts/constructible.h>
#include <__concepts/invocable.h>
#include <__config>
-#include <__functional/invoke.h>
#include <__iterator/concepts.h>
#include <__iterator/iterator_traits.h>
#include <__ranges/access.h>
#include <__ranges/concepts.h>
#include <__ranges/dangling.h>
+#include <__type_traits/invoke.h>
#include <__utility/move.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__algorithm/ranges_generate_n.h b/libcxx/include/__algorithm/ranges_generate_n.h
index 702e9a949cb45b..a318994d0eaf8b 100644
--- a/libcxx/include/__algorithm/ranges_generate_n.h
+++ b/libcxx/include/__algorithm/ranges_generate_n.h
@@ -13,12 +13,12 @@
#include <__concepts/invocable.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/concepts.h>
#include <__iterator/incrementable_traits.h>
#include <__iterator/iterator_traits.h>
#include <__ranges/access.h>
#include <__ranges/concepts.h>
+#include <__type_traits/invoke.h>
#include <__utility/move.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__algorithm/ranges_partition.h b/libcxx/include/__algorithm/ranges_partition.h
index 7058cb0c396968..b9cc3c18937091 100644
--- a/libcxx/include/__algorithm/ranges_partition.h
+++ b/libcxx/include/__algorithm/ranges_partition.h
@@ -24,6 +24,7 @@
#include <__ranges/access.h>
#include <__ranges/concepts.h>
#include <__ranges/subrange.h>
+#include <__type_traits/remove_cvref.h>
#include <__utility/forward.h>
#include <__utility/move.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/search.h b/libcxx/include/__algorithm/search.h
index 24dec22df751e3..161fd39d861a63 100644
--- a/libcxx/include/__algorithm/search.h
+++ b/libcxx/include/__algorithm/search.h
@@ -14,11 +14,11 @@
#include <__algorithm/iterator_operations.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/advance.h>
#include <__iterator/concepts.h>
#include <__iterator/iterator_traits.h>
#include <__type_traits/enable_if.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/search_n.h b/libcxx/include/__algorithm/search_n.h
index 4019dfb5d8fde5..38474e1b2379dd 100644
--- a/libcxx/include/__algorithm/search_n.h
+++ b/libcxx/include/__algorithm/search_n.h
@@ -14,12 +14,13 @@
#include <__algorithm/iterator_operations.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/advance.h>
#include <__iterator/concepts.h>
#include <__iterator/distance.h>
#include <__iterator/iterator_traits.h>
#include <__ranges/concepts.h>
+#include <__type_traits/enable_if.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__utility/convert_to_integral.h>
#include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/set_difference.h b/libcxx/include/__algorithm/set_difference.h
index f414bcecb50df1..6230b831aeda21 100644
--- a/libcxx/include/__algorithm/set_difference.h
+++ b/libcxx/include/__algorithm/set_difference.h
@@ -15,7 +15,6 @@
#include <__algorithm/iterator_operations.h>
#include <__config>
#include <__functional/identity.h>
-#include <__functional/invoke.h>
#include <__iterator/iterator_traits.h>
#include <__type_traits/remove_cvref.h>
#include <__utility/move.h>
diff --git a/libcxx/include/__algorithm/set_intersection.h b/libcxx/include/__algorithm/set_intersection.h
index 2335e5087f6f81..6246e24b9ca4e7 100644
--- a/libcxx/include/__algorithm/set_intersection.h
+++ b/libcxx/include/__algorithm/set_intersection.h
@@ -19,6 +19,7 @@
#include <__iterator/next.h>
#include <__type_traits/is_same.h>
#include <__utility/exchange.h>
+#include <__utility/forward.h>
#include <__utility/move.h>
#include <__utility/swap.h>
diff --git a/libcxx/include/__algorithm/sort.h b/libcxx/include/__algorithm/sort.h
index 77ff1533c79492..39868b8b6a30ae 100644
--- a/libcxx/include/__algorithm/sort.h
+++ b/libcxx/include/__algorithm/sort.h
@@ -29,9 +29,12 @@
#include <__type_traits/conditional.h>
#include <__type_traits/desugars_to.h>
#include <__type_traits/disjunction.h>
+#include <__type_traits/enable_if.h>
#include <__type_traits/is_arithmetic.h>
#include <__type_traits/is_constant_evaluated.h>
+#include <__type_traits/is_same.h>
#include <__type_traits/is_trivially_copyable.h>
+#include <__type_traits/remove_cvref.h>
#include <__utility/move.h>
#include <__utility/pair.h>
#include <climits>
diff --git a/libcxx/include/__algorithm/stable_partition.h b/libcxx/include/__algorithm/stable_partition.h
index bf86201dbb6a61..5df5e8eaf689ba 100644
--- a/libcxx/include/__algorithm/stable_partition.h
+++ b/libcxx/include/__algorithm/stable_partition.h
@@ -18,6 +18,7 @@
#include <__memory/destruct_n.h>
#include <__memory/unique_ptr.h>
#include <__memory/unique_temporary_buffer.h>
+#include <__type_traits/remove_cvref.h>
#include <__utility/move.h>
#include <__utility/pair.h>
#include <new>
diff --git a/libcxx/include/__algorithm/uniform_random_bit_generator_adaptor.h b/libcxx/include/__algorithm/uniform_random_bit_generator_adaptor.h
index aef0fbfb7c2842..bc7a8925e12879 100644
--- a/libcxx/include/__algorithm/uniform_random_bit_generator_adaptor.h
+++ b/libcxx/include/__algorithm/uniform_random_bit_generator_adaptor.h
@@ -10,7 +10,7 @@
#define _LIBCPP___ALGORITHM_RANGES_UNIFORM_RANDOM_BIT_GENERATOR_ADAPTOR_H
#include <__config>
-#include <__functional/invoke.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/remove_cvref.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__algorithm/upper_bound.h b/libcxx/include/__algorithm/upper_bound.h
index e8be0ef0564886..d77286c9e5af5a 100644
--- a/libcxx/include/__algorithm/upper_bound.h
+++ b/libcxx/include/__algorithm/upper_bound.h
@@ -18,6 +18,7 @@
#include <__iterator/advance.h>
#include <__iterator/distance.h>
#include <__iterator/iterator_traits.h>
+#include <__type_traits/invoke.h>
#include <__type_traits/is_callable.h>
#include <__type_traits/is_constructible.h>
#include <__utility/move.h>
diff --git a/libcxx/include/__atomic/atomic_ref.h b/libcxx/include/__atomic/atomic_ref.h
index 92e9247e2e50eb..465cd9a77ea792 100644
--- a/libcxx/include/__atomic/atomic_ref.h
+++ b/libcxx/include/__atomic/atomic_ref.h
@@ -20,6 +20,7 @@
#include <__assert>
#include <__atomic/atomic_sync.h>
#include <__atomic/check_memory_order.h>
+#include <__atomic/memory_order.h>
#include <__atomic/to_gcc_order.h>
#include <__concepts/arithmetic.h>
#include <__concepts/same_as.h>
diff --git a/libcxx/include/__chrono/day.h b/libcxx/include/__chrono/day.h
index 7342084b08c886..f5b14689a78acf 100644
--- a/libcxx/include/__chrono/day.h
+++ b...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/108850
More information about the libcxx-commits
mailing list