[llvm-branch-commits] [libcxx] [libc++][C++03] Update include guards (PR #109001)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Sep 17 09:01:22 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff a5c77e50635272437d85ca37fb19f61dd7704215 e888ef35e747287df8b3f79778f40a001e445735 --extensions ,h -- libcxx/include/__cxx03/__algorithm/adjacent_find.h libcxx/include/__cxx03/__algorithm/all_of.h libcxx/include/__cxx03/__algorithm/any_of.h libcxx/include/__cxx03/__algorithm/binary_search.h libcxx/include/__cxx03/__algorithm/clamp.h libcxx/include/__cxx03/__algorithm/comp.h libcxx/include/__cxx03/__algorithm/comp_ref_type.h libcxx/include/__cxx03/__algorithm/copy.h libcxx/include/__cxx03/__algorithm/copy_backward.h libcxx/include/__cxx03/__algorithm/copy_if.h libcxx/include/__cxx03/__algorithm/copy_move_common.h libcxx/include/__cxx03/__algorithm/copy_n.h libcxx/include/__cxx03/__algorithm/count.h libcxx/include/__cxx03/__algorithm/count_if.h libcxx/include/__cxx03/__algorithm/equal.h libcxx/include/__cxx03/__algorithm/equal_range.h libcxx/include/__cxx03/__algorithm/fill.h libcxx/include/__cxx03/__algorithm/fill_n.h libcxx/include/__cxx03/__algorithm/find.h libcxx/include/__cxx03/__algorithm/find_end.h libcxx/include/__cxx03/__algorithm/find_first_of.h libcxx/include/__cxx03/__algorithm/find_if.h libcxx/include/__cxx03/__algorithm/find_if_not.h libcxx/include/__cxx03/__algorithm/find_segment_if.h libcxx/include/__cxx03/__algorithm/fold.h libcxx/include/__cxx03/__algorithm/for_each.h libcxx/include/__cxx03/__algorithm/for_each_n.h libcxx/include/__cxx03/__algorithm/for_each_segment.h libcxx/include/__cxx03/__algorithm/generate.h libcxx/include/__cxx03/__algorithm/generate_n.h libcxx/include/__cxx03/__algorithm/half_positive.h libcxx/include/__cxx03/__algorithm/in_found_result.h libcxx/include/__cxx03/__algorithm/in_fun_result.h libcxx/include/__cxx03/__algorithm/in_in_out_result.h libcxx/include/__cxx03/__algorithm/in_in_result.h libcxx/include/__cxx03/__algorithm/in_out_out_result.h libcxx/include/__cxx03/__algorithm/in_out_result.h libcxx/include/__cxx03/__algorithm/includes.h libcxx/include/__cxx03/__algorithm/inplace_merge.h libcxx/include/__cxx03/__algorithm/is_heap.h libcxx/include/__cxx03/__algorithm/is_heap_until.h libcxx/include/__cxx03/__algorithm/is_partitioned.h libcxx/include/__cxx03/__algorithm/is_permutation.h libcxx/include/__cxx03/__algorithm/is_sorted.h libcxx/include/__cxx03/__algorithm/is_sorted_until.h libcxx/include/__cxx03/__algorithm/iter_swap.h libcxx/include/__cxx03/__algorithm/iterator_operations.h libcxx/include/__cxx03/__algorithm/lexicographical_compare.h libcxx/include/__cxx03/__algorithm/lexicographical_compare_three_way.h libcxx/include/__cxx03/__algorithm/lower_bound.h libcxx/include/__cxx03/__algorithm/make_heap.h libcxx/include/__cxx03/__algorithm/make_projected.h libcxx/include/__cxx03/__algorithm/max.h libcxx/include/__cxx03/__algorithm/max_element.h libcxx/include/__cxx03/__algorithm/merge.h libcxx/include/__cxx03/__algorithm/min.h libcxx/include/__cxx03/__algorithm/min_element.h libcxx/include/__cxx03/__algorithm/min_max_result.h libcxx/include/__cxx03/__algorithm/minmax.h libcxx/include/__cxx03/__algorithm/minmax_element.h libcxx/include/__cxx03/__algorithm/mismatch.h libcxx/include/__cxx03/__algorithm/move.h libcxx/include/__cxx03/__algorithm/move_backward.h libcxx/include/__cxx03/__algorithm/next_permutation.h libcxx/include/__cxx03/__algorithm/none_of.h libcxx/include/__cxx03/__algorithm/nth_element.h libcxx/include/__cxx03/__algorithm/partial_sort.h libcxx/include/__cxx03/__algorithm/partial_sort_copy.h libcxx/include/__cxx03/__algorithm/partition.h libcxx/include/__cxx03/__algorithm/partition_copy.h libcxx/include/__cxx03/__algorithm/partition_point.h libcxx/include/__cxx03/__algorithm/pop_heap.h libcxx/include/__cxx03/__algorithm/prev_permutation.h libcxx/include/__cxx03/__algorithm/pstl.h libcxx/include/__cxx03/__algorithm/push_heap.h libcxx/include/__cxx03/__algorithm/ranges_adjacent_find.h libcxx/include/__cxx03/__algorithm/ranges_all_of.h libcxx/include/__cxx03/__algorithm/ranges_any_of.h libcxx/include/__cxx03/__algorithm/ranges_binary_search.h libcxx/include/__cxx03/__algorithm/ranges_clamp.h libcxx/include/__cxx03/__algorithm/ranges_contains.h libcxx/include/__cxx03/__algorithm/ranges_contains_subrange.h libcxx/include/__cxx03/__algorithm/ranges_copy.h libcxx/include/__cxx03/__algorithm/ranges_copy_backward.h libcxx/include/__cxx03/__algorithm/ranges_copy_if.h libcxx/include/__cxx03/__algorithm/ranges_copy_n.h libcxx/include/__cxx03/__algorithm/ranges_count.h libcxx/include/__cxx03/__algorithm/ranges_count_if.h libcxx/include/__cxx03/__algorithm/ranges_ends_with.h libcxx/include/__cxx03/__algorithm/ranges_equal.h libcxx/include/__cxx03/__algorithm/ranges_equal_range.h libcxx/include/__cxx03/__algorithm/ranges_fill.h libcxx/include/__cxx03/__algorithm/ranges_fill_n.h libcxx/include/__cxx03/__algorithm/ranges_find.h libcxx/include/__cxx03/__algorithm/ranges_find_end.h libcxx/include/__cxx03/__algorithm/ranges_find_first_of.h libcxx/include/__cxx03/__algorithm/ranges_find_if.h libcxx/include/__cxx03/__algorithm/ranges_find_if_not.h libcxx/include/__cxx03/__algorithm/ranges_find_last.h libcxx/include/__cxx03/__algorithm/ranges_for_each.h libcxx/include/__cxx03/__algorithm/ranges_for_each_n.h libcxx/include/__cxx03/__algorithm/ranges_generate.h libcxx/include/__cxx03/__algorithm/ranges_generate_n.h libcxx/include/__cxx03/__algorithm/ranges_includes.h libcxx/include/__cxx03/__algorithm/ranges_inplace_merge.h libcxx/include/__cxx03/__algorithm/ranges_is_heap.h libcxx/include/__cxx03/__algorithm/ranges_is_heap_until.h libcxx/include/__cxx03/__algorithm/ranges_is_partitioned.h libcxx/include/__cxx03/__algorithm/ranges_is_permutation.h libcxx/include/__cxx03/__algorithm/ranges_is_sorted.h libcxx/include/__cxx03/__algorithm/ranges_is_sorted_until.h libcxx/include/__cxx03/__algorithm/ranges_iterator_concept.h libcxx/include/__cxx03/__algorithm/ranges_lexicographical_compare.h libcxx/include/__cxx03/__algorithm/ranges_lower_bound.h libcxx/include/__cxx03/__algorithm/ranges_make_heap.h libcxx/include/__cxx03/__algorithm/ranges_max.h libcxx/include/__cxx03/__algorithm/ranges_max_element.h libcxx/include/__cxx03/__algorithm/ranges_merge.h libcxx/include/__cxx03/__algorithm/ranges_min.h libcxx/include/__cxx03/__algorithm/ranges_min_element.h libcxx/include/__cxx03/__algorithm/ranges_minmax.h libcxx/include/__cxx03/__algorithm/ranges_minmax_element.h libcxx/include/__cxx03/__algorithm/ranges_mismatch.h libcxx/include/__cxx03/__algorithm/ranges_move.h libcxx/include/__cxx03/__algorithm/ranges_move_backward.h libcxx/include/__cxx03/__algorithm/ranges_next_permutation.h libcxx/include/__cxx03/__algorithm/ranges_none_of.h libcxx/include/__cxx03/__algorithm/ranges_nth_element.h libcxx/include/__cxx03/__algorithm/ranges_partial_sort.h libcxx/include/__cxx03/__algorithm/ranges_partial_sort_copy.h libcxx/include/__cxx03/__algorithm/ranges_partition.h libcxx/include/__cxx03/__algorithm/ranges_partition_copy.h libcxx/include/__cxx03/__algorithm/ranges_partition_point.h libcxx/include/__cxx03/__algorithm/ranges_pop_heap.h libcxx/include/__cxx03/__algorithm/ranges_prev_permutation.h libcxx/include/__cxx03/__algorithm/ranges_push_heap.h libcxx/include/__cxx03/__algorithm/ranges_remove.h libcxx/include/__cxx03/__algorithm/ranges_remove_copy.h libcxx/include/__cxx03/__algorithm/ranges_remove_copy_if.h libcxx/include/__cxx03/__algorithm/ranges_remove_if.h libcxx/include/__cxx03/__algorithm/ranges_replace.h libcxx/include/__cxx03/__algorithm/ranges_replace_copy.h libcxx/include/__cxx03/__algorithm/ranges_replace_copy_if.h libcxx/include/__cxx03/__algorithm/ranges_replace_if.h libcxx/include/__cxx03/__algorithm/ranges_reverse.h libcxx/include/__cxx03/__algorithm/ranges_reverse_copy.h libcxx/include/__cxx03/__algorithm/ranges_rotate.h libcxx/include/__cxx03/__algorithm/ranges_rotate_copy.h libcxx/include/__cxx03/__algorithm/ranges_sample.h libcxx/include/__cxx03/__algorithm/ranges_search.h libcxx/include/__cxx03/__algorithm/ranges_search_n.h libcxx/include/__cxx03/__algorithm/ranges_set_difference.h libcxx/include/__cxx03/__algorithm/ranges_set_intersection.h libcxx/include/__cxx03/__algorithm/ranges_set_symmetric_difference.h libcxx/include/__cxx03/__algorithm/ranges_set_union.h libcxx/include/__cxx03/__algorithm/ranges_shuffle.h libcxx/include/__cxx03/__algorithm/ranges_sort.h libcxx/include/__cxx03/__algorithm/ranges_sort_heap.h libcxx/include/__cxx03/__algorithm/ranges_stable_partition.h libcxx/include/__cxx03/__algorithm/ranges_stable_sort.h libcxx/include/__cxx03/__algorithm/ranges_starts_with.h libcxx/include/__cxx03/__algorithm/ranges_swap_ranges.h libcxx/include/__cxx03/__algorithm/ranges_transform.h libcxx/include/__cxx03/__algorithm/ranges_unique.h libcxx/include/__cxx03/__algorithm/ranges_unique_copy.h libcxx/include/__cxx03/__algorithm/ranges_upper_bound.h libcxx/include/__cxx03/__algorithm/remove.h libcxx/include/__cxx03/__algorithm/remove_copy.h libcxx/include/__cxx03/__algorithm/remove_copy_if.h libcxx/include/__cxx03/__algorithm/remove_if.h libcxx/include/__cxx03/__algorithm/replace.h libcxx/include/__cxx03/__algorithm/replace_copy.h libcxx/include/__cxx03/__algorithm/replace_copy_if.h libcxx/include/__cxx03/__algorithm/replace_if.h libcxx/include/__cxx03/__algorithm/reverse.h libcxx/include/__cxx03/__algorithm/reverse_copy.h libcxx/include/__cxx03/__algorithm/rotate.h libcxx/include/__cxx03/__algorithm/rotate_copy.h libcxx/include/__cxx03/__algorithm/sample.h libcxx/include/__cxx03/__algorithm/search.h libcxx/include/__cxx03/__algorithm/search_n.h libcxx/include/__cxx03/__algorithm/set_difference.h libcxx/include/__cxx03/__algorithm/set_intersection.h libcxx/include/__cxx03/__algorithm/set_symmetric_difference.h libcxx/include/__cxx03/__algorithm/set_union.h libcxx/include/__cxx03/__algorithm/shift_left.h libcxx/include/__cxx03/__algorithm/shift_right.h libcxx/include/__cxx03/__algorithm/shuffle.h libcxx/include/__cxx03/__algorithm/sift_down.h libcxx/include/__cxx03/__algorithm/simd_utils.h libcxx/include/__cxx03/__algorithm/sort.h libcxx/include/__cxx03/__algorithm/sort_heap.h libcxx/include/__cxx03/__algorithm/stable_partition.h libcxx/include/__cxx03/__algorithm/stable_sort.h libcxx/include/__cxx03/__algorithm/swap_ranges.h libcxx/include/__cxx03/__algorithm/three_way_comp_ref_type.h libcxx/include/__cxx03/__algorithm/transform.h libcxx/include/__cxx03/__algorithm/uniform_random_bit_generator_adaptor.h libcxx/include/__cxx03/__algorithm/unique.h libcxx/include/__cxx03/__algorithm/unique_copy.h libcxx/include/__cxx03/__algorithm/unwrap_iter.h libcxx/include/__cxx03/__algorithm/unwrap_range.h libcxx/include/__cxx03/__algorithm/upper_bound.h libcxx/include/__cxx03/__assert libcxx/include/__cxx03/__atomic/aliases.h libcxx/include/__cxx03/__atomic/atomic.h libcxx/include/__cxx03/__atomic/atomic_base.h libcxx/include/__cxx03/__atomic/atomic_flag.h libcxx/include/__cxx03/__atomic/atomic_init.h libcxx/include/__cxx03/__atomic/atomic_lock_free.h libcxx/include/__cxx03/__atomic/atomic_ref.h libcxx/include/__cxx03/__atomic/atomic_sync.h libcxx/include/__cxx03/__atomic/check_memory_order.h libcxx/include/__cxx03/__atomic/contention_t.h libcxx/include/__cxx03/__atomic/cxx_atomic_impl.h libcxx/include/__cxx03/__atomic/fence.h libcxx/include/__cxx03/__atomic/is_always_lock_free.h libcxx/include/__cxx03/__atomic/kill_dependency.h libcxx/include/__cxx03/__atomic/memory_order.h libcxx/include/__cxx03/__atomic/to_gcc_order.h libcxx/include/__cxx03/__bit/bit_cast.h libcxx/include/__cxx03/__bit/bit_ceil.h libcxx/include/__cxx03/__bit/bit_floor.h libcxx/include/__cxx03/__bit/bit_log2.h libcxx/include/__cxx03/__bit/bit_width.h libcxx/include/__cxx03/__bit/blsr.h libcxx/include/__cxx03/__bit/byteswap.h libcxx/include/__cxx03/__bit/countl.h libcxx/include/__cxx03/__bit/countr.h libcxx/include/__cxx03/__bit/endian.h libcxx/include/__cxx03/__bit/has_single_bit.h libcxx/include/__cxx03/__bit/invert_if.h libcxx/include/__cxx03/__bit/popcount.h libcxx/include/__cxx03/__bit/rotate.h libcxx/include/__cxx03/__bit_reference libcxx/include/__cxx03/__charconv/chars_format.h libcxx/include/__cxx03/__charconv/from_chars_integral.h libcxx/include/__cxx03/__charconv/from_chars_result.h libcxx/include/__cxx03/__charconv/tables.h libcxx/include/__cxx03/__charconv/to_chars.h libcxx/include/__cxx03/__charconv/to_chars_base_10.h libcxx/include/__cxx03/__charconv/to_chars_floating_point.h libcxx/include/__cxx03/__charconv/to_chars_integral.h libcxx/include/__cxx03/__charconv/to_chars_result.h libcxx/include/__cxx03/__charconv/traits.h libcxx/include/__cxx03/__chrono/calendar.h libcxx/include/__cxx03/__chrono/concepts.h libcxx/include/__cxx03/__chrono/convert_to_timespec.h libcxx/include/__cxx03/__chrono/convert_to_tm.h libcxx/include/__cxx03/__chrono/day.h libcxx/include/__cxx03/__chrono/duration.h libcxx/include/__cxx03/__chrono/exception.h libcxx/include/__cxx03/__chrono/file_clock.h libcxx/include/__cxx03/__chrono/formatter.h libcxx/include/__cxx03/__chrono/hh_mm_ss.h libcxx/include/__cxx03/__chrono/high_resolution_clock.h libcxx/include/__cxx03/__chrono/leap_second.h libcxx/include/__cxx03/__chrono/literals.h libcxx/include/__cxx03/__chrono/local_info.h libcxx/include/__cxx03/__chrono/month.h libcxx/include/__cxx03/__chrono/month_weekday.h libcxx/include/__cxx03/__chrono/monthday.h libcxx/include/__cxx03/__chrono/ostream.h libcxx/include/__cxx03/__chrono/parser_std_format_spec.h libcxx/include/__cxx03/__chrono/statically_widen.h libcxx/include/__cxx03/__chrono/steady_clock.h libcxx/include/__cxx03/__chrono/sys_info.h libcxx/include/__cxx03/__chrono/system_clock.h libcxx/include/__cxx03/__chrono/time_point.h libcxx/include/__cxx03/__chrono/time_zone.h libcxx/include/__cxx03/__chrono/time_zone_link.h libcxx/include/__cxx03/__chrono/tzdb.h libcxx/include/__cxx03/__chrono/tzdb_list.h libcxx/include/__cxx03/__chrono/weekday.h libcxx/include/__cxx03/__chrono/year.h libcxx/include/__cxx03/__chrono/year_month.h libcxx/include/__cxx03/__chrono/year_month_day.h libcxx/include/__cxx03/__chrono/year_month_weekday.h libcxx/include/__cxx03/__chrono/zoned_time.h libcxx/include/__cxx03/__compare/common_comparison_category.h libcxx/include/__cxx03/__compare/compare_partial_order_fallback.h libcxx/include/__cxx03/__compare/compare_strong_order_fallback.h libcxx/include/__cxx03/__compare/compare_three_way.h libcxx/include/__cxx03/__compare/compare_three_way_result.h libcxx/include/__cxx03/__compare/compare_weak_order_fallback.h libcxx/include/__cxx03/__compare/is_eq.h libcxx/include/__cxx03/__compare/ordering.h libcxx/include/__cxx03/__compare/partial_order.h libcxx/include/__cxx03/__compare/strong_order.h libcxx/include/__cxx03/__compare/synth_three_way.h libcxx/include/__cxx03/__compare/three_way_comparable.h libcxx/include/__cxx03/__compare/weak_order.h libcxx/include/__cxx03/__concepts/arithmetic.h libcxx/include/__cxx03/__concepts/assignable.h libcxx/include/__cxx03/__concepts/boolean_testable.h libcxx/include/__cxx03/__concepts/class_or_enum.h libcxx/include/__cxx03/__concepts/common_reference_with.h libcxx/include/__cxx03/__concepts/common_with.h libcxx/include/__cxx03/__concepts/constructible.h libcxx/include/__cxx03/__concepts/convertible_to.h libcxx/include/__cxx03/__concepts/copyable.h libcxx/include/__cxx03/__concepts/derived_from.h libcxx/include/__cxx03/__concepts/destructible.h libcxx/include/__cxx03/__concepts/different_from.h libcxx/include/__cxx03/__concepts/equality_comparable.h libcxx/include/__cxx03/__concepts/invocable.h libcxx/include/__cxx03/__concepts/movable.h libcxx/include/__cxx03/__concepts/predicate.h libcxx/include/__cxx03/__concepts/regular.h libcxx/include/__cxx03/__concepts/relation.h libcxx/include/__cxx03/__concepts/same_as.h libcxx/include/__cxx03/__concepts/semiregular.h libcxx/include/__cxx03/__concepts/swappable.h libcxx/include/__cxx03/__concepts/totally_ordered.h libcxx/include/__cxx03/__condition_variable/condition_variable.h libcxx/include/__cxx03/__config libcxx/include/__cxx03/__configuration/abi.h libcxx/include/__cxx03/__configuration/availability.h libcxx/include/__cxx03/__configuration/compiler.h libcxx/include/__cxx03/__configuration/language.h libcxx/include/__cxx03/__configuration/platform.h libcxx/include/__cxx03/__coroutine/coroutine_handle.h libcxx/include/__cxx03/__coroutine/coroutine_traits.h libcxx/include/__cxx03/__coroutine/noop_coroutine_handle.h libcxx/include/__cxx03/__coroutine/trivial_awaitables.h libcxx/include/__cxx03/__debug_utils/randomize_range.h libcxx/include/__cxx03/__debug_utils/sanitizers.h libcxx/include/__cxx03/__debug_utils/strict_weak_ordering_check.h libcxx/include/__cxx03/__exception/exception.h libcxx/include/__cxx03/__exception/exception_ptr.h libcxx/include/__cxx03/__exception/nested_exception.h libcxx/include/__cxx03/__exception/operations.h libcxx/include/__cxx03/__exception/terminate.h libcxx/include/__cxx03/__expected/bad_expected_access.h libcxx/include/__cxx03/__expected/expected.h libcxx/include/__cxx03/__expected/unexpect.h libcxx/include/__cxx03/__expected/unexpected.h libcxx/include/__cxx03/__filesystem/copy_options.h libcxx/include/__cxx03/__filesystem/directory_entry.h libcxx/include/__cxx03/__filesystem/directory_iterator.h libcxx/include/__cxx03/__filesystem/directory_options.h libcxx/include/__cxx03/__filesystem/file_status.h libcxx/include/__cxx03/__filesystem/file_time_type.h libcxx/include/__cxx03/__filesystem/file_type.h libcxx/include/__cxx03/__filesystem/filesystem_error.h libcxx/include/__cxx03/__filesystem/operations.h libcxx/include/__cxx03/__filesystem/path.h libcxx/include/__cxx03/__filesystem/path_iterator.h libcxx/include/__cxx03/__filesystem/perm_options.h libcxx/include/__cxx03/__filesystem/perms.h libcxx/include/__cxx03/__filesystem/recursive_directory_iterator.h libcxx/include/__cxx03/__filesystem/space_info.h libcxx/include/__cxx03/__filesystem/u8path.h libcxx/include/__cxx03/__format/buffer.h libcxx/include/__cxx03/__format/concepts.h libcxx/include/__cxx03/__format/container_adaptor.h libcxx/include/__cxx03/__format/enable_insertable.h libcxx/include/__cxx03/__format/escaped_output_table.h libcxx/include/__cxx03/__format/extended_grapheme_cluster_table.h libcxx/include/__cxx03/__format/format_arg.h libcxx/include/__cxx03/__format/format_arg_store.h libcxx/include/__cxx03/__format/format_args.h libcxx/include/__cxx03/__format/format_context.h libcxx/include/__cxx03/__format/format_error.h libcxx/include/__cxx03/__format/format_functions.h libcxx/include/__cxx03/__format/format_parse_context.h libcxx/include/__cxx03/__format/format_string.h libcxx/include/__cxx03/__format/format_to_n_result.h libcxx/include/__cxx03/__format/formatter.h libcxx/include/__cxx03/__format/formatter_bool.h libcxx/include/__cxx03/__format/formatter_char.h libcxx/include/__cxx03/__format/formatter_floating_point.h libcxx/include/__cxx03/__format/formatter_integer.h libcxx/include/__cxx03/__format/formatter_integral.h libcxx/include/__cxx03/__format/formatter_output.h libcxx/include/__cxx03/__format/formatter_pointer.h libcxx/include/__cxx03/__format/formatter_string.h libcxx/include/__cxx03/__format/formatter_tuple.h libcxx/include/__cxx03/__format/indic_conjunct_break_table.h libcxx/include/__cxx03/__format/parser_std_format_spec.h libcxx/include/__cxx03/__format/range_default_formatter.h libcxx/include/__cxx03/__format/range_formatter.h libcxx/include/__cxx03/__format/unicode.h libcxx/include/__cxx03/__format/width_estimation_table.h libcxx/include/__cxx03/__format/write_escaped.h libcxx/include/__cxx03/__functional/binary_function.h libcxx/include/__cxx03/__functional/binary_negate.h libcxx/include/__cxx03/__functional/bind.h libcxx/include/__cxx03/__functional/bind_back.h libcxx/include/__cxx03/__functional/bind_front.h libcxx/include/__cxx03/__functional/binder1st.h libcxx/include/__cxx03/__functional/binder2nd.h libcxx/include/__cxx03/__functional/boyer_moore_searcher.h libcxx/include/__cxx03/__functional/compose.h libcxx/include/__cxx03/__functional/default_searcher.h libcxx/include/__cxx03/__functional/function.h libcxx/include/__cxx03/__functional/hash.h libcxx/include/__cxx03/__functional/identity.h libcxx/include/__cxx03/__functional/invoke.h libcxx/include/__cxx03/__functional/is_transparent.h libcxx/include/__cxx03/__functional/mem_fn.h libcxx/include/__cxx03/__functional/mem_fun_ref.h libcxx/include/__cxx03/__functional/not_fn.h libcxx/include/__cxx03/__functional/operations.h libcxx/include/__cxx03/__functional/perfect_forward.h libcxx/include/__cxx03/__functional/pointer_to_binary_function.h libcxx/include/__cxx03/__functional/pointer_to_unary_function.h libcxx/include/__cxx03/__functional/ranges_operations.h libcxx/include/__cxx03/__functional/reference_wrapper.h libcxx/include/__cxx03/__functional/unary_function.h libcxx/include/__cxx03/__functional/unary_negate.h libcxx/include/__cxx03/__functional/weak_result_type.h libcxx/include/__cxx03/__fwd/array.h libcxx/include/__cxx03/__fwd/bit_reference.h libcxx/include/__cxx03/__fwd/complex.h libcxx/include/__cxx03/__fwd/deque.h libcxx/include/__cxx03/__fwd/format.h libcxx/include/__cxx03/__fwd/fstream.h libcxx/include/__cxx03/__fwd/functional.h libcxx/include/__cxx03/__fwd/ios.h libcxx/include/__cxx03/__fwd/istream.h libcxx/include/__cxx03/__fwd/mdspan.h libcxx/include/__cxx03/__fwd/memory.h libcxx/include/__cxx03/__fwd/memory_resource.h libcxx/include/__cxx03/__fwd/ostream.h libcxx/include/__cxx03/__fwd/pair.h libcxx/include/__cxx03/__fwd/queue.h libcxx/include/__cxx03/__fwd/span.h libcxx/include/__cxx03/__fwd/sstream.h libcxx/include/__cxx03/__fwd/stack.h libcxx/include/__cxx03/__fwd/streambuf.h libcxx/include/__cxx03/__fwd/string.h libcxx/include/__cxx03/__fwd/string_view.h libcxx/include/__cxx03/__fwd/subrange.h libcxx/include/__cxx03/__fwd/tuple.h libcxx/include/__cxx03/__fwd/vector.h libcxx/include/__cxx03/__hash_table libcxx/include/__cxx03/__ios/fpos.h libcxx/include/__cxx03/__iterator/access.h libcxx/include/__cxx03/__iterator/advance.h libcxx/include/__cxx03/__iterator/aliasing_iterator.h libcxx/include/__cxx03/__iterator/back_insert_iterator.h libcxx/include/__cxx03/__iterator/bounded_iter.h libcxx/include/__cxx03/__iterator/common_iterator.h libcxx/include/__cxx03/__iterator/concepts.h libcxx/include/__cxx03/__iterator/counted_iterator.h libcxx/include/__cxx03/__iterator/cpp17_iterator_concepts.h libcxx/include/__cxx03/__iterator/data.h libcxx/include/__cxx03/__iterator/default_sentinel.h libcxx/include/__cxx03/__iterator/distance.h libcxx/include/__cxx03/__iterator/empty.h libcxx/include/__cxx03/__iterator/erase_if_container.h libcxx/include/__cxx03/__iterator/front_insert_iterator.h libcxx/include/__cxx03/__iterator/incrementable_traits.h libcxx/include/__cxx03/__iterator/indirectly_comparable.h libcxx/include/__cxx03/__iterator/insert_iterator.h libcxx/include/__cxx03/__iterator/istream_iterator.h libcxx/include/__cxx03/__iterator/istreambuf_iterator.h libcxx/include/__cxx03/__iterator/iter_move.h libcxx/include/__cxx03/__iterator/iter_swap.h libcxx/include/__cxx03/__iterator/iterator.h libcxx/include/__cxx03/__iterator/iterator_traits.h libcxx/include/__cxx03/__iterator/iterator_with_data.h libcxx/include/__cxx03/__iterator/mergeable.h libcxx/include/__cxx03/__iterator/move_iterator.h libcxx/include/__cxx03/__iterator/move_sentinel.h libcxx/include/__cxx03/__iterator/next.h libcxx/include/__cxx03/__iterator/ostream_iterator.h libcxx/include/__cxx03/__iterator/ostreambuf_iterator.h libcxx/include/__cxx03/__iterator/permutable.h libcxx/include/__cxx03/__iterator/prev.h libcxx/include/__cxx03/__iterator/projected.h libcxx/include/__cxx03/__iterator/ranges_iterator_traits.h libcxx/include/__cxx03/__iterator/readable_traits.h libcxx/include/__cxx03/__iterator/reverse_access.h libcxx/include/__cxx03/__iterator/reverse_iterator.h libcxx/include/__cxx03/__iterator/segmented_iterator.h libcxx/include/__cxx03/__iterator/size.h libcxx/include/__cxx03/__iterator/sortable.h libcxx/include/__cxx03/__iterator/unreachable_sentinel.h libcxx/include/__cxx03/__iterator/wrap_iter.h libcxx/include/__cxx03/__locale libcxx/include/__cxx03/__locale_dir/locale_base_api.h libcxx/include/__cxx03/__locale_dir/locale_base_api/android.h libcxx/include/__cxx03/__locale_dir/locale_base_api/bsd_locale_defaults.h libcxx/include/__cxx03/__locale_dir/locale_base_api/bsd_locale_fallbacks.h libcxx/include/__cxx03/__locale_dir/locale_base_api/fuchsia.h libcxx/include/__cxx03/__locale_dir/locale_base_api/ibm.h libcxx/include/__cxx03/__locale_dir/locale_base_api/locale_guard.h libcxx/include/__cxx03/__locale_dir/locale_base_api/musl.h libcxx/include/__cxx03/__locale_dir/locale_base_api/newlib.h libcxx/include/__cxx03/__locale_dir/locale_base_api/openbsd.h libcxx/include/__cxx03/__locale_dir/locale_base_api/win32.h libcxx/include/__cxx03/__math/abs.h libcxx/include/__cxx03/__math/copysign.h libcxx/include/__cxx03/__math/error_functions.h libcxx/include/__cxx03/__math/exponential_functions.h libcxx/include/__cxx03/__math/fdim.h libcxx/include/__cxx03/__math/fma.h libcxx/include/__cxx03/__math/gamma.h libcxx/include/__cxx03/__math/hyperbolic_functions.h libcxx/include/__cxx03/__math/hypot.h libcxx/include/__cxx03/__math/inverse_hyperbolic_functions.h libcxx/include/__cxx03/__math/inverse_trigonometric_functions.h libcxx/include/__cxx03/__math/logarithms.h libcxx/include/__cxx03/__math/min_max.h libcxx/include/__cxx03/__math/modulo.h libcxx/include/__cxx03/__math/remainder.h libcxx/include/__cxx03/__math/roots.h libcxx/include/__cxx03/__math/rounding_functions.h libcxx/include/__cxx03/__math/special_functions.h libcxx/include/__cxx03/__math/traits.h libcxx/include/__cxx03/__math/trigonometric_functions.h libcxx/include/__cxx03/__mbstate_t.h libcxx/include/__cxx03/__mdspan/default_accessor.h libcxx/include/__cxx03/__mdspan/extents.h libcxx/include/__cxx03/__mdspan/layout_left.h libcxx/include/__cxx03/__mdspan/layout_right.h libcxx/include/__cxx03/__mdspan/layout_stride.h libcxx/include/__cxx03/__mdspan/mdspan.h libcxx/include/__cxx03/__memory/addressof.h libcxx/include/__cxx03/__memory/align.h libcxx/include/__cxx03/__memory/aligned_alloc.h libcxx/include/__cxx03/__memory/allocate_at_least.h libcxx/include/__cxx03/__memory/allocation_guard.h libcxx/include/__cxx03/__memory/allocator.h libcxx/include/__cxx03/__memory/allocator_arg_t.h libcxx/include/__cxx03/__memory/allocator_destructor.h libcxx/include/__cxx03/__memory/allocator_traits.h libcxx/include/__cxx03/__memory/assume_aligned.h libcxx/include/__cxx03/__memory/auto_ptr.h libcxx/include/__cxx03/__memory/builtin_new_allocator.h libcxx/include/__cxx03/__memory/compressed_pair.h libcxx/include/__cxx03/__memory/concepts.h libcxx/include/__cxx03/__memory/construct_at.h libcxx/include/__cxx03/__memory/destruct_n.h libcxx/include/__cxx03/__memory/inout_ptr.h libcxx/include/__cxx03/__memory/out_ptr.h libcxx/include/__cxx03/__memory/pointer_traits.h libcxx/include/__cxx03/__memory/ranges_construct_at.h libcxx/include/__cxx03/__memory/ranges_uninitialized_algorithms.h libcxx/include/__cxx03/__memory/raw_storage_iterator.h libcxx/include/__cxx03/__memory/shared_ptr.h libcxx/include/__cxx03/__memory/swap_allocator.h libcxx/include/__cxx03/__memory/temp_value.h libcxx/include/__cxx03/__memory/temporary_buffer.h libcxx/include/__cxx03/__memory/uninitialized_algorithms.h libcxx/include/__cxx03/__memory/unique_ptr.h libcxx/include/__cxx03/__memory/uses_allocator.h libcxx/include/__cxx03/__memory/uses_allocator_construction.h libcxx/include/__cxx03/__memory/voidify.h libcxx/include/__cxx03/__memory_resource/memory_resource.h libcxx/include/__cxx03/__memory_resource/monotonic_buffer_resource.h libcxx/include/__cxx03/__memory_resource/polymorphic_allocator.h libcxx/include/__cxx03/__memory_resource/pool_options.h libcxx/include/__cxx03/__memory_resource/synchronized_pool_resource.h libcxx/include/__cxx03/__memory_resource/unsynchronized_pool_resource.h libcxx/include/__cxx03/__mutex/lock_guard.h libcxx/include/__cxx03/__mutex/mutex.h libcxx/include/__cxx03/__mutex/once_flag.h libcxx/include/__cxx03/__mutex/tag_types.h libcxx/include/__cxx03/__mutex/unique_lock.h libcxx/include/__cxx03/__node_handle libcxx/include/__cxx03/__numeric/accumulate.h libcxx/include/__cxx03/__numeric/adjacent_difference.h libcxx/include/__cxx03/__numeric/exclusive_scan.h libcxx/include/__cxx03/__numeric/gcd_lcm.h libcxx/include/__cxx03/__numeric/inclusive_scan.h libcxx/include/__cxx03/__numeric/inner_product.h libcxx/include/__cxx03/__numeric/iota.h libcxx/include/__cxx03/__numeric/midpoint.h libcxx/include/__cxx03/__numeric/partial_sum.h libcxx/include/__cxx03/__numeric/pstl.h libcxx/include/__cxx03/__numeric/reduce.h libcxx/include/__cxx03/__numeric/saturation_arithmetic.h libcxx/include/__cxx03/__numeric/transform_exclusive_scan.h libcxx/include/__cxx03/__numeric/transform_inclusive_scan.h libcxx/include/__cxx03/__numeric/transform_reduce.h libcxx/include/__cxx03/__ostream/basic_ostream.h libcxx/include/__cxx03/__ostream/print.h libcxx/include/__cxx03/__pstl/backend.h libcxx/include/__cxx03/__pstl/backend_fwd.h libcxx/include/__cxx03/__pstl/backends/default.h libcxx/include/__cxx03/__pstl/backends/libdispatch.h libcxx/include/__cxx03/__pstl/backends/serial.h libcxx/include/__cxx03/__pstl/backends/std_thread.h libcxx/include/__cxx03/__pstl/cpu_algos/any_of.h libcxx/include/__cxx03/__pstl/cpu_algos/cpu_traits.h libcxx/include/__cxx03/__pstl/cpu_algos/fill.h libcxx/include/__cxx03/__pstl/cpu_algos/find_if.h libcxx/include/__cxx03/__pstl/cpu_algos/for_each.h libcxx/include/__cxx03/__pstl/cpu_algos/merge.h libcxx/include/__cxx03/__pstl/cpu_algos/stable_sort.h libcxx/include/__cxx03/__pstl/cpu_algos/transform.h libcxx/include/__cxx03/__pstl/cpu_algos/transform_reduce.h libcxx/include/__cxx03/__pstl/dispatch.h libcxx/include/__cxx03/__pstl/handle_exception.h libcxx/include/__cxx03/__random/bernoulli_distribution.h libcxx/include/__cxx03/__random/binomial_distribution.h libcxx/include/__cxx03/__random/cauchy_distribution.h libcxx/include/__cxx03/__random/chi_squared_distribution.h libcxx/include/__cxx03/__random/clamp_to_integral.h libcxx/include/__cxx03/__random/default_random_engine.h libcxx/include/__cxx03/__random/discard_block_engine.h libcxx/include/__cxx03/__random/discrete_distribution.h libcxx/include/__cxx03/__random/exponential_distribution.h libcxx/include/__cxx03/__random/extreme_value_distribution.h libcxx/include/__cxx03/__random/fisher_f_distribution.h libcxx/include/__cxx03/__random/gamma_distribution.h libcxx/include/__cxx03/__random/generate_canonical.h libcxx/include/__cxx03/__random/geometric_distribution.h libcxx/include/__cxx03/__random/independent_bits_engine.h libcxx/include/__cxx03/__random/is_seed_sequence.h libcxx/include/__cxx03/__random/is_valid.h libcxx/include/__cxx03/__random/knuth_b.h libcxx/include/__cxx03/__random/linear_congruential_engine.h libcxx/include/__cxx03/__random/log2.h libcxx/include/__cxx03/__random/lognormal_distribution.h libcxx/include/__cxx03/__random/mersenne_twister_engine.h libcxx/include/__cxx03/__random/negative_binomial_distribution.h libcxx/include/__cxx03/__random/normal_distribution.h libcxx/include/__cxx03/__random/piecewise_constant_distribution.h libcxx/include/__cxx03/__random/piecewise_linear_distribution.h libcxx/include/__cxx03/__random/poisson_distribution.h libcxx/include/__cxx03/__random/random_device.h libcxx/include/__cxx03/__random/ranlux.h libcxx/include/__cxx03/__random/seed_seq.h libcxx/include/__cxx03/__random/shuffle_order_engine.h libcxx/include/__cxx03/__random/student_t_distribution.h libcxx/include/__cxx03/__random/subtract_with_carry_engine.h libcxx/include/__cxx03/__random/uniform_int_distribution.h libcxx/include/__cxx03/__random/uniform_random_bit_generator.h libcxx/include/__cxx03/__random/uniform_real_distribution.h libcxx/include/__cxx03/__random/weibull_distribution.h libcxx/include/__cxx03/__ranges/access.h libcxx/include/__cxx03/__ranges/all.h libcxx/include/__cxx03/__ranges/as_rvalue_view.h libcxx/include/__cxx03/__ranges/chunk_by_view.h libcxx/include/__cxx03/__ranges/common_view.h libcxx/include/__cxx03/__ranges/concepts.h libcxx/include/__cxx03/__ranges/container_compatible_range.h libcxx/include/__cxx03/__ranges/counted.h libcxx/include/__cxx03/__ranges/dangling.h libcxx/include/__cxx03/__ranges/data.h libcxx/include/__cxx03/__ranges/drop_view.h libcxx/include/__cxx03/__ranges/drop_while_view.h libcxx/include/__cxx03/__ranges/elements_view.h libcxx/include/__cxx03/__ranges/empty.h libcxx/include/__cxx03/__ranges/empty_view.h libcxx/include/__cxx03/__ranges/enable_borrowed_range.h libcxx/include/__cxx03/__ranges/enable_view.h libcxx/include/__cxx03/__ranges/filter_view.h libcxx/include/__cxx03/__ranges/from_range.h libcxx/include/__cxx03/__ranges/iota_view.h libcxx/include/__cxx03/__ranges/istream_view.h libcxx/include/__cxx03/__ranges/join_view.h libcxx/include/__cxx03/__ranges/lazy_split_view.h libcxx/include/__cxx03/__ranges/movable_box.h libcxx/include/__cxx03/__ranges/non_propagating_cache.h libcxx/include/__cxx03/__ranges/owning_view.h libcxx/include/__cxx03/__ranges/range_adaptor.h libcxx/include/__cxx03/__ranges/rbegin.h libcxx/include/__cxx03/__ranges/ref_view.h libcxx/include/__cxx03/__ranges/rend.h libcxx/include/__cxx03/__ranges/repeat_view.h libcxx/include/__cxx03/__ranges/reverse_view.h libcxx/include/__cxx03/__ranges/single_view.h libcxx/include/__cxx03/__ranges/size.h libcxx/include/__cxx03/__ranges/split_view.h libcxx/include/__cxx03/__ranges/subrange.h libcxx/include/__cxx03/__ranges/take_view.h libcxx/include/__cxx03/__ranges/take_while_view.h libcxx/include/__cxx03/__ranges/to.h libcxx/include/__cxx03/__ranges/transform_view.h libcxx/include/__cxx03/__ranges/view_interface.h libcxx/include/__cxx03/__ranges/views.h libcxx/include/__cxx03/__ranges/zip_view.h libcxx/include/__cxx03/__split_buffer libcxx/include/__cxx03/__std_clang_module libcxx/include/__cxx03/__std_mbstate_t.h libcxx/include/__cxx03/__stop_token/atomic_unique_lock.h libcxx/include/__cxx03/__stop_token/intrusive_list_view.h libcxx/include/__cxx03/__stop_token/intrusive_shared_ptr.h libcxx/include/__cxx03/__stop_token/stop_callback.h libcxx/include/__cxx03/__stop_token/stop_source.h libcxx/include/__cxx03/__stop_token/stop_state.h libcxx/include/__cxx03/__stop_token/stop_token.h libcxx/include/__cxx03/__string/char_traits.h libcxx/include/__cxx03/__string/constexpr_c_functions.h libcxx/include/__cxx03/__string/extern_template_lists.h libcxx/include/__cxx03/__support/ibm/gettod_zos.h libcxx/include/__cxx03/__support/ibm/locale_mgmt_zos.h libcxx/include/__cxx03/__support/ibm/nanosleep.h libcxx/include/__cxx03/__support/xlocale/__nop_locale_mgmt.h libcxx/include/__cxx03/__support/xlocale/__posix_l_fallback.h libcxx/include/__cxx03/__support/xlocale/__strtonum_fallback.h libcxx/include/__cxx03/__system_error/errc.h libcxx/include/__cxx03/__system_error/error_category.h libcxx/include/__cxx03/__system_error/error_code.h libcxx/include/__cxx03/__system_error/error_condition.h libcxx/include/__cxx03/__system_error/system_error.h libcxx/include/__cxx03/__thread/formatter.h libcxx/include/__cxx03/__thread/id.h libcxx/include/__cxx03/__thread/jthread.h libcxx/include/__cxx03/__thread/poll_with_backoff.h libcxx/include/__cxx03/__thread/support.h libcxx/include/__cxx03/__thread/support/c11.h libcxx/include/__cxx03/__thread/support/external.h libcxx/include/__cxx03/__thread/support/pthread.h libcxx/include/__cxx03/__thread/support/windows.h libcxx/include/__cxx03/__thread/this_thread.h libcxx/include/__cxx03/__thread/thread.h libcxx/include/__cxx03/__thread/timed_backoff_policy.h libcxx/include/__cxx03/__tree libcxx/include/__cxx03/__tuple/find_index.h libcxx/include/__cxx03/__tuple/ignore.h libcxx/include/__cxx03/__tuple/make_tuple_types.h libcxx/include/__cxx03/__tuple/sfinae_helpers.h libcxx/include/__cxx03/__tuple/tuple_element.h libcxx/include/__cxx03/__tuple/tuple_indices.h libcxx/include/__cxx03/__tuple/tuple_like.h libcxx/include/__cxx03/__tuple/tuple_like_ext.h libcxx/include/__cxx03/__tuple/tuple_like_no_subrange.h libcxx/include/__cxx03/__tuple/tuple_size.h libcxx/include/__cxx03/__tuple/tuple_types.h libcxx/include/__cxx03/__type_traits/add_const.h libcxx/include/__cxx03/__type_traits/add_cv.h libcxx/include/__cxx03/__type_traits/add_lvalue_reference.h libcxx/include/__cxx03/__type_traits/add_pointer.h libcxx/include/__cxx03/__type_traits/add_rvalue_reference.h libcxx/include/__cxx03/__type_traits/add_volatile.h libcxx/include/__cxx03/__type_traits/aligned_storage.h libcxx/include/__cxx03/__type_traits/aligned_union.h libcxx/include/__cxx03/__type_traits/alignment_of.h libcxx/include/__cxx03/__type_traits/can_extract_key.h libcxx/include/__cxx03/__type_traits/common_reference.h libcxx/include/__cxx03/__type_traits/common_type.h libcxx/include/__cxx03/__type_traits/conditional.h libcxx/include/__cxx03/__type_traits/conjunction.h libcxx/include/__cxx03/__type_traits/copy_cv.h libcxx/include/__cxx03/__type_traits/copy_cvref.h libcxx/include/__cxx03/__type_traits/datasizeof.h libcxx/include/__cxx03/__type_traits/decay.h libcxx/include/__cxx03/__type_traits/dependent_type.h libcxx/include/__cxx03/__type_traits/desugars_to.h libcxx/include/__cxx03/__type_traits/disjunction.h libcxx/include/__cxx03/__type_traits/enable_if.h libcxx/include/__cxx03/__type_traits/extent.h libcxx/include/__cxx03/__type_traits/has_unique_object_representation.h libcxx/include/__cxx03/__type_traits/has_virtual_destructor.h libcxx/include/__cxx03/__type_traits/integral_constant.h libcxx/include/__cxx03/__type_traits/invoke.h libcxx/include/__cxx03/__type_traits/is_abstract.h libcxx/include/__cxx03/__type_traits/is_aggregate.h libcxx/include/__cxx03/__type_traits/is_allocator.h libcxx/include/__cxx03/__type_traits/is_always_bitcastable.h libcxx/include/__cxx03/__type_traits/is_arithmetic.h libcxx/include/__cxx03/__type_traits/is_array.h libcxx/include/__cxx03/__type_traits/is_assignable.h libcxx/include/__cxx03/__type_traits/is_base_of.h libcxx/include/__cxx03/__type_traits/is_bounded_array.h libcxx/include/__cxx03/__type_traits/is_callable.h libcxx/include/__cxx03/__type_traits/is_char_like_type.h libcxx/include/__cxx03/__type_traits/is_class.h libcxx/include/__cxx03/__type_traits/is_compound.h libcxx/include/__cxx03/__type_traits/is_const.h libcxx/include/__cxx03/__type_traits/is_constant_evaluated.h libcxx/include/__cxx03/__type_traits/is_constructible.h libcxx/include/__cxx03/__type_traits/is_convertible.h libcxx/include/__cxx03/__type_traits/is_core_convertible.h libcxx/include/__cxx03/__type_traits/is_destructible.h libcxx/include/__cxx03/__type_traits/is_empty.h libcxx/include/__cxx03/__type_traits/is_enum.h libcxx/include/__cxx03/__type_traits/is_equality_comparable.h libcxx/include/__cxx03/__type_traits/is_execution_policy.h libcxx/include/__cxx03/__type_traits/is_final.h libcxx/include/__cxx03/__type_traits/is_floating_point.h libcxx/include/__cxx03/__type_traits/is_function.h libcxx/include/__cxx03/__type_traits/is_fundamental.h libcxx/include/__cxx03/__type_traits/is_implicitly_default_constructible.h libcxx/include/__cxx03/__type_traits/is_integral.h libcxx/include/__cxx03/__type_traits/is_literal_type.h libcxx/include/__cxx03/__type_traits/is_member_pointer.h libcxx/include/__cxx03/__type_traits/is_nothrow_assignable.h libcxx/include/__cxx03/__type_traits/is_nothrow_constructible.h libcxx/include/__cxx03/__type_traits/is_nothrow_convertible.h libcxx/include/__cxx03/__type_traits/is_nothrow_destructible.h libcxx/include/__cxx03/__type_traits/is_null_pointer.h libcxx/include/__cxx03/__type_traits/is_object.h libcxx/include/__cxx03/__type_traits/is_pod.h libcxx/include/__cxx03/__type_traits/is_pointer.h libcxx/include/__cxx03/__type_traits/is_polymorphic.h libcxx/include/__cxx03/__type_traits/is_primary_template.h libcxx/include/__cxx03/__type_traits/is_reference.h libcxx/include/__cxx03/__type_traits/is_reference_wrapper.h libcxx/include/__cxx03/__type_traits/is_referenceable.h libcxx/include/__cxx03/__type_traits/is_same.h libcxx/include/__cxx03/__type_traits/is_scalar.h libcxx/include/__cxx03/__type_traits/is_signed.h libcxx/include/__cxx03/__type_traits/is_signed_integer.h libcxx/include/__cxx03/__type_traits/is_specialization.h libcxx/include/__cxx03/__type_traits/is_standard_layout.h libcxx/include/__cxx03/__type_traits/is_swappable.h libcxx/include/__cxx03/__type_traits/is_trivial.h libcxx/include/__cxx03/__type_traits/is_trivially_assignable.h libcxx/include/__cxx03/__type_traits/is_trivially_constructible.h libcxx/include/__cxx03/__type_traits/is_trivially_copyable.h libcxx/include/__cxx03/__type_traits/is_trivially_destructible.h libcxx/include/__cxx03/__type_traits/is_trivially_lexicographically_comparable.h libcxx/include/__cxx03/__type_traits/is_trivially_relocatable.h libcxx/include/__cxx03/__type_traits/is_unbounded_array.h libcxx/include/__cxx03/__type_traits/is_union.h libcxx/include/__cxx03/__type_traits/is_unsigned.h libcxx/include/__cxx03/__type_traits/is_unsigned_integer.h libcxx/include/__cxx03/__type_traits/is_valid_expansion.h libcxx/include/__cxx03/__type_traits/is_void.h libcxx/include/__cxx03/__type_traits/is_volatile.h libcxx/include/__cxx03/__type_traits/lazy.h libcxx/include/__cxx03/__type_traits/make_32_64_or_128_bit.h libcxx/include/__cxx03/__type_traits/make_const_lvalue_ref.h libcxx/include/__cxx03/__type_traits/make_signed.h libcxx/include/__cxx03/__type_traits/make_unsigned.h libcxx/include/__cxx03/__type_traits/maybe_const.h libcxx/include/__cxx03/__type_traits/nat.h libcxx/include/__cxx03/__type_traits/negation.h libcxx/include/__cxx03/__type_traits/noexcept_move_assign_container.h libcxx/include/__cxx03/__type_traits/promote.h libcxx/include/__cxx03/__type_traits/rank.h libcxx/include/__cxx03/__type_traits/remove_all_extents.h libcxx/include/__cxx03/__type_traits/remove_const.h libcxx/include/__cxx03/__type_traits/remove_const_ref.h libcxx/include/__cxx03/__type_traits/remove_cv.h libcxx/include/__cxx03/__type_traits/remove_cvref.h libcxx/include/__cxx03/__type_traits/remove_extent.h libcxx/include/__cxx03/__type_traits/remove_pointer.h libcxx/include/__cxx03/__type_traits/remove_reference.h libcxx/include/__cxx03/__type_traits/remove_volatile.h libcxx/include/__cxx03/__type_traits/result_of.h libcxx/include/__cxx03/__type_traits/strip_signature.h libcxx/include/__cxx03/__type_traits/type_identity.h libcxx/include/__cxx03/__type_traits/type_list.h libcxx/include/__cxx03/__type_traits/underlying_type.h libcxx/include/__cxx03/__type_traits/unwrap_ref.h libcxx/include/__cxx03/__type_traits/void_t.h libcxx/include/__cxx03/__utility/as_const.h libcxx/include/__cxx03/__utility/as_lvalue.h libcxx/include/__cxx03/__utility/auto_cast.h libcxx/include/__cxx03/__utility/cmp.h libcxx/include/__cxx03/__utility/convert_to_integral.h libcxx/include/__cxx03/__utility/declval.h libcxx/include/__cxx03/__utility/empty.h libcxx/include/__cxx03/__utility/exception_guard.h libcxx/include/__cxx03/__utility/exchange.h libcxx/include/__cxx03/__utility/forward.h libcxx/include/__cxx03/__utility/forward_like.h libcxx/include/__cxx03/__utility/in_place.h libcxx/include/__cxx03/__utility/integer_sequence.h libcxx/include/__cxx03/__utility/is_pointer_in_range.h libcxx/include/__cxx03/__utility/is_valid_range.h libcxx/include/__cxx03/__utility/move.h libcxx/include/__cxx03/__utility/no_destroy.h libcxx/include/__cxx03/__utility/pair.h libcxx/include/__cxx03/__utility/piecewise_construct.h libcxx/include/__cxx03/__utility/priority_tag.h libcxx/include/__cxx03/__utility/private_constructor_tag.h libcxx/include/__cxx03/__utility/rel_ops.h libcxx/include/__cxx03/__utility/small_buffer.h libcxx/include/__cxx03/__utility/swap.h libcxx/include/__cxx03/__utility/to_underlying.h libcxx/include/__cxx03/__utility/unreachable.h libcxx/include/__cxx03/__variant/monostate.h libcxx/include/__cxx03/__verbose_abort libcxx/include/__cxx03/algorithm libcxx/include/__cxx03/any libcxx/include/__cxx03/array libcxx/include/__cxx03/atomic libcxx/include/__cxx03/barrier libcxx/include/__cxx03/bit libcxx/include/__cxx03/bitset libcxx/include/__cxx03/ccomplex libcxx/include/__cxx03/cctype libcxx/include/__cxx03/cerrno libcxx/include/__cxx03/cfenv libcxx/include/__cxx03/cfloat libcxx/include/__cxx03/charconv libcxx/include/__cxx03/chrono libcxx/include/__cxx03/cinttypes libcxx/include/__cxx03/ciso646 libcxx/include/__cxx03/climits libcxx/include/__cxx03/clocale libcxx/include/__cxx03/cmath libcxx/include/__cxx03/codecvt libcxx/include/__cxx03/compare libcxx/include/__cxx03/complex libcxx/include/__cxx03/complex.h libcxx/include/__cxx03/concepts libcxx/include/__cxx03/condition_variable libcxx/include/__cxx03/coroutine libcxx/include/__cxx03/csetjmp libcxx/include/__cxx03/csignal libcxx/include/__cxx03/cstdarg libcxx/include/__cxx03/cstdbool libcxx/include/__cxx03/cstddef libcxx/include/__cxx03/cstdint libcxx/include/__cxx03/cstdio libcxx/include/__cxx03/cstdlib libcxx/include/__cxx03/cstring libcxx/include/__cxx03/ctgmath libcxx/include/__cxx03/ctime libcxx/include/__cxx03/ctype.h libcxx/include/__cxx03/cuchar libcxx/include/__cxx03/cwchar libcxx/include/__cxx03/cwctype libcxx/include/__cxx03/deque libcxx/include/__cxx03/errno.h libcxx/include/__cxx03/exception libcxx/include/__cxx03/execution libcxx/include/__cxx03/expected libcxx/include/__cxx03/experimental/__config libcxx/include/__cxx03/experimental/__simd/aligned_tag.h libcxx/include/__cxx03/experimental/__simd/declaration.h libcxx/include/__cxx03/experimental/__simd/reference.h libcxx/include/__cxx03/experimental/__simd/scalar.h libcxx/include/__cxx03/experimental/__simd/simd.h libcxx/include/__cxx03/experimental/__simd/simd_mask.h libcxx/include/__cxx03/experimental/__simd/traits.h libcxx/include/__cxx03/experimental/__simd/utility.h libcxx/include/__cxx03/experimental/__simd/vec_ext.h libcxx/include/__cxx03/experimental/iterator libcxx/include/__cxx03/experimental/memory libcxx/include/__cxx03/experimental/propagate_const libcxx/include/__cxx03/experimental/simd libcxx/include/__cxx03/experimental/type_traits libcxx/include/__cxx03/experimental/utility libcxx/include/__cxx03/ext/__hash libcxx/include/__cxx03/ext/hash_map libcxx/include/__cxx03/ext/hash_set libcxx/include/__cxx03/fenv.h libcxx/include/__cxx03/filesystem libcxx/include/__cxx03/float.h libcxx/include/__cxx03/format libcxx/include/__cxx03/forward_list libcxx/include/__cxx03/fstream libcxx/include/__cxx03/functional libcxx/include/__cxx03/future libcxx/include/__cxx03/initializer_list libcxx/include/__cxx03/inttypes.h libcxx/include/__cxx03/iomanip libcxx/include/__cxx03/ios libcxx/include/__cxx03/iosfwd libcxx/include/__cxx03/iostream libcxx/include/__cxx03/istream libcxx/include/__cxx03/iterator libcxx/include/__cxx03/latch libcxx/include/__cxx03/limits libcxx/include/__cxx03/list libcxx/include/__cxx03/locale libcxx/include/__cxx03/locale.h libcxx/include/__cxx03/map libcxx/include/__cxx03/math.h libcxx/include/__cxx03/mdspan libcxx/include/__cxx03/memory libcxx/include/__cxx03/memory_resource libcxx/include/__cxx03/mutex libcxx/include/__cxx03/new libcxx/include/__cxx03/numbers libcxx/include/__cxx03/numeric libcxx/include/__cxx03/optional libcxx/include/__cxx03/ostream libcxx/include/__cxx03/print libcxx/include/__cxx03/queue libcxx/include/__cxx03/random libcxx/include/__cxx03/ranges libcxx/include/__cxx03/ratio libcxx/include/__cxx03/regex libcxx/include/__cxx03/scoped_allocator libcxx/include/__cxx03/semaphore libcxx/include/__cxx03/set libcxx/include/__cxx03/shared_mutex libcxx/include/__cxx03/source_location libcxx/include/__cxx03/span libcxx/include/__cxx03/sstream libcxx/include/__cxx03/stack libcxx/include/__cxx03/stdatomic.h libcxx/include/__cxx03/stdbool.h libcxx/include/__cxx03/stddef.h libcxx/include/__cxx03/stdexcept libcxx/include/__cxx03/stdint.h libcxx/include/__cxx03/stdio.h libcxx/include/__cxx03/stdlib.h libcxx/include/__cxx03/stop_token libcxx/include/__cxx03/streambuf libcxx/include/__cxx03/string libcxx/include/__cxx03/string.h libcxx/include/__cxx03/string_view libcxx/include/__cxx03/strstream libcxx/include/__cxx03/syncstream libcxx/include/__cxx03/system_error libcxx/include/__cxx03/tgmath.h libcxx/include/__cxx03/thread libcxx/include/__cxx03/tuple libcxx/include/__cxx03/type_traits libcxx/include/__cxx03/typeindex libcxx/include/__cxx03/typeinfo libcxx/include/__cxx03/uchar.h libcxx/include/__cxx03/unordered_map libcxx/include/__cxx03/unordered_set libcxx/include/__cxx03/utility libcxx/include/__cxx03/valarray libcxx/include/__cxx03/variant libcxx/include/__cxx03/vector libcxx/include/__cxx03/version libcxx/include/__cxx03/wchar.h libcxx/include/__cxx03/wctype.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__cxx03/__algorithm/pstl.h b/libcxx/include/__cxx03/__algorithm/pstl.h
index 933dafda00..7c3a10e9d2 100644
--- a/libcxx/include/__cxx03/__algorithm/pstl.h
+++ b/libcxx/include/__cxx03/__algorithm/pstl.h
@@ -377,8 +377,10 @@ merge(_ExecutionPolicy&& __policy,
_Comp __comp) {
_LIBCPP___CXX03_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator1, "merge requires ForwardIterators");
_LIBCPP___CXX03_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator2, "merge requires ForwardIterators");
- _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, decltype(*__first1), "merge requires an OutputIterator");
- _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, decltype(*__first2), "merge requires an OutputIterator");
+ _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(
+ _ForwardOutIterator, decltype(*__first1), "merge requires an OutputIterator");
+ _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(
+ _ForwardOutIterator, decltype(*__first2), "merge requires an OutputIterator");
using _Implementation = __pstl::__dispatch<__pstl::__merge, __pstl::__current_configuration, _RawPolicy>;
return __pstl::__handle_exception<_Implementation>(
std::forward<_ExecutionPolicy>(__policy),
@@ -405,8 +407,10 @@ merge(_ExecutionPolicy&& __policy,
_ForwardOutIterator __result) {
_LIBCPP___CXX03_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator1, "merge requires ForwardIterators");
_LIBCPP___CXX03_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator2, "merge requires ForwardIterators");
- _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, decltype(*__first1), "merge requires an OutputIterator");
- _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, decltype(*__first2), "merge requires an OutputIterator");
+ _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(
+ _ForwardOutIterator, decltype(*__first1), "merge requires an OutputIterator");
+ _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(
+ _ForwardOutIterator, decltype(*__first2), "merge requires an OutputIterator");
using _Implementation = __pstl::__dispatch<__pstl::__merge, __pstl::__current_configuration, _RawPolicy>;
return __pstl::__handle_exception<_Implementation>(
std::forward<_ExecutionPolicy>(__policy),
@@ -487,7 +491,8 @@ _LIBCPP_HIDE_FROM_ABI void replace_copy_if(
_LIBCPP___CXX03_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardOutIterator, "replace_copy_if requires ForwardIterators");
_LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(
_ForwardOutIterator, decltype(*__first), "replace_copy_if requires an OutputIterator");
- _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, const _Tp&, "replace_copy requires an OutputIterator");
+ _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(
+ _ForwardOutIterator, const _Tp&, "replace_copy requires an OutputIterator");
using _Implementation = __pstl::__dispatch<__pstl::__replace_copy_if, __pstl::__current_configuration, _RawPolicy>;
__pstl::__handle_exception<_Implementation>(
std::forward<_ExecutionPolicy>(__policy),
@@ -515,7 +520,8 @@ _LIBCPP_HIDE_FROM_ABI void replace_copy(
_LIBCPP___CXX03_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardOutIterator, "replace_copy requires ForwardIterators");
_LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(
_ForwardOutIterator, decltype(*__first), "replace_copy requires an OutputIterator");
- _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, const _Tp&, "replace_copy requires an OutputIterator");
+ _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(
+ _ForwardOutIterator, const _Tp&, "replace_copy requires an OutputIterator");
using _Implementation = __pstl::__dispatch<__pstl::__replace_copy, __pstl::__current_configuration, _RawPolicy>;
__pstl::__handle_exception<_Implementation>(
std::forward<_ExecutionPolicy>(__policy),
@@ -582,7 +588,8 @@ template <class _ExecutionPolicy,
enable_if_t<is_execution_policy_v<_RawPolicy>, int> = 0>
_LIBCPP_HIDE_FROM_ABI void
stable_sort(_ExecutionPolicy&& __policy, _RandomAccessIterator __first, _RandomAccessIterator __last, _Comp __comp) {
- _LIBCPP___CXX03_REQUIRE_CPP17_RANDOM_ACCESS_ITERATOR(_RandomAccessIterator, "stable_sort requires RandomAccessIterators");
+ _LIBCPP___CXX03_REQUIRE_CPP17_RANDOM_ACCESS_ITERATOR(
+ _RandomAccessIterator, "stable_sort requires RandomAccessIterators");
using _Implementation = __pstl::__dispatch<__pstl::__stable_sort, __pstl::__current_configuration, _RawPolicy>;
__pstl::__handle_exception<_Implementation>(
std::forward<_ExecutionPolicy>(__policy), std::move(__first), std::move(__last), std::move(__comp));
@@ -594,7 +601,8 @@ template <class _ExecutionPolicy,
enable_if_t<is_execution_policy_v<_RawPolicy>, int> = 0>
_LIBCPP_HIDE_FROM_ABI void
stable_sort(_ExecutionPolicy&& __policy, _RandomAccessIterator __first, _RandomAccessIterator __last) {
- _LIBCPP___CXX03_REQUIRE_CPP17_RANDOM_ACCESS_ITERATOR(_RandomAccessIterator, "stable_sort requires RandomAccessIterators");
+ _LIBCPP___CXX03_REQUIRE_CPP17_RANDOM_ACCESS_ITERATOR(
+ _RandomAccessIterator, "stable_sort requires RandomAccessIterators");
using _Implementation = __pstl::__dispatch<__pstl::__stable_sort, __pstl::__current_configuration, _RawPolicy>;
__pstl::__handle_exception<_Implementation>(
std::forward<_ExecutionPolicy>(__policy), std::move(__first), std::move(__last), less{});
diff --git a/libcxx/include/__cxx03/__algorithm/shuffle.h b/libcxx/include/__cxx03/__algorithm/shuffle.h
index 9c84730c80..6d0d8e6a79 100644
--- a/libcxx/include/__cxx03/__algorithm/shuffle.h
+++ b/libcxx/include/__cxx03/__algorithm/shuffle.h
@@ -62,7 +62,8 @@ private:
}
};
-#if _LIBCPP_STD_VER <= 14 || defined(_LIBCPP___CXX03_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE) || defined(_LIBCPP_BUILDING_LIBRARY)
+#if _LIBCPP_STD_VER <= 14 || defined(_LIBCPP___CXX03_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE) || \
+ defined(_LIBCPP_BUILDING_LIBRARY)
class _LIBCPP_EXPORTED_FROM_ABI __rs_default;
_LIBCPP_EXPORTED_FROM_ABI __rs_default __rs_get();
diff --git a/libcxx/include/__cxx03/__assert b/libcxx/include/__cxx03/__assert
index 3abb64c844..d3c30b8e62 100644
--- a/libcxx/include/__cxx03/__assert
+++ b/libcxx/include/__cxx03/__assert
@@ -17,17 +17,17 @@
# pragma GCC system_header
#endif
-#define _LIBCPP___CXX03_ASSERT(expression, message) \
+#define _LIBCPP___CXX03_ASSERT(expression, message) \
(__builtin_expect(static_cast<bool>(expression), 1) \
? (void)0 \
- : _LIBCPP___CXX03_ASSERTION_HANDLER(__FILE__ ":" _LIBCPP_TOSTRING(__LINE__) ": assertion " _LIBCPP_TOSTRING( \
+ : _LIBCPP___CXX03_ASSERTION_HANDLER(__FILE__ ":" _LIBCPP_TOSTRING(__LINE__) ": assertion " _LIBCPP_TOSTRING( \
expression) " failed: " message "\n"))
// TODO: __builtin_assume can currently inhibit optimizations. Until this has been fixed and we can add
// assumptions without a clear optimization intent, disable that to avoid worsening the code generation.
// See https://discourse.llvm.org/t/llvm-assume-blocks-optimization/71609 for a discussion.
#if 0 && __has_builtin(__builtin_assume)
-# define _LIBCPP___CXX03_ASSUME(expression) \
+# define _LIBCPP___CXX03_ASSUME(expression) \
(_LIBCPP_DIAGNOSTIC_PUSH _LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wassume") \
__builtin_assume(static_cast<bool>(expression)) _LIBCPP_DIAGNOSTIC_POP)
#else
diff --git a/libcxx/include/__cxx03/__atomic/check_memory_order.h b/libcxx/include/__cxx03/__atomic/check_memory_order.h
index 62bc8bf3e0..a78c77a632 100644
--- a/libcxx/include/__cxx03/__atomic/check_memory_order.h
+++ b/libcxx/include/__cxx03/__atomic/check_memory_order.h
@@ -15,19 +15,19 @@
# pragma GCC system_header
#endif
-#define _LIBCPP___CXX03_CHECK_STORE_MEMORY_ORDER(__m) \
+#define _LIBCPP___CXX03_CHECK_STORE_MEMORY_ORDER(__m) \
_LIBCPP_DIAGNOSE_WARNING(__m == memory_order_consume || __m == memory_order_acquire || __m == memory_order_acq_rel, \
"memory order argument to atomic operation is invalid")
-#define _LIBCPP___CXX03_CHECK_LOAD_MEMORY_ORDER(__m) \
+#define _LIBCPP___CXX03_CHECK_LOAD_MEMORY_ORDER(__m) \
_LIBCPP_DIAGNOSE_WARNING(__m == memory_order_release || __m == memory_order_acq_rel, \
"memory order argument to atomic operation is invalid")
-#define _LIBCPP___CXX03_CHECK_EXCHANGE_MEMORY_ORDER(__m, __f) \
+#define _LIBCPP___CXX03_CHECK_EXCHANGE_MEMORY_ORDER(__m, __f) \
_LIBCPP_DIAGNOSE_WARNING(__f == memory_order_release || __f == memory_order_acq_rel, \
"memory order argument to atomic operation is invalid")
-#define _LIBCPP___CXX03_CHECK_WAIT_MEMORY_ORDER(__m) \
+#define _LIBCPP___CXX03_CHECK_WAIT_MEMORY_ORDER(__m) \
_LIBCPP_DIAGNOSE_WARNING(__m == memory_order_release || __m == memory_order_acq_rel, \
"memory order argument to atomic operation is invalid")
diff --git a/libcxx/include/__cxx03/__chrono/convert_to_tm.h b/libcxx/include/__cxx03/__chrono/convert_to_tm.h
index 556e5805e2..9b29fe4ec1 100644
--- a/libcxx/include/__cxx03/__chrono/convert_to_tm.h
+++ b/libcxx/include/__cxx03/__chrono/convert_to_tm.h
@@ -180,7 +180,7 @@ _LIBCPP_HIDE_FROM_ABI _Tm __convert_to_tm(const _ChronoT& __value) {
// Has no time information.
} else if constexpr (same_as<_ChronoT, chrono::local_info>) {
// Has no time information.
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
} else if constexpr (__is_specialization_v<_ChronoT, chrono::zoned_time>) {
return std::__convert_to_tm<_Tm>(
diff --git a/libcxx/include/__cxx03/__chrono/formatter.h b/libcxx/include/__cxx03/__chrono/formatter.h
index 3a2469fae8..6d96fe5f0f 100644
--- a/libcxx/include/__cxx03/__chrono/formatter.h
+++ b/libcxx/include/__cxx03/__chrono/formatter.h
@@ -139,7 +139,7 @@ __format_sub_seconds(basic_stringstream<_CharT>& __sstr, const chrono::hh_mm_ss<
__value.fractional_width);
}
-# if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB) && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
+# if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB) && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
!defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
template <class _CharT, class _Duration, class _TimeZonePtr>
_LIBCPP_HIDE_FROM_ABI void
@@ -152,7 +152,7 @@ template <class _Tp>
consteval bool __use_fraction() {
if constexpr (__is_time_point<_Tp>)
return chrono::hh_mm_ss<typename _Tp::duration>::fractional_width;
-# if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB) && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
+# if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB) && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
!defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>)
return chrono::hh_mm_ss<typename _Tp::duration>::fractional_width;
@@ -228,7 +228,7 @@ _LIBCPP_HIDE_FROM_ABI __time_zone __convert_to_time_zone([[maybe_unused]] const
# if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)
if constexpr (same_as<_Tp, chrono::sys_info>)
return {__value.abbrev, __value.offset};
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>)
return __formatter::__convert_to_time_zone(__value.get_info());
@@ -447,7 +447,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool __weekday_ok(const _Tp& __value) {
return true;
else if constexpr (same_as<_Tp, chrono::local_info>)
return true;
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>)
return true;
@@ -498,7 +498,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool __weekday_name_ok(const _Tp& __value) {
return true;
else if constexpr (same_as<_Tp, chrono::local_info>)
return true;
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>)
return true;
@@ -549,7 +549,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool __date_ok(const _Tp& __value) {
return true;
else if constexpr (same_as<_Tp, chrono::local_info>)
return true;
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>)
return true;
@@ -600,7 +600,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool __month_name_ok(const _Tp& __value) {
return true;
else if constexpr (same_as<_Tp, chrono::local_info>)
return true;
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>)
return true;
@@ -965,7 +965,7 @@ public:
return _Base::__parse(__ctx, __format_spec::__fields_chrono, __format_spec::__flags{});
}
};
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
// Note due to how libc++'s formatters are implemented there is no need to add
// the exposition only local-time-format-t abstraction.
diff --git a/libcxx/include/__cxx03/__chrono/ostream.h b/libcxx/include/__cxx03/__chrono/ostream.h
index 7d4645daf6..dbcd80dd57 100644
--- a/libcxx/include/__cxx03/__chrono/ostream.h
+++ b/libcxx/include/__cxx03/__chrono/ostream.h
@@ -175,12 +175,13 @@ template <class _CharT, class _Traits>
_LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>&
operator<<(basic_ostream<_CharT, _Traits>& __os, const weekday_indexed& __wdi) {
auto __i = __wdi.index();
- return __os << (__i >= 1 && __i <= 5
- ? std::format(__os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}[{}]"), __wdi.weekday(), __i)
- : std::format(__os.getloc(),
- _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}[{} is not a valid index]"),
- __wdi.weekday(),
- __i));
+ return __os
+ << (__i >= 1 && __i <= 5
+ ? std::format(__os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}[{}]"), __wdi.weekday(), __i)
+ : std::format(__os.getloc(),
+ _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}[{} is not a valid index]"),
+ __wdi.weekday(),
+ __i));
}
template <class _CharT, class _Traits>
@@ -194,7 +195,8 @@ _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>&
operator<<(basic_ostream<_CharT, _Traits>& __os, const month_day& __md) {
// TODO FMT The Standard allows 30th of February to be printed.
// It would be nice to show an error message instead.
- return __os << std::format(__os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}/{}"), __md.month(), __md.day());
+ return __os << std::format(
+ __os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}/{}"), __md.month(), __md.day());
}
template <class _CharT, class _Traits>
@@ -206,35 +208,43 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const month_day_last& __mdl) {
template <class _CharT, class _Traits>
_LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>&
operator<<(basic_ostream<_CharT, _Traits>& __os, const month_weekday& __mwd) {
- return __os << std::format(
- __os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}/{:L}"), __mwd.month(), __mwd.weekday_indexed());
+ return __os << std::format(__os.getloc(),
+ _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}/{:L}"),
+ __mwd.month(),
+ __mwd.weekday_indexed());
}
template <class _CharT, class _Traits>
_LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>&
operator<<(basic_ostream<_CharT, _Traits>& __os, const month_weekday_last& __mwdl) {
- return __os << std::format(
- __os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}/{:L}"), __mwdl.month(), __mwdl.weekday_last());
+ return __os << std::format(__os.getloc(),
+ _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:L}/{:L}"),
+ __mwdl.month(),
+ __mwdl.weekday_last());
}
template <class _CharT, class _Traits>
_LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>&
operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month& __ym) {
- return __os << std::format(__os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{}/{:L}"), __ym.year(), __ym.month());
+ return __os << std::format(
+ __os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{}/{:L}"), __ym.year(), __ym.month());
}
template <class _CharT, class _Traits>
_LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>&
operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_day& __ymd) {
- return __os << (__ymd.ok() ? std::format(_LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:%F}"), __ymd)
- : std::format(_LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:%F} is not a valid date"), __ymd));
+ return __os << (__ymd.ok()
+ ? std::format(_LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:%F}"), __ymd)
+ : std::format(_LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{:%F} is not a valid date"), __ymd));
}
template <class _CharT, class _Traits>
_LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>&
operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_day_last& __ymdl) {
- return __os << std::format(
- __os.getloc(), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{}/{:L}"), __ymdl.year(), __ymdl.month_day_last());
+ return __os << std::format(__os.getloc(),
+ _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{}/{:L}"),
+ __ymdl.year(),
+ __ymdl.month_day_last());
}
template <class _CharT, class _Traits>
@@ -303,7 +313,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const local_info& __info) {
_LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{}: {{{}, {}}}"), __result(), __info.first, __info.second);
}
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
template <class _CharT, class _Traits, class _Duration, class _TimeZonePtr>
_LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>&
diff --git a/libcxx/include/__cxx03/__chrono/time_zone.h b/libcxx/include/__cxx03/__chrono/time_zone.h
index 597024a7bf..1283919620 100644
--- a/libcxx/include/__cxx03/__chrono/time_zone.h
+++ b/libcxx/include/__cxx03/__chrono/time_zone.h
@@ -37,8 +37,8 @@ _LIBCPP_PUSH_MACROS
_LIBCPP_BEGIN_NAMESPACE_STD
-# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
- !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
+# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
+ !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
namespace chrono {
@@ -170,7 +170,8 @@ operator<=>(const time_zone& __x, const time_zone& __y) noexcept {
} // namespace chrono
-# endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM)
+# endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) &&
+ // !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM)
// && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
_LIBCPP_END_NAMESPACE_STD
diff --git a/libcxx/include/__cxx03/__chrono/time_zone_link.h b/libcxx/include/__cxx03/__chrono/time_zone_link.h
index aab9e01ba4..24044cb3a3 100644
--- a/libcxx/include/__cxx03/__chrono/time_zone_link.h
+++ b/libcxx/include/__cxx03/__chrono/time_zone_link.h
@@ -31,8 +31,8 @@ _LIBCPP_PUSH_MACROS
_LIBCPP_BEGIN_NAMESPACE_STD
-# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
- !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
+# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
+ !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
namespace chrono {
diff --git a/libcxx/include/__cxx03/__chrono/tzdb.h b/libcxx/include/__cxx03/__chrono/tzdb.h
index c1ccf316da..144a4a4787 100644
--- a/libcxx/include/__cxx03/__chrono/tzdb.h
+++ b/libcxx/include/__cxx03/__chrono/tzdb.h
@@ -33,8 +33,8 @@ _LIBCPP_PUSH_MACROS
_LIBCPP_BEGIN_NAMESPACE_STD
-# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
- !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
+# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
+ !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
namespace chrono {
@@ -82,7 +82,8 @@ private:
} // namespace chrono
-# endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM)
+# endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) &&
+ // !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM)
// && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
_LIBCPP_END_NAMESPACE_STD
diff --git a/libcxx/include/__cxx03/__chrono/tzdb_list.h b/libcxx/include/__cxx03/__chrono/tzdb_list.h
index 849beafeb3..90672778ce 100644
--- a/libcxx/include/__cxx03/__chrono/tzdb_list.h
+++ b/libcxx/include/__cxx03/__chrono/tzdb_list.h
@@ -28,8 +28,8 @@
_LIBCPP_BEGIN_NAMESPACE_STD
-# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
- !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
+# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
+ !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
namespace chrono {
@@ -98,7 +98,8 @@ _LIBCPP_AVAILABILITY_TZDB _LIBCPP_EXPORTED_FROM_ABI const tzdb& reload_tzdb();
} // namespace chrono
-# endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM)
+# endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) &&
+ // !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM)
// && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
_LIBCPP_END_NAMESPACE_STD
diff --git a/libcxx/include/__cxx03/__chrono/zoned_time.h b/libcxx/include/__cxx03/__chrono/zoned_time.h
index ccc6ce289c..a34c1136d2 100644
--- a/libcxx/include/__cxx03/__chrono/zoned_time.h
+++ b/libcxx/include/__cxx03/__chrono/zoned_time.h
@@ -38,8 +38,8 @@ _LIBCPP_PUSH_MACROS
_LIBCPP_BEGIN_NAMESPACE_STD
-# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
- !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
+# if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && \
+ !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
namespace chrono {
@@ -215,7 +215,8 @@ operator==(const zoned_time<_Duration1, _TimeZonePtr>& __lhs, const zoned_time<_
} // namespace chrono
-# endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM)
+# endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) &&
+ // !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM)
// && !defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
_LIBCPP_END_NAMESPACE_STD
diff --git a/libcxx/include/__cxx03/__exception/operations.h b/libcxx/include/__cxx03/__exception/operations.h
index e49c53db52..7723a52f2e 100644
--- a/libcxx/include/__cxx03/__exception/operations.h
+++ b/libcxx/include/__cxx03/__exception/operations.h
@@ -17,7 +17,7 @@
#endif
namespace std { // purposefully not using versioning namespace
-#if _LIBCPP_STD_VER <= 14 || defined(_LIBCPP___CXX03_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS) || \
+#if _LIBCPP_STD_VER <= 14 || defined(_LIBCPP___CXX03_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS) || \
defined(_LIBCPP_BUILDING_LIBRARY)
using unexpected_handler = void (*)();
_LIBCPP_EXPORTED_FROM_ABI unexpected_handler set_unexpected(unexpected_handler) _NOEXCEPT;
diff --git a/libcxx/include/__cxx03/__format/range_default_formatter.h b/libcxx/include/__cxx03/__format/range_default_formatter.h
index 1dbfd3b8b6..a70c8dcb4d 100644
--- a/libcxx/include/__cxx03/__format/range_default_formatter.h
+++ b/libcxx/include/__cxx03/__format/range_default_formatter.h
@@ -130,7 +130,8 @@ public:
_LIBCPP_HIDE_FROM_ABI constexpr __range_default_formatter()
requires(__fmt_pair_like<__element_type>)
{
- __underlying_.set_brackets(_LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{"), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "}"));
+ __underlying_.set_brackets(
+ _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{"), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "}"));
__underlying_.underlying().set_brackets({}, {});
__underlying_.underlying().set_separator(_LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, ": "));
}
@@ -156,7 +157,8 @@ private:
public:
_LIBCPP_HIDE_FROM_ABI constexpr __range_default_formatter() {
- __underlying_.set_brackets(_LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{"), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "}"));
+ __underlying_.set_brackets(
+ _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "{"), _LIBCPP___CXX03_STATICALLY_WIDEN(_CharT, "}"));
}
template <class _ParseContext>
diff --git a/libcxx/include/__cxx03/__iterator/cpp17_iterator_concepts.h b/libcxx/include/__cxx03/__iterator/cpp17_iterator_concepts.h
index a3fb7a9a1a..27b517e0b1 100644
--- a/libcxx/include/__cxx03/__iterator/cpp17_iterator_concepts.h
+++ b/libcxx/include/__cxx03/__iterator/cpp17_iterator_concepts.h
@@ -157,15 +157,15 @@ concept __cpp17_random_access_iterator =
_LIBCPP_END_NAMESPACE_STD
# ifndef _LIBCPP___CXX03_DISABLE_ITERATOR_CHECKS
-# define _LIBCPP___CXX03_REQUIRE_CPP17_INPUT_ITERATOR(iter_t, message) \
+# define _LIBCPP___CXX03_REQUIRE_CPP17_INPUT_ITERATOR(iter_t, message) \
static_assert(::std::__cpp17_input_iterator<iter_t>, message)
-# define _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(iter_t, write_t, message) \
+# define _LIBCPP___CXX03_REQUIRE_CPP17_OUTPUT_ITERATOR(iter_t, write_t, message) \
static_assert(::std::__cpp17_output_iterator<iter_t, write_t>, message)
-# define _LIBCPP___CXX03_REQUIRE_CPP17_FORWARD_ITERATOR(iter_t, message) \
+# define _LIBCPP___CXX03_REQUIRE_CPP17_FORWARD_ITERATOR(iter_t, message) \
static_assert(::std::__cpp17_forward_iterator<iter_t>, message)
-# define _LIBCPP___CXX03_REQUIRE_CPP17_BIDIRECTIONAL_ITERATOR(iter_t, message) \
+# define _LIBCPP___CXX03_REQUIRE_CPP17_BIDIRECTIONAL_ITERATOR(iter_t, message) \
static_assert(::std::__cpp17_bidirectional_iterator<iter_t>, message)
-# define _LIBCPP___CXX03_REQUIRE_CPP17_RANDOM_ACCESS_ITERATOR(iter_t, message) \
+# define _LIBCPP___CXX03_REQUIRE_CPP17_RANDOM_ACCESS_ITERATOR(iter_t, message) \
static_assert(::std::__cpp17_random_access_iterator<iter_t>, message)
# else
# define _LIBCPP___CXX03_REQUIRE_CPP17_INPUT_ITERATOR(iter_t, message) static_assert(true)
diff --git a/libcxx/include/__cxx03/__memory/allocator_traits.h b/libcxx/include/__cxx03/__memory/allocator_traits.h
index 17ad0ea0dd..0baaa163ae 100644
--- a/libcxx/include/__cxx03/__memory/allocator_traits.h
+++ b/libcxx/include/__cxx03/__memory/allocator_traits.h
@@ -34,7 +34,7 @@ _LIBCPP_PUSH_MACROS
_LIBCPP_BEGIN_NAMESPACE_STD
-#define _LIBCPP___CXX03_ALLOCATOR_TRAITS_HAS_XXX(NAME, PROPERTY) \
+#define _LIBCPP___CXX03_ALLOCATOR_TRAITS_HAS_XXX(NAME, PROPERTY) \
template <class _Tp, class = void> \
struct NAME : false_type {}; \
template <class _Tp> \
@@ -119,7 +119,8 @@ struct __alloc_traits_difference_type<_Alloc, _Ptr, true> {
};
// __propagate_on_container_copy_assignment
-_LIBCPP___CXX03_ALLOCATOR_TRAITS_HAS_XXX(__has_propagate_on_container_copy_assignment, propagate_on_container_copy_assignment);
+_LIBCPP___CXX03_ALLOCATOR_TRAITS_HAS_XXX(__has_propagate_on_container_copy_assignment,
+ propagate_on_container_copy_assignment);
template <class _Alloc, bool = __has_propagate_on_container_copy_assignment<_Alloc>::value>
struct __propagate_on_container_copy_assignment : false_type {};
template <class _Alloc>
@@ -128,7 +129,8 @@ struct __propagate_on_container_copy_assignment<_Alloc, true> {
};
// __propagate_on_container_move_assignment
-_LIBCPP___CXX03_ALLOCATOR_TRAITS_HAS_XXX(__has_propagate_on_container_move_assignment, propagate_on_container_move_assignment);
+_LIBCPP___CXX03_ALLOCATOR_TRAITS_HAS_XXX(__has_propagate_on_container_move_assignment,
+ propagate_on_container_move_assignment);
template <class _Alloc, bool = __has_propagate_on_container_move_assignment<_Alloc>::value>
struct __propagate_on_container_move_assignment : false_type {};
template <class _Alloc>
diff --git a/libcxx/include/__cxx03/__ranges/all.h b/libcxx/include/__cxx03/__ranges/all.h
index c3343b9251..8f014d6700 100644
--- a/libcxx/include/__cxx03/__ranges/all.h
+++ b/libcxx/include/__cxx03/__ranges/all.h
@@ -39,8 +39,9 @@ namespace __all {
struct __fn : __range_adaptor_closure<__fn> {
template <class _Tp>
requires ranges::view<decay_t<_Tp>>
- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Tp&& __t) const noexcept(
- noexcept(_LIBCPP___CXX03_AUTO_CAST(std::forward<_Tp>(__t)))) -> decltype(_LIBCPP___CXX03_AUTO_CAST(std::forward<_Tp>(__t))) {
+ [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Tp&& __t) const
+ noexcept(noexcept(_LIBCPP___CXX03_AUTO_CAST(std::forward<_Tp>(__t))))
+ -> decltype(_LIBCPP___CXX03_AUTO_CAST(std::forward<_Tp>(__t))) {
return _LIBCPP___CXX03_AUTO_CAST(std::forward<_Tp>(__t));
}
diff --git a/libcxx/include/__cxx03/__thread/support/c11.h b/libcxx/include/__cxx03/__thread/support/c11.h
index 717b047f04..ccf89582b9 100644
--- a/libcxx/include/__cxx03/__thread/support/c11.h
+++ b/libcxx/include/__cxx03/__thread/support/c11.h
@@ -30,7 +30,7 @@ using __libcpp_timespec_t = ::timespec;
//
typedef mtx_t __libcpp_mutex_t;
// mtx_t is a struct so using {} for initialization is valid.
-#define _LIBCPP___CXX03_MUTEX_INITIALIZER \
+#define _LIBCPP___CXX03_MUTEX_INITIALIZER \
{}
typedef mtx_t __libcpp_recursive_mutex_t;
@@ -81,7 +81,7 @@ inline _LIBCPP_HIDE_FROM_ABI int __libcpp_mutex_destroy(__libcpp_mutex_t* __m) {
//
typedef cnd_t __libcpp_condvar_t;
// cnd_t is a struct so using {} for initialization is valid.
-#define _LIBCPP___CXX03_CONDVAR_INITIALIZER \
+#define _LIBCPP___CXX03_CONDVAR_INITIALIZER \
{}
inline _LIBCPP_HIDE_FROM_ABI int __libcpp_condvar_signal(__libcpp_condvar_t* __cv) {
diff --git a/libcxx/include/__cxx03/chrono b/libcxx/include/__cxx03/chrono
index 865a08f3a7..8e1eee93d3 100644
--- a/libcxx/include/__cxx03/chrono
+++ b/libcxx/include/__cxx03/chrono
@@ -972,7 +972,7 @@ constexpr chrono::year operator ""y(unsigned lo
# include <__cxx03/__chrono/statically_widen.h>
# endif
-# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
+# if !defined(_LIBCPP___CXX03_HAS_NO_TIME_ZONE_DATABASE) && !defined(_LIBCPP___CXX03_HAS_NO_FILESYSTEM) && \
!defined(_LIBCPP___CXX03_HAS_NO_LOCALIZATION)
# include <__cxx03/__chrono/leap_second.h>
# include <__cxx03/__chrono/time_zone.h>
diff --git a/libcxx/include/__cxx03/codecvt b/libcxx/include/__cxx03/codecvt
index f5fbdd143f..38cbc233b8 100644
--- a/libcxx/include/__cxx03/codecvt
+++ b/libcxx/include/__cxx03/codecvt
@@ -576,7 +576,8 @@ _LIBCPP_SUPPRESS_DEPRECATED_POP
_LIBCPP_END_NAMESPACE_STD
-#endif // _LIBCPP_STD_VER < 26 || defined(_LIBCPP_BUILDING_LIBRARY) || defined(_LIBCPP___CXX03_ENABLE_CXX26_REMOVED_CODECVT)
+#endif // _LIBCPP_STD_VER < 26 || defined(_LIBCPP_BUILDING_LIBRARY) ||
+ // defined(_LIBCPP___CXX03_ENABLE_CXX26_REMOVED_CODECVT)
#if !defined(_LIBCPP___CXX03_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
# include <__cxx03/atomic>
diff --git a/libcxx/include/__cxx03/experimental/__config b/libcxx/include/__cxx03/experimental/__config
index ed1274845b..22ccb21c71 100644
--- a/libcxx/include/__cxx03/experimental/__config
+++ b/libcxx/include/__cxx03/experimental/__config
@@ -16,21 +16,23 @@
# pragma GCC system_header
#endif
-#define _LIBCPP___CXX03_BEGIN_NAMESPACE_EXPERIMENTAL \
+#define _LIBCPP___CXX03_BEGIN_NAMESPACE_EXPERIMENTAL \
namespace std { \
namespace experimental {
-#define _LIBCPP___CXX03_END_NAMESPACE_EXPERIMENTAL \
+#define _LIBCPP___CXX03_END_NAMESPACE_EXPERIMENTAL \
} \
}
-#define _LIBCPP___CXX03_BEGIN_NAMESPACE_LFTS _LIBCPP___CXX03_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v1 {
-#define _LIBCPP___CXX03_END_NAMESPACE_LFTS \
+#define _LIBCPP___CXX03_BEGIN_NAMESPACE_LFTS \
+ _LIBCPP___CXX03_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v1 {
+#define _LIBCPP___CXX03_END_NAMESPACE_LFTS \
} \
} \
}
-#define _LIBCPP___CXX03_BEGIN_NAMESPACE_LFTS_V2 _LIBCPP___CXX03_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v2 {
-#define _LIBCPP___CXX03_END_NAMESPACE_LFTS_V2 \
+#define _LIBCPP___CXX03_BEGIN_NAMESPACE_LFTS_V2 \
+ _LIBCPP___CXX03_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v2 {
+#define _LIBCPP___CXX03_END_NAMESPACE_LFTS_V2 \
} \
} \
}
diff --git a/libcxx/include/__cxx03/future b/libcxx/include/__cxx03/future
index 0c92cd37c6..5ec9f07742 100644
--- a/libcxx/include/__cxx03/future
+++ b/libcxx/include/__cxx03/future
@@ -1847,8 +1847,8 @@ async(launch __policy, _Fp&& __f, _Args&&... __args) {
try {
# endif
if (__does_policy_contain(__policy, launch::async))
- return std::__make_async_assoc_state<_Rp>(
- _BF(_LIBCPP___CXX03_AUTO_CAST(std::forward<_Fp>(__f)), _LIBCPP___CXX03_AUTO_CAST(std::forward<_Args>(__args))...));
+ return std::__make_async_assoc_state<_Rp>(_BF(_LIBCPP___CXX03_AUTO_CAST(std::forward<_Fp>(__f)),
+ _LIBCPP___CXX03_AUTO_CAST(std::forward<_Args>(__args))...));
# ifndef _LIBCPP_HAS_NO_EXCEPTIONS
} catch (...) {
if (__policy == launch::async)
@@ -1857,8 +1857,8 @@ async(launch __policy, _Fp&& __f, _Args&&... __args) {
# endif
if (__does_policy_contain(__policy, launch::deferred))
- return std::__make_deferred_assoc_state<_Rp>(
- _BF(_LIBCPP___CXX03_AUTO_CAST(std::forward<_Fp>(__f)), _LIBCPP___CXX03_AUTO_CAST(std::forward<_Args>(__args))...));
+ return std::__make_deferred_assoc_state<_Rp>(_BF(
+ _LIBCPP___CXX03_AUTO_CAST(std::forward<_Fp>(__f)), _LIBCPP___CXX03_AUTO_CAST(std::forward<_Args>(__args))...));
return future<_Rp>{};
}
diff --git a/libcxx/include/__cxx03/locale b/libcxx/include/__cxx03/locale
index f1121f8702..ae80904e04 100644
--- a/libcxx/include/__cxx03/locale
+++ b/libcxx/include/__cxx03/locale
@@ -727,7 +727,7 @@ __num_get_signed_integral(const char* __a, const char* __a_end, ios_base::iostat
__libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
errno = 0;
char* __p2;
- long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP___CXX03_GET_C_LOCALE);
+ long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP___CXX03_GET_C_LOCALE);
__libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
if (__current_errno == 0)
errno = __save_errno;
@@ -759,7 +759,7 @@ __num_get_unsigned_integral(const char* __a, const char* __a_end, ios_base::iost
__libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
errno = 0;
char* __p2;
- unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP___CXX03_GET_C_LOCALE);
+ unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP___CXX03_GET_C_LOCALE);
__libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
if (__current_errno == 0)
errno = __save_errno;
@@ -2036,7 +2036,7 @@ private:
string_type __analyze(char __fmt, const ctype<_CharT>&);
};
-# define _LIBCPP___CXX03_TIME_GET_STORAGE_EXPLICIT_INSTANTIATION(_CharT) \
+# define _LIBCPP___CXX03_TIME_GET_STORAGE_EXPLICIT_INSTANTIATION(_CharT) \
template <> \
_LIBCPP_EXPORTED_FROM_ABI time_base::dateorder __time_get_storage<_CharT>::__do_date_order() const; \
template <> \
diff --git a/libcxx/include/__cxx03/new b/libcxx/include/__cxx03/new
index c452216a81..c9063ec1a8 100644
--- a/libcxx/include/__cxx03/new
+++ b/libcxx/include/__cxx03/new
@@ -107,11 +107,13 @@ void operator delete[](void* ptr, void*) noexcept;
# define _LIBCPP___CXX03_HAS_NO_LANGUAGE_SIZED_DEALLOCATION
#endif
-#if !defined(_LIBCPP_BUILDING_LIBRARY) && _LIBCPP_STD_VER < 14 && defined(_LIBCPP___CXX03_HAS_NO_LANGUAGE_SIZED_DEALLOCATION)
+#if !defined(_LIBCPP_BUILDING_LIBRARY) && _LIBCPP_STD_VER < 14 && \
+ defined(_LIBCPP___CXX03_HAS_NO_LANGUAGE_SIZED_DEALLOCATION)
# define _LIBCPP___CXX03_HAS_NO_LIBRARY_SIZED_DEALLOCATION
#endif
-#if defined(_LIBCPP___CXX03_HAS_NO_LIBRARY_SIZED_DEALLOCATION) || defined(_LIBCPP___CXX03_HAS_NO_LANGUAGE_SIZED_DEALLOCATION)
+#if defined(_LIBCPP___CXX03_HAS_NO_LIBRARY_SIZED_DEALLOCATION) || \
+ defined(_LIBCPP___CXX03_HAS_NO_LANGUAGE_SIZED_DEALLOCATION)
# define _LIBCPP___CXX03_HAS_NO_SIZED_DEALLOCATION
#endif
diff --git a/libcxx/include/__cxx03/regex b/libcxx/include/__cxx03/regex
index 367f4ec58f..81cd3befda 100644
--- a/libcxx/include/__cxx03/regex
+++ b/libcxx/include/__cxx03/regex
@@ -4860,7 +4860,8 @@ bool basic_regex<_CharT, _Traits>::__match_at_start_ecma(
int __length = __last - __first;
do {
++__counter;
- if (__counter % _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR == 0 && __counter / _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR >= __length)
+ if (__counter % _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR == 0 &&
+ __counter / _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR >= __length)
__throw_regex_error<regex_constants::error_complexity>();
__state& __s = __states.back();
if (__s.__node_)
@@ -4930,7 +4931,8 @@ bool basic_regex<_CharT, _Traits>::__match_at_start_posix_nosubs(
int __length = __last - __first;
do {
++__counter;
- if (__counter % _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR == 0 && __counter / _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR >= __length)
+ if (__counter % _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR == 0 &&
+ __counter / _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR >= __length)
__throw_regex_error<regex_constants::error_complexity>();
__state& __s = __states.back();
if (__s.__node_)
@@ -5020,7 +5022,8 @@ bool basic_regex<_CharT, _Traits>::__match_at_start_posix_subs(
int __length = __last - __first;
do {
++__counter;
- if (__counter % _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR == 0 && __counter / _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR >= __length)
+ if (__counter % _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR == 0 &&
+ __counter / _LIBCPP___CXX03_REGEX_COMPLEXITY_FACTOR >= __length)
__throw_regex_error<regex_constants::error_complexity>();
__state& __s = __states.back();
if (__s.__node_)
diff --git a/libcxx/include/__cxx03/string b/libcxx/include/__cxx03/string
index c038812ece..d196f71d48 100644
--- a/libcxx/include/__cxx03/string
+++ b/libcxx/include/__cxx03/string
@@ -1999,7 +1999,8 @@ private:
}
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP___CXX03_STRING_INTERNAL_MEMORY_ACCESS const_pointer
__get_short_pointer() const _NOEXCEPT {
- return _LIBCPP___CXX03_ASAN_VOLATILE_WRAPPER(pointer_traits<const_pointer>::pointer_to(__r_.first().__s.__data_[0]));
+ return _LIBCPP___CXX03_ASAN_VOLATILE_WRAPPER(
+ pointer_traits<const_pointer>::pointer_to(__r_.first().__s.__data_[0]));
}
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 pointer __get_pointer() _NOEXCEPT {
return __is_long() ? __get_long_pointer() : __get_short_pointer();
@@ -2014,7 +2015,7 @@ private:
(void)__old_mid;
(void)__new_mid;
#if !defined(_LIBCPP_HAS_NO_ASAN) && defined(_LIBCPP___CXX03_INSTRUMENTED_WITH_ASAN)
- #if defined(__APPLE__)
+#if defined(__APPLE__)
// TODO: remove after addressing issue #96099 (https://github.com/llvm/llvm-project/issues/96099)
if(!__is_long())
return;
diff --git a/libcxx/include/__cxx03/string.h b/libcxx/include/__cxx03/string.h
index 02a94de69d..749695b7c5 100644
--- a/libcxx/include/__cxx03/string.h
+++ b/libcxx/include/__cxx03/string.h
@@ -68,7 +68,8 @@ size_t strlen(const char* s);
# define _LIBCPP___CXX03_STRING_H_HAS_CONST_OVERLOADS
#endif
-#if defined(__cplusplus) && !defined(_LIBCPP___CXX03_STRING_H_HAS_CONST_OVERLOADS) && defined(_LIBCPP_PREFERRED_OVERLOAD)
+#if defined(__cplusplus) && !defined(_LIBCPP___CXX03_STRING_H_HAS_CONST_OVERLOADS) && \
+ defined(_LIBCPP_PREFERRED_OVERLOAD)
extern "C++" {
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char* strchr(const char* __s, int __c) {
return __builtin_strchr(__s, __c);
diff --git a/libcxx/include/__cxx03/strstream b/libcxx/include/__cxx03/strstream
index 6be2699706..8d5e9c46f5 100644
--- a/libcxx/include/__cxx03/strstream
+++ b/libcxx/include/__cxx03/strstream
@@ -346,6 +346,7 @@ _LIBCPP_END_NAMESPACE_STD
_LIBCPP_POP_MACROS
-#endif // _LIBCPP_STD_VER < 26 || defined(_LIBCPP___CXX03_ENABLE_CXX26_REMOVED_STRSTREAM) || defined(_LIBCPP_BUILDING_LIBRARY)
+#endif // _LIBCPP_STD_VER < 26 || defined(_LIBCPP___CXX03_ENABLE_CXX26_REMOVED_STRSTREAM) ||
+ // defined(_LIBCPP_BUILDING_LIBRARY)
#endif // _LIBCPP___CXX03_STRSTREAM
diff --git a/libcxx/include/__cxx03/tuple b/libcxx/include/__cxx03/tuple
index dfefa92c2a..2a28dd4ef3 100644
--- a/libcxx/include/__cxx03/tuple
+++ b/libcxx/include/__cxx03/tuple
@@ -1343,7 +1343,7 @@ template <class... _Tp, class _Alloc>
struct _LIBCPP_TEMPLATE_VIS uses_allocator<tuple<_Tp...>, _Alloc> : true_type {};
# if _LIBCPP_STD_VER >= 17
-# define _LIBCPP___CXX03_NOEXCEPT_RETURN(...) \
+# define _LIBCPP___CXX03_NOEXCEPT_RETURN(...) \
noexcept(noexcept(__VA_ARGS__)) { return __VA_ARGS__; }
// The _LIBCPP___CXX03_NOEXCEPT_RETURN macro breaks formatting.
diff --git a/libcxx/include/__cxx03/typeinfo b/libcxx/include/__cxx03/typeinfo
index 4b4d033c8c..aadd998518 100644
--- a/libcxx/include/__cxx03/typeinfo
+++ b/libcxx/include/__cxx03/typeinfo
@@ -277,10 +277,10 @@ struct __type_info_implementations {
# if __has_cpp_attribute(_Clang::__ptrauth_vtable_pointer__)
# if __has_feature(ptrauth_type_info_vtable_pointer_discrimination)
-# define _LIBCPP___CXX03_TYPE_INFO_VTABLE_POINTER_AUTH \
+# define _LIBCPP___CXX03_TYPE_INFO_VTABLE_POINTER_AUTH \
[[_Clang::__ptrauth_vtable_pointer__(process_independent, address_discrimination, type_discrimination)]]
# else
-# define _LIBCPP___CXX03_TYPE_INFO_VTABLE_POINTER_AUTH \
+# define _LIBCPP___CXX03_TYPE_INFO_VTABLE_POINTER_AUTH \
[[_Clang::__ptrauth_vtable_pointer__( \
process_independent, no_address_discrimination, no_extra_discrimination)]]
# endif
diff --git a/libcxx/include/__cxx03/variant b/libcxx/include/__cxx03/variant
index 3ba6dc16c7..2784304eb7 100644
--- a/libcxx/include/__cxx03/variant
+++ b/libcxx/include/__cxx03/variant
@@ -682,7 +682,7 @@ union _LIBCPP_TEMPLATE_VIS __union;
template <_Trait _DestructibleTrait, size_t _Index>
union _LIBCPP_TEMPLATE_VIS __union<_DestructibleTrait, _Index> {};
-# define _LIBCPP___CXX03_VARIANT_UNION(destructible_trait, destructor_definition) \
+# define _LIBCPP___CXX03_VARIANT_UNION(destructible_trait, destructor_definition) \
template <size_t _Index, class _Tp, class... _Types> \
union _LIBCPP_TEMPLATE_VIS __union<destructible_trait, _Index, _Tp, _Types...> { \
public: \
@@ -711,10 +711,12 @@ union _LIBCPP_TEMPLATE_VIS __union<_DestructibleTrait, _Index> {};
}
_LIBCPP___CXX03_VARIANT_UNION(_Trait::_TriviallyAvailable,
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__union() = default);
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__union() = default);
_LIBCPP___CXX03_VARIANT_UNION(
- _Trait::_Available, _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__union() {} _LIBCPP___CXX03_EAT_SEMICOLON);
-_LIBCPP___CXX03_VARIANT_UNION(_Trait::_Unavailable, _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__union() = delete);
+ _Trait::_Available,
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__union() {} _LIBCPP___CXX03_EAT_SEMICOLON);
+_LIBCPP___CXX03_VARIANT_UNION(_Trait::_Unavailable,
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__union() = delete);
# undef _LIBCPP___CXX03_VARIANT_UNION
@@ -757,7 +759,7 @@ protected:
template <class _Traits, _Trait = _Traits::__destructible_trait>
class _LIBCPP_TEMPLATE_VIS __dtor;
-# define _LIBCPP___CXX03_VARIANT_DESTRUCTOR(destructible_trait, destructor_definition, destroy) \
+# define _LIBCPP___CXX03_VARIANT_DESTRUCTOR(destructible_trait, destructor_definition, destroy) \
template <class... _Types> \
class _LIBCPP_TEMPLATE_VIS __dtor<__traits<_Types...>, destructible_trait> \
: public __base<destructible_trait, _Types...> { \
@@ -799,9 +801,10 @@ _LIBCPP___CXX03_VARIANT_DESTRUCTOR(
this->__index = __variant_npos<__index_t>;
} _LIBCPP___CXX03_EAT_SEMICOLON);
-_LIBCPP___CXX03_VARIANT_DESTRUCTOR(_Trait::_Unavailable,
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__dtor() = delete,
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void __destroy() noexcept = delete);
+_LIBCPP___CXX03_VARIANT_DESTRUCTOR(
+ _Trait::_Unavailable,
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__dtor() = delete,
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void __destroy() noexcept = delete);
# undef _LIBCPP___CXX03_VARIANT_DESTRUCTOR
@@ -835,7 +838,7 @@ protected:
template <class _Traits, _Trait = _Traits::__move_constructible_trait>
class _LIBCPP_TEMPLATE_VIS __move_constructor;
-# define _LIBCPP___CXX03_VARIANT_MOVE_CONSTRUCTOR(move_constructible_trait, move_constructor_definition) \
+# define _LIBCPP___CXX03_VARIANT_MOVE_CONSTRUCTOR(move_constructible_trait, move_constructor_definition) \
template <class... _Types> \
class _LIBCPP_TEMPLATE_VIS __move_constructor<__traits<_Types...>, move_constructible_trait> \
: public __ctor<__traits<_Types...>> { \
@@ -873,7 +876,7 @@ _LIBCPP___CXX03_VARIANT_MOVE_CONSTRUCTOR(
template <class _Traits, _Trait = _Traits::__copy_constructible_trait>
class _LIBCPP_TEMPLATE_VIS __copy_constructor;
-# define _LIBCPP___CXX03_VARIANT_COPY_CONSTRUCTOR(copy_constructible_trait, copy_constructor_definition) \
+# define _LIBCPP___CXX03_VARIANT_COPY_CONSTRUCTOR(copy_constructible_trait, copy_constructor_definition) \
template <class... _Types> \
class _LIBCPP_TEMPLATE_VIS __copy_constructor<__traits<_Types...>, copy_constructible_trait> \
: public __move_constructor<__traits<_Types...>> { \
@@ -962,7 +965,7 @@ protected:
template <class _Traits, _Trait = _Traits::__move_assignable_trait>
class _LIBCPP_TEMPLATE_VIS __move_assignment;
-# define _LIBCPP___CXX03_VARIANT_MOVE_ASSIGNMENT(move_assignable_trait, move_assignment_definition) \
+# define _LIBCPP___CXX03_VARIANT_MOVE_ASSIGNMENT(move_assignable_trait, move_assignment_definition) \
template <class... _Types> \
class _LIBCPP_TEMPLATE_VIS __move_assignment<__traits<_Types...>, move_assignable_trait> \
: public __assignment<__traits<_Types...>> { \
@@ -979,9 +982,10 @@ class _LIBCPP_TEMPLATE_VIS __move_assignment;
move_assignment_definition; \
}
-_LIBCPP___CXX03_VARIANT_MOVE_ASSIGNMENT(_Trait::_TriviallyAvailable,
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __move_assignment& operator=(
- __move_assignment&& __that) = default);
+_LIBCPP___CXX03_VARIANT_MOVE_ASSIGNMENT(
+ _Trait::_TriviallyAvailable,
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __move_assignment& operator=(__move_assignment&& __that) =
+ default);
_LIBCPP___CXX03_VARIANT_MOVE_ASSIGNMENT(
_Trait::_Available,
@@ -1001,7 +1005,7 @@ _LIBCPP___CXX03_VARIANT_MOVE_ASSIGNMENT(
template <class _Traits, _Trait = _Traits::__copy_assignable_trait>
class _LIBCPP_TEMPLATE_VIS __copy_assignment;
-# define _LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT(copy_assignable_trait, copy_assignment_definition) \
+# define _LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT(copy_assignable_trait, copy_assignment_definition) \
template <class... _Types> \
class _LIBCPP_TEMPLATE_VIS __copy_assignment<__traits<_Types...>, copy_assignable_trait> \
: public __move_assignment<__traits<_Types...>> { \
@@ -1018,9 +1022,10 @@ class _LIBCPP_TEMPLATE_VIS __copy_assignment;
copy_assignment_definition; \
}
-_LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT(_Trait::_TriviallyAvailable,
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __copy_assignment& operator=(
- const __copy_assignment& __that) = default);
+_LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT(
+ _Trait::_TriviallyAvailable,
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __copy_assignment& operator=(const __copy_assignment& __that) =
+ default);
_LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT(
_Trait::_Available,
@@ -1030,9 +1035,10 @@ _LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT(
return *this;
} _LIBCPP___CXX03_EAT_SEMICOLON);
-_LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT(_Trait::_Unavailable,
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __copy_assignment& operator=(
- const __copy_assignment&) = delete);
+_LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT(
+ _Trait::_Unavailable,
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __copy_assignment& operator=(const __copy_assignment&) =
+ delete);
# undef _LIBCPP___CXX03_VARIANT_COPY_ASSIGNMENT
diff --git a/libcxx/include/__cxx03/wchar.h b/libcxx/include/__cxx03/wchar.h
index fe74173428..f9e0a51d66 100644
--- a/libcxx/include/__cxx03/wchar.h
+++ b/libcxx/include/__cxx03/wchar.h
@@ -142,7 +142,8 @@ size_t wcsrtombs(char* restrict dst, const wchar_t** restrict src, size_t len,
# endif
# endif
-# if defined(__cplusplus) && !defined(_LIBCPP___CXX03_WCHAR_H_HAS_CONST_OVERLOADS) && defined(_LIBCPP_PREFERRED_OVERLOAD)
+# if defined(__cplusplus) && !defined(_LIBCPP___CXX03_WCHAR_H_HAS_CONST_OVERLOADS) && \
+ defined(_LIBCPP_PREFERRED_OVERLOAD)
extern "C++" {
inline _LIBCPP_HIDE_FROM_ABI wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {
return (wchar_t*)wcschr(__s, __c);
``````````
</details>
https://github.com/llvm/llvm-project/pull/109001
More information about the llvm-branch-commits
mailing list