[libcxx][modules] protects users from relying on detail headers
authorChristopher Di Bella <cjdb@google.com>
Fri, 25 Feb 2022 18:59:32 +0000 (18:59 +0000)
committerChristopher Di Bella <cjdb@google.com>
Sat, 26 Feb 2022 09:00:25 +0000 (09:00 +0000)
libc++ has started splicing standard library headers into much more
fine-grained content for maintainability. It's very likely that outdated
and naive tooling (some of which is outside of LLVM's scope) will
suggest users include things such as <__ranges/access.h> instead of
<ranges>, and Hyrum's law suggests that users will eventually begin to
rely on this without the help of tooling. As such, this commit
intends to protect users from themselves, by making it a hard error for
anyone outside of the standard library to include libc++ detail headers.

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

1147 files changed:
libcxx/cmake/Modules/HandleLibCXXABI.cmake
libcxx/include/__algorithm/adjacent_find.h
libcxx/include/__algorithm/all_of.h
libcxx/include/__algorithm/any_of.h
libcxx/include/__algorithm/binary_search.h
libcxx/include/__algorithm/clamp.h
libcxx/include/__algorithm/comp.h
libcxx/include/__algorithm/comp_ref_type.h
libcxx/include/__algorithm/copy.h
libcxx/include/__algorithm/copy_backward.h
libcxx/include/__algorithm/copy_if.h
libcxx/include/__algorithm/copy_n.h
libcxx/include/__algorithm/count.h
libcxx/include/__algorithm/count_if.h
libcxx/include/__algorithm/equal.h
libcxx/include/__algorithm/equal_range.h
libcxx/include/__algorithm/fill.h
libcxx/include/__algorithm/fill_n.h
libcxx/include/__algorithm/find.h
libcxx/include/__algorithm/find_end.h
libcxx/include/__algorithm/find_first_of.h
libcxx/include/__algorithm/find_if.h
libcxx/include/__algorithm/find_if_not.h
libcxx/include/__algorithm/for_each.h
libcxx/include/__algorithm/for_each_n.h
libcxx/include/__algorithm/generate.h
libcxx/include/__algorithm/generate_n.h
libcxx/include/__algorithm/half_positive.h
libcxx/include/__algorithm/in_found_result.h
libcxx/include/__algorithm/in_fun_result.h
libcxx/include/__algorithm/in_in_out_result.h
libcxx/include/__algorithm/in_in_result.h
libcxx/include/__algorithm/in_out_out_result.h
libcxx/include/__algorithm/in_out_result.h
libcxx/include/__algorithm/includes.h
libcxx/include/__algorithm/inplace_merge.h
libcxx/include/__algorithm/is_heap.h
libcxx/include/__algorithm/is_heap_until.h
libcxx/include/__algorithm/is_partitioned.h
libcxx/include/__algorithm/is_permutation.h
libcxx/include/__algorithm/is_sorted.h
libcxx/include/__algorithm/is_sorted_until.h
libcxx/include/__algorithm/iter_swap.h
libcxx/include/__algorithm/lexicographical_compare.h
libcxx/include/__algorithm/lower_bound.h
libcxx/include/__algorithm/make_heap.h
libcxx/include/__algorithm/max.h
libcxx/include/__algorithm/max_element.h
libcxx/include/__algorithm/merge.h
libcxx/include/__algorithm/min.h
libcxx/include/__algorithm/min_element.h
libcxx/include/__algorithm/min_max_result.h
libcxx/include/__algorithm/minmax.h
libcxx/include/__algorithm/minmax_element.h
libcxx/include/__algorithm/mismatch.h
libcxx/include/__algorithm/move.h
libcxx/include/__algorithm/move_backward.h
libcxx/include/__algorithm/next_permutation.h
libcxx/include/__algorithm/none_of.h
libcxx/include/__algorithm/nth_element.h
libcxx/include/__algorithm/partial_sort.h
libcxx/include/__algorithm/partial_sort_copy.h
libcxx/include/__algorithm/partition.h
libcxx/include/__algorithm/partition_copy.h
libcxx/include/__algorithm/partition_point.h
libcxx/include/__algorithm/pop_heap.h
libcxx/include/__algorithm/prev_permutation.h
libcxx/include/__algorithm/push_heap.h
libcxx/include/__algorithm/ranges_min_element.h
libcxx/include/__algorithm/ranges_swap_ranges.h
libcxx/include/__algorithm/remove.h
libcxx/include/__algorithm/remove_copy.h
libcxx/include/__algorithm/remove_copy_if.h
libcxx/include/__algorithm/remove_if.h
libcxx/include/__algorithm/replace.h
libcxx/include/__algorithm/replace_copy.h
libcxx/include/__algorithm/replace_copy_if.h
libcxx/include/__algorithm/replace_if.h
libcxx/include/__algorithm/reverse.h
libcxx/include/__algorithm/reverse_copy.h
libcxx/include/__algorithm/rotate.h
libcxx/include/__algorithm/rotate_copy.h
libcxx/include/__algorithm/sample.h
libcxx/include/__algorithm/search.h
libcxx/include/__algorithm/search_n.h
libcxx/include/__algorithm/set_difference.h
libcxx/include/__algorithm/set_intersection.h
libcxx/include/__algorithm/set_symmetric_difference.h
libcxx/include/__algorithm/set_union.h
libcxx/include/__algorithm/shift_left.h
libcxx/include/__algorithm/shift_right.h
libcxx/include/__algorithm/shuffle.h
libcxx/include/__algorithm/sift_down.h
libcxx/include/__algorithm/sort.h
libcxx/include/__algorithm/sort_heap.h
libcxx/include/__algorithm/stable_partition.h
libcxx/include/__algorithm/stable_sort.h
libcxx/include/__algorithm/swap_ranges.h
libcxx/include/__algorithm/transform.h
libcxx/include/__algorithm/unique.h
libcxx/include/__algorithm/unique_copy.h
libcxx/include/__algorithm/unwrap_iter.h
libcxx/include/__algorithm/upper_bound.h
libcxx/include/__bit/bit_cast.h
libcxx/include/__bit/byteswap.h
libcxx/include/__bit_reference
libcxx/include/__bits
libcxx/include/__charconv/chars_format.h
libcxx/include/__charconv/from_chars_result.h
libcxx/include/__charconv/to_chars_result.h
libcxx/include/__chrono/calendar.h
libcxx/include/__chrono/convert_to_timespec.h
libcxx/include/__chrono/duration.h
libcxx/include/__chrono/file_clock.h
libcxx/include/__chrono/high_resolution_clock.h
libcxx/include/__chrono/steady_clock.h
libcxx/include/__chrono/system_clock.h
libcxx/include/__chrono/time_point.h
libcxx/include/__compare/common_comparison_category.h
libcxx/include/__compare/compare_partial_order_fallback.h
libcxx/include/__compare/compare_strong_order_fallback.h
libcxx/include/__compare/compare_three_way.h
libcxx/include/__compare/compare_three_way_result.h
libcxx/include/__compare/compare_weak_order_fallback.h
libcxx/include/__compare/is_eq.h
libcxx/include/__compare/ordering.h
libcxx/include/__compare/partial_order.h
libcxx/include/__compare/strong_order.h
libcxx/include/__compare/synth_three_way.h
libcxx/include/__compare/three_way_comparable.h
libcxx/include/__compare/weak_order.h
libcxx/include/__concepts/arithmetic.h
libcxx/include/__concepts/assignable.h
libcxx/include/__concepts/boolean_testable.h
libcxx/include/__concepts/class_or_enum.h
libcxx/include/__concepts/common_reference_with.h
libcxx/include/__concepts/common_with.h
libcxx/include/__concepts/constructible.h
libcxx/include/__concepts/convertible_to.h
libcxx/include/__concepts/copyable.h
libcxx/include/__concepts/derived_from.h
libcxx/include/__concepts/destructible.h
libcxx/include/__concepts/different_from.h
libcxx/include/__concepts/equality_comparable.h
libcxx/include/__concepts/invocable.h
libcxx/include/__concepts/movable.h
libcxx/include/__concepts/predicate.h
libcxx/include/__concepts/regular.h
libcxx/include/__concepts/relation.h
libcxx/include/__concepts/same_as.h
libcxx/include/__concepts/semiregular.h
libcxx/include/__concepts/swappable.h
libcxx/include/__concepts/totally_ordered.h
libcxx/include/__coroutine/coroutine_handle.h
libcxx/include/__coroutine/coroutine_traits.h
libcxx/include/__coroutine/noop_coroutine_handle.h
libcxx/include/__coroutine/trivial_awaitables.h
libcxx/include/__filesystem/copy_options.h
libcxx/include/__filesystem/directory_entry.h
libcxx/include/__filesystem/directory_iterator.h
libcxx/include/__filesystem/directory_options.h
libcxx/include/__filesystem/file_status.h
libcxx/include/__filesystem/file_time_type.h
libcxx/include/__filesystem/file_type.h
libcxx/include/__filesystem/filesystem_error.h
libcxx/include/__filesystem/operations.h
libcxx/include/__filesystem/path.h
libcxx/include/__filesystem/path_iterator.h
libcxx/include/__filesystem/perm_options.h
libcxx/include/__filesystem/perms.h
libcxx/include/__filesystem/recursive_directory_iterator.h
libcxx/include/__filesystem/space_info.h
libcxx/include/__filesystem/u8path.h
libcxx/include/__format/format_arg.h
libcxx/include/__format/format_args.h
libcxx/include/__format/format_context.h
libcxx/include/__format/format_error.h
libcxx/include/__format/format_fwd.h
libcxx/include/__format/format_parse_context.h
libcxx/include/__format/format_string.h
libcxx/include/__format/format_to_n_result.h
libcxx/include/__format/formatter.h
libcxx/include/__format/formatter_bool.h
libcxx/include/__format/formatter_char.h
libcxx/include/__format/formatter_floating_point.h
libcxx/include/__format/formatter_integer.h
libcxx/include/__format/formatter_integral.h
libcxx/include/__format/formatter_pointer.h
libcxx/include/__format/formatter_string.h
libcxx/include/__format/parser_std_format_spec.h
libcxx/include/__functional/binary_function.h
libcxx/include/__functional/binary_negate.h
libcxx/include/__functional/bind.h
libcxx/include/__functional/bind_back.h
libcxx/include/__functional/bind_front.h
libcxx/include/__functional/binder1st.h
libcxx/include/__functional/binder2nd.h
libcxx/include/__functional/compose.h
libcxx/include/__functional/default_searcher.h
libcxx/include/__functional/function.h
libcxx/include/__functional/hash.h
libcxx/include/__functional/identity.h
libcxx/include/__functional/invoke.h
libcxx/include/__functional/is_transparent.h
libcxx/include/__functional/mem_fn.h
libcxx/include/__functional/mem_fun_ref.h
libcxx/include/__functional/not_fn.h
libcxx/include/__functional/operations.h
libcxx/include/__functional/perfect_forward.h
libcxx/include/__functional/pointer_to_binary_function.h
libcxx/include/__functional/pointer_to_unary_function.h
libcxx/include/__functional/ranges_operations.h
libcxx/include/__functional/reference_wrapper.h
libcxx/include/__functional/unary_function.h
libcxx/include/__functional/unary_negate.h
libcxx/include/__functional/unwrap_ref.h
libcxx/include/__functional/weak_result_type.h
libcxx/include/__hash_table
libcxx/include/__ios/fpos.h
libcxx/include/__iterator/access.h
libcxx/include/__iterator/advance.h
libcxx/include/__iterator/back_insert_iterator.h
libcxx/include/__iterator/common_iterator.h
libcxx/include/__iterator/concepts.h
libcxx/include/__iterator/counted_iterator.h
libcxx/include/__iterator/data.h
libcxx/include/__iterator/default_sentinel.h
libcxx/include/__iterator/distance.h
libcxx/include/__iterator/empty.h
libcxx/include/__iterator/erase_if_container.h
libcxx/include/__iterator/front_insert_iterator.h
libcxx/include/__iterator/incrementable_traits.h
libcxx/include/__iterator/indirectly_comparable.h
libcxx/include/__iterator/insert_iterator.h
libcxx/include/__iterator/istream_iterator.h
libcxx/include/__iterator/istreambuf_iterator.h
libcxx/include/__iterator/iter_move.h
libcxx/include/__iterator/iter_swap.h
libcxx/include/__iterator/iterator.h
libcxx/include/__iterator/iterator_traits.h
libcxx/include/__iterator/mergeable.h
libcxx/include/__iterator/move_iterator.h
libcxx/include/__iterator/next.h
libcxx/include/__iterator/ostream_iterator.h
libcxx/include/__iterator/ostreambuf_iterator.h
libcxx/include/__iterator/permutable.h
libcxx/include/__iterator/prev.h
libcxx/include/__iterator/projected.h
libcxx/include/__iterator/readable_traits.h
libcxx/include/__iterator/reverse_access.h
libcxx/include/__iterator/reverse_iterator.h
libcxx/include/__iterator/size.h
libcxx/include/__iterator/sortable.h
libcxx/include/__iterator/unreachable_sentinel.h
libcxx/include/__iterator/wrap_iter.h
libcxx/include/__locale
libcxx/include/__memory/addressof.h
libcxx/include/__memory/allocation_guard.h
libcxx/include/__memory/allocator.h
libcxx/include/__memory/allocator_arg_t.h
libcxx/include/__memory/allocator_traits.h
libcxx/include/__memory/auto_ptr.h
libcxx/include/__memory/compressed_pair.h
libcxx/include/__memory/concepts.h
libcxx/include/__memory/construct_at.h
libcxx/include/__memory/pointer_traits.h
libcxx/include/__memory/ranges_construct_at.h
libcxx/include/__memory/ranges_uninitialized_algorithms.h
libcxx/include/__memory/raw_storage_iterator.h
libcxx/include/__memory/shared_ptr.h
libcxx/include/__memory/temporary_buffer.h
libcxx/include/__memory/uninitialized_algorithms.h
libcxx/include/__memory/unique_ptr.h
libcxx/include/__memory/uses_allocator.h
libcxx/include/__memory/voidify.h
libcxx/include/__mutex_base
libcxx/include/__node_handle
libcxx/include/__numeric/accumulate.h
libcxx/include/__numeric/adjacent_difference.h
libcxx/include/__numeric/exclusive_scan.h
libcxx/include/__numeric/gcd_lcm.h
libcxx/include/__numeric/inclusive_scan.h
libcxx/include/__numeric/inner_product.h
libcxx/include/__numeric/iota.h
libcxx/include/__numeric/midpoint.h
libcxx/include/__numeric/partial_sum.h
libcxx/include/__numeric/reduce.h
libcxx/include/__numeric/transform_exclusive_scan.h
libcxx/include/__numeric/transform_inclusive_scan.h
libcxx/include/__numeric/transform_reduce.h
libcxx/include/__random/bernoulli_distribution.h
libcxx/include/__random/binomial_distribution.h
libcxx/include/__random/cauchy_distribution.h
libcxx/include/__random/chi_squared_distribution.h
libcxx/include/__random/clamp_to_integral.h
libcxx/include/__random/default_random_engine.h
libcxx/include/__random/discard_block_engine.h
libcxx/include/__random/discrete_distribution.h
libcxx/include/__random/exponential_distribution.h
libcxx/include/__random/extreme_value_distribution.h
libcxx/include/__random/fisher_f_distribution.h
libcxx/include/__random/gamma_distribution.h
libcxx/include/__random/generate_canonical.h
libcxx/include/__random/geometric_distribution.h
libcxx/include/__random/independent_bits_engine.h
libcxx/include/__random/is_seed_sequence.h
libcxx/include/__random/knuth_b.h
libcxx/include/__random/linear_congruential_engine.h
libcxx/include/__random/log2.h
libcxx/include/__random/lognormal_distribution.h
libcxx/include/__random/mersenne_twister_engine.h
libcxx/include/__random/negative_binomial_distribution.h
libcxx/include/__random/normal_distribution.h
libcxx/include/__random/piecewise_constant_distribution.h
libcxx/include/__random/piecewise_linear_distribution.h
libcxx/include/__random/poisson_distribution.h
libcxx/include/__random/random_device.h
libcxx/include/__random/ranlux.h
libcxx/include/__random/seed_seq.h
libcxx/include/__random/shuffle_order_engine.h
libcxx/include/__random/student_t_distribution.h
libcxx/include/__random/subtract_with_carry_engine.h
libcxx/include/__random/uniform_int_distribution.h
libcxx/include/__random/uniform_random_bit_generator.h
libcxx/include/__random/uniform_real_distribution.h
libcxx/include/__random/weibull_distribution.h
libcxx/include/__ranges/access.h
libcxx/include/__ranges/all.h
libcxx/include/__ranges/common_view.h
libcxx/include/__ranges/concepts.h
libcxx/include/__ranges/copyable_box.h
libcxx/include/__ranges/counted.h
libcxx/include/__ranges/dangling.h
libcxx/include/__ranges/data.h
libcxx/include/__ranges/drop_view.h
libcxx/include/__ranges/empty.h
libcxx/include/__ranges/empty_view.h
libcxx/include/__ranges/enable_borrowed_range.h
libcxx/include/__ranges/enable_view.h
libcxx/include/__ranges/iota_view.h
libcxx/include/__ranges/join_view.h
libcxx/include/__ranges/non_propagating_cache.h
libcxx/include/__ranges/owning_view.h
libcxx/include/__ranges/range_adaptor.h
libcxx/include/__ranges/rbegin.h
libcxx/include/__ranges/ref_view.h
libcxx/include/__ranges/rend.h
libcxx/include/__ranges/reverse_view.h
libcxx/include/__ranges/single_view.h
libcxx/include/__ranges/size.h
libcxx/include/__ranges/subrange.h
libcxx/include/__ranges/take_view.h
libcxx/include/__ranges/transform_view.h
libcxx/include/__ranges/view_interface.h
libcxx/include/__ranges/views.h
libcxx/include/__split_buffer
libcxx/include/__std_stream
libcxx/include/__string
libcxx/include/__thread/poll_with_backoff.h
libcxx/include/__thread/timed_backoff_policy.h
libcxx/include/__threading_support
libcxx/include/__tree
libcxx/include/__tuple
libcxx/include/__utility/as_const.h
libcxx/include/__utility/auto_cast.h
libcxx/include/__utility/cmp.h
libcxx/include/__utility/declval.h
libcxx/include/__utility/exchange.h
libcxx/include/__utility/forward.h
libcxx/include/__utility/in_place.h
libcxx/include/__utility/integer_sequence.h
libcxx/include/__utility/move.h
libcxx/include/__utility/pair.h
libcxx/include/__utility/piecewise_construct.h
libcxx/include/__utility/priority_tag.h
libcxx/include/__utility/rel_ops.h
libcxx/include/__utility/swap.h
libcxx/include/__utility/to_underlying.h
libcxx/include/__utility/transaction.h
libcxx/include/__utility/unreachable.h
libcxx/include/__variant/monostate.h
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/availability.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/bits.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/bits.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/errc.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/function.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/function.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/locale.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/locale.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/mbstate_t.h.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/node_handle.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/node_handle.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/log2.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/log2.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/std_stream.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/std_stream.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/string.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/string.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/tuple.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/tuple.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/move.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/move.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.module.verify.cpp
libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.header.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.module.verify.cpp
libcxx/utils/generate_private_header_tests.py
libcxxabi/include/threading_support.h [new file with mode: 0644]
libcxxabi/src/cxa_exception_storage.cpp
libcxxabi/src/cxa_guard_impl.h
libcxxabi/src/cxa_thread_atexit.cpp
libcxxabi/src/fallback_malloc.cpp
libcxxabi/test/test_exception_storage.pass.cpp
libcxxabi/test/test_fallback_malloc.pass.cpp
llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn

index d69405d..5b92ebb 100644 (file)
@@ -117,7 +117,7 @@ elseif ("${LIBCXX_CXX_ABI_LIBNAME}" STREQUAL "libcxxabi")
 
   setup_abi_lib(
     "-DLIBCXX_BUILDING_LIBCXXABI"
-    "${shared}" "${static}" "cxxabi.h;__cxxabi_config.h" "")
+    "${shared}" "${static}" "cxxabi.h;__cxxabi_config.h;threading_support.h" "")
 elseif ("${LIBCXX_CXX_ABI_LIBNAME}" STREQUAL "libcxxrt")
   if(NOT LIBCXX_CXX_ABI_INCLUDE_PATHS)
     set(LIBCXX_CXX_ABI_INCLUDE_PATHS "/usr/include/c++/v1")
index 83d8c26..e892ff4 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3af32a5..7b4a52c 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 6fe6a0b..193f9bd 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 15a17e1..60f91f2 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b3762b8..79eab53 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 62c06ae..beb2b68 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index ed0ed59..70993d1 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b4045cd..7c0ccb7 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9754f0c..cd21620 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9c3cd29..8960ce2 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 8b915af..93bcea6 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e18128c..e29a84b 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 1ec2d83..b6432e9 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index ca1bc6b..bfd3bf1 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 37a2c29..f4654a0 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index be5b474..ecbdc50 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 590c8f3..3a0aca7 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 641b85e..b9ed3c8 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 0220c09..294f09e 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b968329..1d3f0e9 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index aa98171..8fc59b5 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 61ddab0..58fc6c3 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index bfbd37c..4d869ea 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2552b40..75245c3 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index dacbd8c..0b49f36 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2650e9e..0184c1f 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7666ef1..a3d7e18 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 08ebf2f..9cbcd31 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 #if !defined(_LIBCPP_HAS_NO_CONCEPTS) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES)
index d5186e1..d971bc3 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f7cb698..5b17226 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 1590921..0de12db 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9788fbf..d429d4f 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index fd394a3..6edd15d 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4c87e8d..ec7d831 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 90ca152..d22c26d 100644 (file)
@@ -23,6 +23,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index fe44e63..cf57ef1 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 39f313e..f39cf9d 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b4f421c..849fdab 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index cdd7420..2a58dcf 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 56de95b..b4bc21b 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 338d285..c920073 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 038859e..8963325 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 30ddf24..26ae99d 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 26b64ec..6bac873 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index acac0aa..7e1b9a2 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 345b235..f41a29c 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 795ec8e..ce1dfae 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 48360ed..82855fa 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3d8c73d..7a092fe 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 129833d..b8da52b 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 1d56a74..9d0226a 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 30a1194..fddfcc6 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 80afbdf..38e280d 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f2011fa..d919e14 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 72bf3d7..7769225 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index a56f6b8..38d361d 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 05e56f4..1ea0b0d 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b34b1e0..d9dbec0 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 0f9f66d..fb754fb 100644 (file)
@@ -22,6 +22,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 8adf5b2..9714e4f 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7ed1e53..5a11963 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 73d9483..d2ed4b4 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index cacde0b..a53916e 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index c2fa841..24fd5d8 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2a69f6e..6680369 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9dbc1da..2f127ea 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 66973e0..8ff6df4 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 82aaeea..218cfce 100644 (file)
@@ -22,6 +22,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 #if !defined(_LIBCPP_HAS_NO_CONCEPTS) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES)
index 59a875a..b05bff2 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 #ifndef _LIBCPP_HAS_NO_CONCEPTS
index c00f96f..88bf9b4 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index a29a385..411723f 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 36ddba4..0dbe6fd 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 0ae1314..5974643 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index d0ae8f6..3454403 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7c8a5a0..f260c81 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9d8a68f..2dc6f6b 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 37c719a..c5a06f8 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 0202cd7..1bde1b0 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 1583907..9db7379 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 344c2f8..61e5cf1 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index ab569ef..7dc29dc 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 5234961..e8b9ebf 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index d89ec2b..6d1d77f 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4c083de..5e563b5 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 5e2dca2..23eae01 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index c4163fc..563ee66 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2dbfb35..1e0d325 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 0ec6b09..78ee9e2 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 33f06d5..5171009 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 14bc761..65d52d3 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 647aa3f..123a6a7 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index b636da7..b617153 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 27ce647..3159452 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3a63d74..9ab129a 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 1233cc1..9e13234 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 33df6e8..8658069 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 0422265..4d7844d 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f9db806..2983b71 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 264d727..cb80ee3 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f585177..4cb861d 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e738cb2..bbadd53 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index cfa021e..a4963cf 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index fbb70b3..589594b 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<bit>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 970074e..6bb1980 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<bit>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 423acee..7c0f332 100644 (file)
@@ -20,6 +20,8 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<bitset>)
+#  pragma clang include_instead(<vector>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 1eee8f5..56508e1 100644 (file)
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<algorithm>)
+#  pragma clang include_instead(<bit>)
+#  pragma clang include_instead(<bitset>)
+#  pragma clang include_instead(<numeric>)
+#  pragma clang include_instead(<random>)
+#  pragma clang include_instead(<unordered_map>)
+#  pragma clang include_instead(<unordered_set>)
+#  pragma clang include_instead(<vector>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 0875079..59e17df 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<charconv>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2cc3c11..e281567 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<charconv>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b4bc6ac..c0e3a9a 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<charconv>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9e5642f..f9feab8 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<chrono>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index e8631d1..23c6415 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<chrono>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index f520759..1097412 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<chrono>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index b8e08e7..f2bbdb3 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<chrono>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 778ff44..36c9d3f 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<chrono>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 657e5ee..9827601 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<chrono>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2922b78..972da25 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<chrono>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index ac2d347..3ac44e7 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<chrono>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index deab171..9538f3f 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b1fd5e8..a403403 100644 (file)
@@ -18,6 +18,7 @@
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9365a1e..fdcd60a 100644 (file)
@@ -18,6 +18,7 @@
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 25563bb..5445afa 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7b03597..bdcce13 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 160e45e..d72c1ee 100644 (file)
@@ -18,6 +18,7 @@
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4964892..fcf9e6c 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 1d466d6..7913129 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index ad29701..f3d8e63 100644 (file)
@@ -19,6 +19,7 @@
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 49a6106..6e1e285 100644 (file)
@@ -22,6 +22,7 @@
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index f55edd4..1d15342 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f17382e..7fdf9fe 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 725ac83..c02011f 100644 (file)
@@ -20,6 +20,7 @@
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
 #  pragma GCC system_header
+#  pragma clang include_instead(<compare>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f86908c..b9a1d2a 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4d8a230..7f28afc 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 89f6620..222c35f 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 729e444..e3c0f6f 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index bb5801a..a16a59b 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2b7cb83..f1661a6 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f537108..7d97490 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 6bf1922..2e5d8a6 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 8d5f28a..bfde923 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b91ce13..12aa88b 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 429e82e..54941fb 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f882205..fdeef64 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 36ac870..8607802 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 8a669f1..193e813 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 53e36eb..bb95690 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 04cdd97..5e11205 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 63c9fb3..870b254 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 1d68755..2bfeacd 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 1337193..12057a2 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index eac5ec2..6654ae1 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 866e9f7..dc185cf 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 5ede92a..853b490 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<concepts>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4bf3237..d166601 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<coroutine>)
 #endif
 
 #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CXX20_COROUTINES)
index 0a5229b..1acca38 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<coroutine>)
 #endif
 
 #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CXX20_COROUTINES)
index 839d66f..7ec0cb9 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<coroutine>)
 #endif
 
 #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CXX20_COROUTINES)
@@ -66,7 +67,7 @@ private:
     friend coroutine_handle<noop_coroutine_promise> noop_coroutine() noexcept;
 
 #if __has_builtin(__builtin_coro_noop)
-    _LIBCPP_HIDE_FROM_ABI coroutine_handle() noexcept { 
+    _LIBCPP_HIDE_FROM_ABI coroutine_handle() noexcept {
         this->__handle_ = __builtin_coro_noop();
     }
 
index 31399ab..e09c0b2 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<coroutine>)
 #endif
 
 #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CXX20_COROUTINES)
index 2e03740..411cec2 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 3db2445..0684140 100644 (file)
@@ -29,6 +29,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 87bbbfa..8994427 100644 (file)
@@ -25,6 +25,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index d3f8cc1..6a72146 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index ac3f6cb..5adcc33 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 7c4932e..7c4b025 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index c756a05..24e5930 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index e32b14c..0e76f39 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 85c71f0..2f92922 100644 (file)
@@ -26,6 +26,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 6b4b1ae..c353738 100644 (file)
@@ -28,6 +28,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 6f2baf8..8be8101 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index f7580a2..7484f75 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 0e5c7ed..3d6d1b9 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 9536037..e17c6f8 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index d7dc03a..c220e50 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index ee25521..82dcf89 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<filesystem>)
 #endif
 
 #ifndef _LIBCPP_CXX03_LANG
index 5e1565b..7953903 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2739d11..84cb51b 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index d4bc35d..71d6c1c 100644 (file)
@@ -25,6 +25,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 67ff41c..ee0cd9c 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9421aa8..e590f5f 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3147be8..1110f0e 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 32af660..b26fc48 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b973dc5..11edcec 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f9e0b6c..1ca4160 100644 (file)
@@ -25,6 +25,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f428683..d4218ee 100644 (file)
@@ -25,6 +25,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f565135..07d408a 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index aa32815..557aeb7 100644 (file)
@@ -37,6 +37,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index e6143a4..256ff8a 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 8360826..1657713 100644 (file)
@@ -33,6 +33,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 83d21e1..ce7af24 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 54aa121..850cf2e 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 92c8986..1ec87ea 100644 (file)
@@ -25,6 +25,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<format>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 51135ef..74aa70e 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 17c5c20..c085856 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index c352406..8a2d0b3 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index d64981a..93cdecb 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 22fb3a6..f3f96ff 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 13b2459..8327010 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index ff0f5f0..56a3b08 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 25213f2..41a81f9 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 05fb23d..4ad333d 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4698c8c..ee51a07 100644 (file)
@@ -28,6 +28,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2b3b96e..029ba04 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 646325a..1a181a3 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b4c3e76..cb38c0f 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 74326c7..f102bb5 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 10967a8..36fef44 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 81f48e6..9d61c4d 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b5c415c..89f2d37 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9df6d77..4824583 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9acaa7e..92811e0 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 187e309..437b518 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index a0f98c1..8984217 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e8cf519..2578c55 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b7d2f87..6fc8182 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index af2a0b9..aa091d3 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7ff1f6e..c09ec84 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f720793..8367b5f 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e1c553e..2799f0b 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<functional>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 36f2ef7..4ea55c7 100644 (file)
@@ -26,6 +26,8 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<unordered_map>)
+#  pragma clang include_instead(<unordered_set>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 87f0135..870cc8a 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ios>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7abd4c5..fb5e881 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index da6bf05..766adce 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9a4b057..27df535 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 505e4f1..a1f0fc6 100644 (file)
@@ -23,6 +23,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 92ef781..8f4d201 100644 (file)
@@ -22,6 +22,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 826d5de..76499ac 100644 (file)
@@ -26,6 +26,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 88eb752..6f7469c 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 669032a..7734027 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 78b8177..61e4157 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 748ca9e..7b55ddd 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index d7c71a9..d44d006 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 69b2d32..b7b6bc3 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f36b417..2a66874 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9002b21..b14ae7d 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index aba197e..dc260ab 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9ee0a98..d5241a9 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3b16f79..3f2bb4f 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4a89662..3510773 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 291558f..dec8ce7 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b417eea..e7f7436 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 6ffb2ab..58aef84 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 08022aa..4c2d104 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e157b71..e8ba0a7 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index fae5989..c3b75ef 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f6601b2..fde1a7f 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 16ddb65..b21c78b 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 85834a2..d823df6 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 5839621..ebe0abc 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2edbe0d..4d025d7 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 5bc59a8..07cf17c 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 40c2663..98a3f05 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 90bc2d7..3af6939 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index bf40207..90f57dc 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 77a553d..94337b4 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b94ca53..5aa5b55 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index d91a25e..e964cc5 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<iterator>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index ad97be0..cabc578 100644 (file)
@@ -48,6 +48,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<locale>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 75e3dd0..8377a8f 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 424598c..4e7846d 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 915ff7c..9dbf616 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2d63b1f..bacea75 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 5215556..bc5ce77 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 163a46b..1e97f67 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 852031f..a2349bf 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 816c553..fe9ca2e 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 8a7bf40..229cd50 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f1e8070..351f34d 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3064f81..90d3cad 100644 (file)
@@ -25,6 +25,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e036c18..c025e4f 100644 (file)
@@ -28,6 +28,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f25f7b1..fc15544 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 0f28bcd..451d74e 100644 (file)
@@ -40,6 +40,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2c6e333..56ac3b2 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index fc55b49..6115905 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 348c903..37f969f 100644 (file)
@@ -26,6 +26,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 05c500c..705dbf1 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3a65c0e..20249ed 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<memory>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index da056b6..ce1101c 100644 (file)
@@ -22,6 +22,8 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<mutex>)
+#  pragma clang include_instead(<shared_mutex>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 71309be..84da7eb 100644 (file)
@@ -65,6 +65,10 @@ public:
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<map>)
+#  pragma clang include_instead(<set>)
+#  pragma clang include_instead(<unordered_map>)
+#  pragma clang include_instead(<unordered_set>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index fa75987..bcb95c7 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 5c712ec..0a47f3f 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index c0c89b3..86d9c22 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9a53a00..b5d5499 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index a6b0050..bc523e5 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 6fe18bb..aace2e8 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b30e0e0..91eb23e 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 668030c..d0db307 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 9acee3a..db882ea 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 90e4d23..830cff0 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 45b3077..3ccd8da 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b0d4ab5..ff8c92f 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index da5a779..6ec6149 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<numeric>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index cf01951..6e74887 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 77df98c..31a11f7 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 288118e..dead3a2 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index b98488c..2dce18b 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 7d44ff9..2eef04f 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 89792f4..02d6079 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index c58d66b..83ae20f 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index fc19068..95e19da 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index e51871d..f3ff78f 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 15cebd8..c93f0cf 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 72f1f40..cf87058 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index a850496..784fc2c 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 84efa78..8b0e7a8 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index b9cc151..7283817 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index e80d6ee..6e48d33 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index a6832f5..244f564 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f5b31cb..70330fc 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f5aba75..18ce4cb 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index b077d21..5fe4bbe 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 048d7da..bfecca0 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 8bceac0..250aa50 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 01e9c30..b16e0be 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index dc4de78..6458d04 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index eec9b75..90b30ef 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 0d7591a..5841d4e 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index c54d783..72173c6 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index e82b437..811a5ba 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index e44cece..ba06750 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 8640cd1..5746a8c 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index c2f76f6..4a4715c 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index dc38a8b..5a9caea 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index fdbe2d2..0d21470 100644 (file)
@@ -22,6 +22,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 4e961f0..630d724 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 99f2e6b..97a75c8 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index e112225..2ee5790 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 85bae65..fe8ea37 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<random>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 2ebdab4..9a35d4e 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7739622..b606bd1 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7891128..a63062a 100644 (file)
@@ -26,6 +26,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 709f3d8..4425273 100644 (file)
@@ -28,6 +28,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e1c08a7..615bd49 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 0a2d828..0a98510 100644 (file)
@@ -25,6 +25,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3a200ed..2b736e2 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index dbb4767..c297af2 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 079a74d..c3f7953 100644 (file)
@@ -27,6 +27,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index c0b55b2..75c2241 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 6a08727..9675cba 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b8f809b..bca488e 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4b4b63a..8f6d944 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b7c099e..119edd6 100644 (file)
@@ -35,6 +35,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 395e5c7..5716254 100644 (file)
@@ -26,6 +26,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index d9589ae..41bc714 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7987c60..6fddd3c 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9c53488..cf7ec83 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 20f5489..3d4e422 100644 (file)
@@ -21,6 +21,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 255a468..be46ed8 100644 (file)
@@ -27,6 +27,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4f1597e..9795f66 100644 (file)
@@ -22,6 +22,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index c3ab626..0d4f3d9 100644 (file)
@@ -29,6 +29,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e0fd484..42e6fbe 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2c5a96e..7f832b6 100644 (file)
@@ -20,6 +20,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index c54f771..42e0697 100644 (file)
@@ -32,6 +32,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b5f194f..59eded0 100644 (file)
@@ -27,6 +27,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 4cc582f..a1dd1bd 100644 (file)
@@ -37,6 +37,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index eecc475..6bc615a 100644 (file)
@@ -24,6 +24,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 8cc5ba3..e89cd13 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<ranges>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 9565e16..3b9c674 100644 (file)
@@ -17,6 +17,8 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<vector>)
+#  pragma clang include_instead(<deque>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index e419e8c..07dd7e7 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<streambuf>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 26aa619..4b819e4 100644 (file)
@@ -34,6 +34,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<string>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 0bbafd1..8532607 100644 (file)
@@ -19,6 +19,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<thread>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 28fe75d..fd0effb 100644 (file)
@@ -18,6 +18,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<thread>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 4f1640a..b848282 100644 (file)
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
 #  pragma GCC system_header
+#  pragma clang include_instead(<atomic>)
+#  pragma clang include_instead(<mutex>)
+#  pragma clang include_instead(<semaphore>)
+#  pragma clang include_instead(<thread>)
 #endif
 
 #if defined(_LIBCPP_HAS_THREAD_API_EXTERNAL)
index 384d383..d22d26c 100644 (file)
@@ -20,6 +20,8 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<map>)
+#  pragma clang include_instead(<set>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 6d13bb2..361ded1 100644 (file)
@@ -16,6 +16,8 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<tuple>)
+#  pragma clang include_instead(<utility>)
 #endif
 
 
index be7dd8c..47b7f8d 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e907944..65fa8cf 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 #define _LIBCPP_AUTO_CAST(expr) static_cast<typename decay<decltype((expr))>::type>(expr)
index f36d53a..3d3a240 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_PUSH_MACROS
index 97fd1eb..f8717da 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index d9b3c15..603b306 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 6ee1f81..467bfd6 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7a4973f..bc3d68f 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 633f133..a4046e5 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 7d1c8c2..a6f3626 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 15532f6..9564ede 100644 (file)
@@ -22,6 +22,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3cc86fe..e1d1576 100644 (file)
@@ -13,6 +13,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index e51ba6b..339e29b 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 2577e94..2084190 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index f9e7f36..f16d6cd 100644 (file)
@@ -17,6 +17,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 3428406..24edd96 100644 (file)
@@ -15,6 +15,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 87e51c0..0d3e93b 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index 485edb2..071aef9 100644 (file)
@@ -14,6 +14,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<utility>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
index b389c3b..f4e19d2 100644 (file)
@@ -16,6 +16,7 @@
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
+#  pragma clang include_instead(<variant>)
 #endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.header.verify.cpp
new file mode 100644 (file)
index 0000000..00b86ec
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/adjacent_find.h>
+// expected-error@-1 {{header '<__algorithm/adjacent_find.h>' is an implementation detail; #include '<algorithm>' instead}}
index 26a9e76..e445eca 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.header.verify.cpp
new file mode 100644 (file)
index 0000000..bb77699
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/all_of.h>
+// expected-error@-1 {{header '<__algorithm/all_of.h>' is an implementation detail; #include '<algorithm>' instead}}
index 5f6b144..94cbcd3 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.header.verify.cpp
new file mode 100644 (file)
index 0000000..a5c36fd
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/any_of.h>
+// expected-error@-1 {{header '<__algorithm/any_of.h>' is an implementation detail; #include '<algorithm>' instead}}
index dbbebe6..6a7f306 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.header.verify.cpp
new file mode 100644 (file)
index 0000000..25df4b4
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/binary_search.h>
+// expected-error@-1 {{header '<__algorithm/binary_search.h>' is an implementation detail; #include '<algorithm>' instead}}
index ce749df..c5dc84c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.header.verify.cpp
new file mode 100644 (file)
index 0000000..3c2f21c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/clamp.h>
+// expected-error@-1 {{header '<__algorithm/clamp.h>' is an implementation detail; #include '<algorithm>' instead}}
index 646c169..85b7ba3 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.header.verify.cpp
new file mode 100644 (file)
index 0000000..8794794
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/comp.h>
+// expected-error@-1 {{header '<__algorithm/comp.h>' is an implementation detail; #include '<algorithm>' instead}}
index 457dc03..16127b5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.header.verify.cpp
new file mode 100644 (file)
index 0000000..7318dfb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/comp_ref_type.h>
+// expected-error@-1 {{header '<__algorithm/comp_ref_type.h>' is an implementation detail; #include '<algorithm>' instead}}
index 400d354..3bcfe37 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.header.verify.cpp
new file mode 100644 (file)
index 0000000..d47b3cb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/copy.h>
+// expected-error@-1 {{header '<__algorithm/copy.h>' is an implementation detail; #include '<algorithm>' instead}}
index c213de5..9dc3406 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.header.verify.cpp
new file mode 100644 (file)
index 0000000..b976a1d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/copy_backward.h>
+// expected-error@-1 {{header '<__algorithm/copy_backward.h>' is an implementation detail; #include '<algorithm>' instead}}
index 90861e7..22cd8cd 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.header.verify.cpp
new file mode 100644 (file)
index 0000000..086f241
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/copy_if.h>
+// expected-error@-1 {{header '<__algorithm/copy_if.h>' is an implementation detail; #include '<algorithm>' instead}}
index a8c0e53..91fff81 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.header.verify.cpp
new file mode 100644 (file)
index 0000000..162de89
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/copy_n.h>
+// expected-error@-1 {{header '<__algorithm/copy_n.h>' is an implementation detail; #include '<algorithm>' instead}}
index 94dce2d..88100be 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.header.verify.cpp
new file mode 100644 (file)
index 0000000..3a1513b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/count.h>
+// expected-error@-1 {{header '<__algorithm/count.h>' is an implementation detail; #include '<algorithm>' instead}}
index 0ffe17d..40583e7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.header.verify.cpp
new file mode 100644 (file)
index 0000000..cca6d6c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/count_if.h>
+// expected-error@-1 {{header '<__algorithm/count_if.h>' is an implementation detail; #include '<algorithm>' instead}}
index b30b98e..4465c91 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.header.verify.cpp
new file mode 100644 (file)
index 0000000..e7cf524
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/equal.h>
+// expected-error@-1 {{header '<__algorithm/equal.h>' is an implementation detail; #include '<algorithm>' instead}}
index 0470090..877b70a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.header.verify.cpp
new file mode 100644 (file)
index 0000000..cc7eab0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/equal_range.h>
+// expected-error@-1 {{header '<__algorithm/equal_range.h>' is an implementation detail; #include '<algorithm>' instead}}
index d061ba7..e821771 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.header.verify.cpp
new file mode 100644 (file)
index 0000000..0fbfa01
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/fill.h>
+// expected-error@-1 {{header '<__algorithm/fill.h>' is an implementation detail; #include '<algorithm>' instead}}
index 1a56506..c5d9512 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.header.verify.cpp
new file mode 100644 (file)
index 0000000..e0be00b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/fill_n.h>
+// expected-error@-1 {{header '<__algorithm/fill_n.h>' is an implementation detail; #include '<algorithm>' instead}}
index 42c105c..b007547 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.header.verify.cpp
new file mode 100644 (file)
index 0000000..82119fe
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/find.h>
+// expected-error@-1 {{header '<__algorithm/find.h>' is an implementation detail; #include '<algorithm>' instead}}
index b6f8849..5e46484 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.header.verify.cpp
new file mode 100644 (file)
index 0000000..3e7f60e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/find_end.h>
+// expected-error@-1 {{header '<__algorithm/find_end.h>' is an implementation detail; #include '<algorithm>' instead}}
index a793020..0f8788c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.header.verify.cpp
new file mode 100644 (file)
index 0000000..1864d3e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/find_first_of.h>
+// expected-error@-1 {{header '<__algorithm/find_first_of.h>' is an implementation detail; #include '<algorithm>' instead}}
index 786a288..0d92c1f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.header.verify.cpp
new file mode 100644 (file)
index 0000000..afe5ff3
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/find_if.h>
+// expected-error@-1 {{header '<__algorithm/find_if.h>' is an implementation detail; #include '<algorithm>' instead}}
index 2e65862..123ed3f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.header.verify.cpp
new file mode 100644 (file)
index 0000000..6707701
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/find_if_not.h>
+// expected-error@-1 {{header '<__algorithm/find_if_not.h>' is an implementation detail; #include '<algorithm>' instead}}
index be6678e..af941ee 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.header.verify.cpp
new file mode 100644 (file)
index 0000000..6dcf52f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/for_each.h>
+// expected-error@-1 {{header '<__algorithm/for_each.h>' is an implementation detail; #include '<algorithm>' instead}}
index d567e52..d7d37fb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.header.verify.cpp
new file mode 100644 (file)
index 0000000..6b74338
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/for_each_n.h>
+// expected-error@-1 {{header '<__algorithm/for_each_n.h>' is an implementation detail; #include '<algorithm>' instead}}
index b521121..bb777bb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.header.verify.cpp
new file mode 100644 (file)
index 0000000..8fe3ffd
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/generate.h>
+// expected-error@-1 {{header '<__algorithm/generate.h>' is an implementation detail; #include '<algorithm>' instead}}
index 58a35f3..1d22acb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.header.verify.cpp
new file mode 100644 (file)
index 0000000..6ba2bc2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/generate_n.h>
+// expected-error@-1 {{header '<__algorithm/generate_n.h>' is an implementation detail; #include '<algorithm>' instead}}
index f4196b4..67984f0 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.header.verify.cpp
new file mode 100644 (file)
index 0000000..d317cc6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/half_positive.h>
+// expected-error@-1 {{header '<__algorithm/half_positive.h>' is an implementation detail; #include '<algorithm>' instead}}
index 70001c1..1e69336 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..9a2026f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/in_found_result.h>
+// expected-error@-1 {{header '<__algorithm/in_found_result.h>' is an implementation detail; #include '<algorithm>' instead}}
index 8c6b4ac..7c9a869 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..42fa062
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/in_fun_result.h>
+// expected-error@-1 {{header '<__algorithm/in_fun_result.h>' is an implementation detail; #include '<algorithm>' instead}}
index ff14183..bf55ae3 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..80ea593
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/in_in_out_result.h>
+// expected-error@-1 {{header '<__algorithm/in_in_out_result.h>' is an implementation detail; #include '<algorithm>' instead}}
index 887c307..5d1b756 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..94f2d20
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/in_in_result.h>
+// expected-error@-1 {{header '<__algorithm/in_in_result.h>' is an implementation detail; #include '<algorithm>' instead}}
index 3ae3c16..44b1fca 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..814d650
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/in_out_out_result.h>
+// expected-error@-1 {{header '<__algorithm/in_out_out_result.h>' is an implementation detail; #include '<algorithm>' instead}}
index e1c0273..119cc90 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..ae13001
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/in_out_result.h>
+// expected-error@-1 {{header '<__algorithm/in_out_result.h>' is an implementation detail; #include '<algorithm>' instead}}
index 254aca5..5901271 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.header.verify.cpp
new file mode 100644 (file)
index 0000000..461ab6f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/includes.h>
+// expected-error@-1 {{header '<__algorithm/includes.h>' is an implementation detail; #include '<algorithm>' instead}}
index babab06..16e2b91 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.header.verify.cpp
new file mode 100644 (file)
index 0000000..92e82b5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/inplace_merge.h>
+// expected-error@-1 {{header '<__algorithm/inplace_merge.h>' is an implementation detail; #include '<algorithm>' instead}}
index 5c191c3..2e8ea0a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.header.verify.cpp
new file mode 100644 (file)
index 0000000..682787b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/is_heap.h>
+// expected-error@-1 {{header '<__algorithm/is_heap.h>' is an implementation detail; #include '<algorithm>' instead}}
index a67bf39..3bdf3c9 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.header.verify.cpp
new file mode 100644 (file)
index 0000000..44c4d30
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/is_heap_until.h>
+// expected-error@-1 {{header '<__algorithm/is_heap_until.h>' is an implementation detail; #include '<algorithm>' instead}}
index c5cdfea..9545b2d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.header.verify.cpp
new file mode 100644 (file)
index 0000000..9ff6dfd
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/is_partitioned.h>
+// expected-error@-1 {{header '<__algorithm/is_partitioned.h>' is an implementation detail; #include '<algorithm>' instead}}
index d1640a2..685e9c5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.header.verify.cpp
new file mode 100644 (file)
index 0000000..11a4c12
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/is_permutation.h>
+// expected-error@-1 {{header '<__algorithm/is_permutation.h>' is an implementation detail; #include '<algorithm>' instead}}
index 7bdaaaf..5b3d1ca 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.header.verify.cpp
new file mode 100644 (file)
index 0000000..c28d393
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/is_sorted.h>
+// expected-error@-1 {{header '<__algorithm/is_sorted.h>' is an implementation detail; #include '<algorithm>' instead}}
index dbf4c10..6bdf25d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.header.verify.cpp
new file mode 100644 (file)
index 0000000..a0955e0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/is_sorted_until.h>
+// expected-error@-1 {{header '<__algorithm/is_sorted_until.h>' is an implementation detail; #include '<algorithm>' instead}}
index 60175e4..6f4f12c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.header.verify.cpp
new file mode 100644 (file)
index 0000000..401a98f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/iter_swap.h>
+// expected-error@-1 {{header '<__algorithm/iter_swap.h>' is an implementation detail; #include '<algorithm>' instead}}
index a01438d..7db6879 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.header.verify.cpp
new file mode 100644 (file)
index 0000000..6f0e4bb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/lexicographical_compare.h>
+// expected-error@-1 {{header '<__algorithm/lexicographical_compare.h>' is an implementation detail; #include '<algorithm>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.header.verify.cpp
new file mode 100644 (file)
index 0000000..4a1b509
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/lower_bound.h>
+// expected-error@-1 {{header '<__algorithm/lower_bound.h>' is an implementation detail; #include '<algorithm>' instead}}
index 37622f6..5d2347b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.header.verify.cpp
new file mode 100644 (file)
index 0000000..b508885
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/make_heap.h>
+// expected-error@-1 {{header '<__algorithm/make_heap.h>' is an implementation detail; #include '<algorithm>' instead}}
index d681675..2ac533e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.header.verify.cpp
new file mode 100644 (file)
index 0000000..c81bed7
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/max.h>
+// expected-error@-1 {{header '<__algorithm/max.h>' is an implementation detail; #include '<algorithm>' instead}}
index ab7555f..51f0e90 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.header.verify.cpp
new file mode 100644 (file)
index 0000000..9108d44
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/max_element.h>
+// expected-error@-1 {{header '<__algorithm/max_element.h>' is an implementation detail; #include '<algorithm>' instead}}
index 99244e9..e25d192 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.header.verify.cpp
new file mode 100644 (file)
index 0000000..ca07885
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/merge.h>
+// expected-error@-1 {{header '<__algorithm/merge.h>' is an implementation detail; #include '<algorithm>' instead}}
index 3abafd5..5f4ca30 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.header.verify.cpp
new file mode 100644 (file)
index 0000000..9c13996
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/min.h>
+// expected-error@-1 {{header '<__algorithm/min.h>' is an implementation detail; #include '<algorithm>' instead}}
index a094afd..26f265b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.header.verify.cpp
new file mode 100644 (file)
index 0000000..af90547
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/min_element.h>
+// expected-error@-1 {{header '<__algorithm/min_element.h>' is an implementation detail; #include '<algorithm>' instead}}
index 0fdef67..1e4174a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..940da7f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/min_max_result.h>
+// expected-error@-1 {{header '<__algorithm/min_max_result.h>' is an implementation detail; #include '<algorithm>' instead}}
index 6927064..7107c8c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.header.verify.cpp
new file mode 100644 (file)
index 0000000..9d0b43d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/minmax.h>
+// expected-error@-1 {{header '<__algorithm/minmax.h>' is an implementation detail; #include '<algorithm>' instead}}
index 2afe29b..a595d38 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.header.verify.cpp
new file mode 100644 (file)
index 0000000..58adf28
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/minmax_element.h>
+// expected-error@-1 {{header '<__algorithm/minmax_element.h>' is an implementation detail; #include '<algorithm>' instead}}
index 4f416c6..18d7f7d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.header.verify.cpp
new file mode 100644 (file)
index 0000000..e462477
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/mismatch.h>
+// expected-error@-1 {{header '<__algorithm/mismatch.h>' is an implementation detail; #include '<algorithm>' instead}}
index 91ab28b..b5645a2 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.header.verify.cpp
new file mode 100644 (file)
index 0000000..090b37b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/move.h>
+// expected-error@-1 {{header '<__algorithm/move.h>' is an implementation detail; #include '<algorithm>' instead}}
index c5100b1..80030e2 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.header.verify.cpp
new file mode 100644 (file)
index 0000000..6751b9b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/move_backward.h>
+// expected-error@-1 {{header '<__algorithm/move_backward.h>' is an implementation detail; #include '<algorithm>' instead}}
index 67a359c..ef738d0 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.header.verify.cpp
new file mode 100644 (file)
index 0000000..6118676
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/next_permutation.h>
+// expected-error@-1 {{header '<__algorithm/next_permutation.h>' is an implementation detail; #include '<algorithm>' instead}}
index 91b7952..08df0a7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.header.verify.cpp
new file mode 100644 (file)
index 0000000..0426759
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/none_of.h>
+// expected-error@-1 {{header '<__algorithm/none_of.h>' is an implementation detail; #include '<algorithm>' instead}}
index 1cf4376..f421b9d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.header.verify.cpp
new file mode 100644 (file)
index 0000000..0a63fd6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/nth_element.h>
+// expected-error@-1 {{header '<__algorithm/nth_element.h>' is an implementation detail; #include '<algorithm>' instead}}
index 77ceaf6..14e69fa 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.header.verify.cpp
new file mode 100644 (file)
index 0000000..0e23bdd
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/partial_sort.h>
+// expected-error@-1 {{header '<__algorithm/partial_sort.h>' is an implementation detail; #include '<algorithm>' instead}}
index 4a8b45a..9b18924 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.header.verify.cpp
new file mode 100644 (file)
index 0000000..591795b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/partial_sort_copy.h>
+// expected-error@-1 {{header '<__algorithm/partial_sort_copy.h>' is an implementation detail; #include '<algorithm>' instead}}
index 4db8fda..42242f7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.header.verify.cpp
new file mode 100644 (file)
index 0000000..ab82139
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/partition.h>
+// expected-error@-1 {{header '<__algorithm/partition.h>' is an implementation detail; #include '<algorithm>' instead}}
index 134b02e..f7e2136 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.header.verify.cpp
new file mode 100644 (file)
index 0000000..204748f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/partition_copy.h>
+// expected-error@-1 {{header '<__algorithm/partition_copy.h>' is an implementation detail; #include '<algorithm>' instead}}
index 21cc2a0..9246278 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.header.verify.cpp
new file mode 100644 (file)
index 0000000..c242d40
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/partition_point.h>
+// expected-error@-1 {{header '<__algorithm/partition_point.h>' is an implementation detail; #include '<algorithm>' instead}}
index b2b778d..e22856e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.header.verify.cpp
new file mode 100644 (file)
index 0000000..38ef5d8
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/pop_heap.h>
+// expected-error@-1 {{header '<__algorithm/pop_heap.h>' is an implementation detail; #include '<algorithm>' instead}}
index 726f92a..f5fe44f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.header.verify.cpp
new file mode 100644 (file)
index 0000000..f41907c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/prev_permutation.h>
+// expected-error@-1 {{header '<__algorithm/prev_permutation.h>' is an implementation detail; #include '<algorithm>' instead}}
index a23b26c..5d7c7dd 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.header.verify.cpp
new file mode 100644 (file)
index 0000000..7fa261a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/push_heap.h>
+// expected-error@-1 {{header '<__algorithm/push_heap.h>' is an implementation detail; #include '<algorithm>' instead}}
index ff54c01..b1a2d74 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.header.verify.cpp
new file mode 100644 (file)
index 0000000..f070ab1
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/ranges_min_element.h>
+// expected-error@-1 {{header '<__algorithm/ranges_min_element.h>' is an implementation detail; #include '<algorithm>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.header.verify.cpp
new file mode 100644 (file)
index 0000000..2b76681
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/ranges_swap_ranges.h>
+// expected-error@-1 {{header '<__algorithm/ranges_swap_ranges.h>' is an implementation detail; #include '<algorithm>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.header.verify.cpp
new file mode 100644 (file)
index 0000000..bd18800
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/remove.h>
+// expected-error@-1 {{header '<__algorithm/remove.h>' is an implementation detail; #include '<algorithm>' instead}}
index 9f79428..cf78bbc 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.header.verify.cpp
new file mode 100644 (file)
index 0000000..86fd2e0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/remove_copy.h>
+// expected-error@-1 {{header '<__algorithm/remove_copy.h>' is an implementation detail; #include '<algorithm>' instead}}
index a4161ef..ff7afca 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.header.verify.cpp
new file mode 100644 (file)
index 0000000..35f9003
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/remove_copy_if.h>
+// expected-error@-1 {{header '<__algorithm/remove_copy_if.h>' is an implementation detail; #include '<algorithm>' instead}}
index a6b6e17..55a21c5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.header.verify.cpp
new file mode 100644 (file)
index 0000000..d28a6fe
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/remove_if.h>
+// expected-error@-1 {{header '<__algorithm/remove_if.h>' is an implementation detail; #include '<algorithm>' instead}}
index a6fdcee..4309184 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.header.verify.cpp
new file mode 100644 (file)
index 0000000..ea01726
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/replace.h>
+// expected-error@-1 {{header '<__algorithm/replace.h>' is an implementation detail; #include '<algorithm>' instead}}
index e81a1aa..ec81e42 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.header.verify.cpp
new file mode 100644 (file)
index 0000000..fc2bdde
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/replace_copy.h>
+// expected-error@-1 {{header '<__algorithm/replace_copy.h>' is an implementation detail; #include '<algorithm>' instead}}
index d898943..cb95f4c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.header.verify.cpp
new file mode 100644 (file)
index 0000000..4011c6d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/replace_copy_if.h>
+// expected-error@-1 {{header '<__algorithm/replace_copy_if.h>' is an implementation detail; #include '<algorithm>' instead}}
index 30a0db3..b67f7fa 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.header.verify.cpp
new file mode 100644 (file)
index 0000000..6dd5374
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/replace_if.h>
+// expected-error@-1 {{header '<__algorithm/replace_if.h>' is an implementation detail; #include '<algorithm>' instead}}
index fafc501..616fe02 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.header.verify.cpp
new file mode 100644 (file)
index 0000000..bf7fb21
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/reverse.h>
+// expected-error@-1 {{header '<__algorithm/reverse.h>' is an implementation detail; #include '<algorithm>' instead}}
index 68230d6..6ead238 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.header.verify.cpp
new file mode 100644 (file)
index 0000000..4e332f6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/reverse_copy.h>
+// expected-error@-1 {{header '<__algorithm/reverse_copy.h>' is an implementation detail; #include '<algorithm>' instead}}
index 1975449..8e17485 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.header.verify.cpp
new file mode 100644 (file)
index 0000000..c0d00b4
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/rotate.h>
+// expected-error@-1 {{header '<__algorithm/rotate.h>' is an implementation detail; #include '<algorithm>' instead}}
index ba8f574..2cb958c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.header.verify.cpp
new file mode 100644 (file)
index 0000000..3631d60
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/rotate_copy.h>
+// expected-error@-1 {{header '<__algorithm/rotate_copy.h>' is an implementation detail; #include '<algorithm>' instead}}
index 6befaa9..453c947 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.header.verify.cpp
new file mode 100644 (file)
index 0000000..28c08c5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/sample.h>
+// expected-error@-1 {{header '<__algorithm/sample.h>' is an implementation detail; #include '<algorithm>' instead}}
index 958c6a5..bce9021 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.header.verify.cpp
new file mode 100644 (file)
index 0000000..8b43165
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/search.h>
+// expected-error@-1 {{header '<__algorithm/search.h>' is an implementation detail; #include '<algorithm>' instead}}
index 8d2d283..965e26e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.header.verify.cpp
new file mode 100644 (file)
index 0000000..7fe8fd4
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/search_n.h>
+// expected-error@-1 {{header '<__algorithm/search_n.h>' is an implementation detail; #include '<algorithm>' instead}}
index a4313cd..1b96ca2 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.header.verify.cpp
new file mode 100644 (file)
index 0000000..fbc10af
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/set_difference.h>
+// expected-error@-1 {{header '<__algorithm/set_difference.h>' is an implementation detail; #include '<algorithm>' instead}}
index 0357fa5..e620e30 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.header.verify.cpp
new file mode 100644 (file)
index 0000000..f168280
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/set_intersection.h>
+// expected-error@-1 {{header '<__algorithm/set_intersection.h>' is an implementation detail; #include '<algorithm>' instead}}
index de43e0f..760995e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.header.verify.cpp
new file mode 100644 (file)
index 0000000..e86d8be
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/set_symmetric_difference.h>
+// expected-error@-1 {{header '<__algorithm/set_symmetric_difference.h>' is an implementation detail; #include '<algorithm>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.header.verify.cpp
new file mode 100644 (file)
index 0000000..304247b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/set_union.h>
+// expected-error@-1 {{header '<__algorithm/set_union.h>' is an implementation detail; #include '<algorithm>' instead}}
index ace9925..b33fa8a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.header.verify.cpp
new file mode 100644 (file)
index 0000000..4bae3c8
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/shift_left.h>
+// expected-error@-1 {{header '<__algorithm/shift_left.h>' is an implementation detail; #include '<algorithm>' instead}}
index 790612b..14f90a2 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.header.verify.cpp
new file mode 100644 (file)
index 0000000..009731d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/shift_right.h>
+// expected-error@-1 {{header '<__algorithm/shift_right.h>' is an implementation detail; #include '<algorithm>' instead}}
index 6dd3204..3a07bbd 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.header.verify.cpp
new file mode 100644 (file)
index 0000000..2d4e804
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/shuffle.h>
+// expected-error@-1 {{header '<__algorithm/shuffle.h>' is an implementation detail; #include '<algorithm>' instead}}
index 4c45a2f..3273d90 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.header.verify.cpp
new file mode 100644 (file)
index 0000000..1f7d884
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/sift_down.h>
+// expected-error@-1 {{header '<__algorithm/sift_down.h>' is an implementation detail; #include '<algorithm>' instead}}
index 675cb4b..d4ed87f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.header.verify.cpp
new file mode 100644 (file)
index 0000000..dde99e3
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/sort.h>
+// expected-error@-1 {{header '<__algorithm/sort.h>' is an implementation detail; #include '<algorithm>' instead}}
index acf53bd..42e369b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.header.verify.cpp
new file mode 100644 (file)
index 0000000..766900d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/sort_heap.h>
+// expected-error@-1 {{header '<__algorithm/sort_heap.h>' is an implementation detail; #include '<algorithm>' instead}}
index b62c34a..fbb405c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.header.verify.cpp
new file mode 100644 (file)
index 0000000..b217e0e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/stable_partition.h>
+// expected-error@-1 {{header '<__algorithm/stable_partition.h>' is an implementation detail; #include '<algorithm>' instead}}
index c845498..74edd38 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.header.verify.cpp
new file mode 100644 (file)
index 0000000..22708f7
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/stable_sort.h>
+// expected-error@-1 {{header '<__algorithm/stable_sort.h>' is an implementation detail; #include '<algorithm>' instead}}
index 082a0f3..999a087 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.header.verify.cpp
new file mode 100644 (file)
index 0000000..a150c47
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/swap_ranges.h>
+// expected-error@-1 {{header '<__algorithm/swap_ranges.h>' is an implementation detail; #include '<algorithm>' instead}}
index 63b9afd..294a06b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.header.verify.cpp
new file mode 100644 (file)
index 0000000..b4a5176
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/transform.h>
+// expected-error@-1 {{header '<__algorithm/transform.h>' is an implementation detail; #include '<algorithm>' instead}}
index 1fc4b82..b9f59dc 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.header.verify.cpp
new file mode 100644 (file)
index 0000000..83098e5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/unique.h>
+// expected-error@-1 {{header '<__algorithm/unique.h>' is an implementation detail; #include '<algorithm>' instead}}
index 1579480..c1ee218 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.header.verify.cpp
new file mode 100644 (file)
index 0000000..ca1e44d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/unique_copy.h>
+// expected-error@-1 {{header '<__algorithm/unique_copy.h>' is an implementation detail; #include '<algorithm>' instead}}
index 6aab92c..b589e88 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.header.verify.cpp
new file mode 100644 (file)
index 0000000..002c8b5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/unwrap_iter.h>
+// expected-error@-1 {{header '<__algorithm/unwrap_iter.h>' is an implementation detail; #include '<algorithm>' instead}}
index 9dbf1b3..f6a80e2 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.header.verify.cpp
new file mode 100644 (file)
index 0000000..788c81e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__algorithm/upper_bound.h>
+// expected-error@-1 {{header '<__algorithm/upper_bound.h>' is an implementation detail; #include '<algorithm>' instead}}
index 12045bb..25b065f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 3082b0f..4f966e7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.header.verify.cpp
new file mode 100644 (file)
index 0000000..f1e1999
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__bit/bit_cast.h>
+// expected-error@-1 {{header '<__bit/bit_cast.h>' is an implementation detail; #include '<bit>' instead}}
index 11a90ec..c5fb85d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.header.verify.cpp
new file mode 100644 (file)
index 0000000..58cf305
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__bit/byteswap.h>
+// expected-error@-1 {{header '<__bit/byteswap.h>' is an implementation detail; #include '<bit>' instead}}
index 08dc7f3..2b64b45 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.header.verify.cpp
new file mode 100644 (file)
index 0000000..2d360ec
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__bit_reference>
+// expected-error@-1 {{header '<__bit_reference>' is an implementation detail; #include either '<bitset>' or '<vector>' instead}}
index 1608954..3676f7a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/bits.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/bits.header.verify.cpp
new file mode 100644 (file)
index 0000000..2033f5c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__bits>
+// expected-error@-1 {{header '<__bits>' is an implementation detail; #include one of {'<algorithm>', '<bit>', '<bitset>', '<numeric>', '<random>', '<unordered_map>', '<unordered_set>', '<vector>'} instead}}
index c3a99dd..fa9f784 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.header.verify.cpp
new file mode 100644 (file)
index 0000000..714cc4e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__charconv/chars_format.h>
+// expected-error@-1 {{header '<__charconv/chars_format.h>' is an implementation detail; #include '<charconv>' instead}}
index 3324c24..09586b2 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..a7ade3c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__charconv/from_chars_result.h>
+// expected-error@-1 {{header '<__charconv/from_chars_result.h>' is an implementation detail; #include '<charconv>' instead}}
index ac53be0..00e0927 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..332e684
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__charconv/to_chars_result.h>
+// expected-error@-1 {{header '<__charconv/to_chars_result.h>' is an implementation detail; #include '<charconv>' instead}}
index 2d1805e..6d704cd 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.header.verify.cpp
new file mode 100644 (file)
index 0000000..e0a7e1e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__chrono/calendar.h>
+// expected-error@-1 {{header '<__chrono/calendar.h>' is an implementation detail; #include '<chrono>' instead}}
index 5e8cf16..c07f512 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.header.verify.cpp
new file mode 100644 (file)
index 0000000..547285d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__chrono/convert_to_timespec.h>
+// expected-error@-1 {{header '<__chrono/convert_to_timespec.h>' is an implementation detail; #include '<chrono>' instead}}
index 664ccd7..33e902d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.header.verify.cpp
new file mode 100644 (file)
index 0000000..24de1c2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__chrono/duration.h>
+// expected-error@-1 {{header '<__chrono/duration.h>' is an implementation detail; #include '<chrono>' instead}}
index 943e10c..2a10935 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.header.verify.cpp
new file mode 100644 (file)
index 0000000..5428b63
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__chrono/file_clock.h>
+// expected-error@-1 {{header '<__chrono/file_clock.h>' is an implementation detail; #include '<chrono>' instead}}
index e8b17ab..0819369 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.header.verify.cpp
new file mode 100644 (file)
index 0000000..9a81c53
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__chrono/high_resolution_clock.h>
+// expected-error@-1 {{header '<__chrono/high_resolution_clock.h>' is an implementation detail; #include '<chrono>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.header.verify.cpp
new file mode 100644 (file)
index 0000000..35c6250
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__chrono/steady_clock.h>
+// expected-error@-1 {{header '<__chrono/steady_clock.h>' is an implementation detail; #include '<chrono>' instead}}
index ef30dd1..3cfbb16 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.header.verify.cpp
new file mode 100644 (file)
index 0000000..1185862
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__chrono/system_clock.h>
+// expected-error@-1 {{header '<__chrono/system_clock.h>' is an implementation detail; #include '<chrono>' instead}}
index 7a007d8..402af44 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.header.verify.cpp
new file mode 100644 (file)
index 0000000..65eb6c0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__chrono/time_point.h>
+// expected-error@-1 {{header '<__chrono/time_point.h>' is an implementation detail; #include '<chrono>' instead}}
index fa9de3a..c8a9d98 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.header.verify.cpp
new file mode 100644 (file)
index 0000000..d2b129b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/common_comparison_category.h>
+// expected-error@-1 {{header '<__compare/common_comparison_category.h>' is an implementation detail; #include '<compare>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.header.verify.cpp
new file mode 100644 (file)
index 0000000..22c40f4
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/compare_partial_order_fallback.h>
+// expected-error@-1 {{header '<__compare/compare_partial_order_fallback.h>' is an implementation detail; #include '<compare>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.header.verify.cpp
new file mode 100644 (file)
index 0000000..d42b002
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/compare_strong_order_fallback.h>
+// expected-error@-1 {{header '<__compare/compare_strong_order_fallback.h>' is an implementation detail; #include '<compare>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.header.verify.cpp
new file mode 100644 (file)
index 0000000..8532c63
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/compare_three_way.h>
+// expected-error@-1 {{header '<__compare/compare_three_way.h>' is an implementation detail; #include '<compare>' instead}}
index e6428ce..127dc1f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..d61e6f5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/compare_three_way_result.h>
+// expected-error@-1 {{header '<__compare/compare_three_way_result.h>' is an implementation detail; #include '<compare>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.header.verify.cpp
new file mode 100644 (file)
index 0000000..42baefc
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/compare_weak_order_fallback.h>
+// expected-error@-1 {{header '<__compare/compare_weak_order_fallback.h>' is an implementation detail; #include '<compare>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.header.verify.cpp
new file mode 100644 (file)
index 0000000..997c92e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/is_eq.h>
+// expected-error@-1 {{header '<__compare/is_eq.h>' is an implementation detail; #include '<compare>' instead}}
index 4936b17..2bc316e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.header.verify.cpp
new file mode 100644 (file)
index 0000000..591e28a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/ordering.h>
+// expected-error@-1 {{header '<__compare/ordering.h>' is an implementation detail; #include '<compare>' instead}}
index 2c0580c..b1950f9 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.header.verify.cpp
new file mode 100644 (file)
index 0000000..2ca9892
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/partial_order.h>
+// expected-error@-1 {{header '<__compare/partial_order.h>' is an implementation detail; #include '<compare>' instead}}
index 28b84a6..2fae8df 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.header.verify.cpp
new file mode 100644 (file)
index 0000000..ead0143
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/strong_order.h>
+// expected-error@-1 {{header '<__compare/strong_order.h>' is an implementation detail; #include '<compare>' instead}}
index 6514138..37bd263 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.header.verify.cpp
new file mode 100644 (file)
index 0000000..32575c8
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/synth_three_way.h>
+// expected-error@-1 {{header '<__compare/synth_three_way.h>' is an implementation detail; #include '<compare>' instead}}
index 3fc2db9..b2e41dc 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.header.verify.cpp
new file mode 100644 (file)
index 0000000..6513adc
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/three_way_comparable.h>
+// expected-error@-1 {{header '<__compare/three_way_comparable.h>' is an implementation detail; #include '<compare>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.header.verify.cpp
new file mode 100644 (file)
index 0000000..b320f5b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__compare/weak_order.h>
+// expected-error@-1 {{header '<__compare/weak_order.h>' is an implementation detail; #include '<compare>' instead}}
index b488173..5b969fb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.header.verify.cpp
new file mode 100644 (file)
index 0000000..ea07586
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/arithmetic.h>
+// expected-error@-1 {{header '<__concepts/arithmetic.h>' is an implementation detail; #include '<concepts>' instead}}
index 47efebd..790de84 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.header.verify.cpp
new file mode 100644 (file)
index 0000000..11428f0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/assignable.h>
+// expected-error@-1 {{header '<__concepts/assignable.h>' is an implementation detail; #include '<concepts>' instead}}
index 9b43bd2..c3c93c6 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.header.verify.cpp
new file mode 100644 (file)
index 0000000..6818422
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/boolean_testable.h>
+// expected-error@-1 {{header '<__concepts/boolean_testable.h>' is an implementation detail; #include '<concepts>' instead}}
index 210c614..e49593c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.header.verify.cpp
new file mode 100644 (file)
index 0000000..dbb065c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/class_or_enum.h>
+// expected-error@-1 {{header '<__concepts/class_or_enum.h>' is an implementation detail; #include '<concepts>' instead}}
index 8f421ab..131cb62 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.header.verify.cpp
new file mode 100644 (file)
index 0000000..9e66574
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/common_reference_with.h>
+// expected-error@-1 {{header '<__concepts/common_reference_with.h>' is an implementation detail; #include '<concepts>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.header.verify.cpp
new file mode 100644 (file)
index 0000000..eb25f5a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/common_with.h>
+// expected-error@-1 {{header '<__concepts/common_with.h>' is an implementation detail; #include '<concepts>' instead}}
index 2683319..b14f6a8 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.header.verify.cpp
new file mode 100644 (file)
index 0000000..fefb326
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/constructible.h>
+// expected-error@-1 {{header '<__concepts/constructible.h>' is an implementation detail; #include '<concepts>' instead}}
index bb81a2a..03e6e65 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.header.verify.cpp
new file mode 100644 (file)
index 0000000..22ef84b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/convertible_to.h>
+// expected-error@-1 {{header '<__concepts/convertible_to.h>' is an implementation detail; #include '<concepts>' instead}}
index 7ac3fb6..81cbb69 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.header.verify.cpp
new file mode 100644 (file)
index 0000000..31f164e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/copyable.h>
+// expected-error@-1 {{header '<__concepts/copyable.h>' is an implementation detail; #include '<concepts>' instead}}
index 9aaf8e5..1f1b63f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.header.verify.cpp
new file mode 100644 (file)
index 0000000..a34159e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/derived_from.h>
+// expected-error@-1 {{header '<__concepts/derived_from.h>' is an implementation detail; #include '<concepts>' instead}}
index 6ef8f2b..71a4be3 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.header.verify.cpp
new file mode 100644 (file)
index 0000000..a24511b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/destructible.h>
+// expected-error@-1 {{header '<__concepts/destructible.h>' is an implementation detail; #include '<concepts>' instead}}
index 877e5e7..32b187a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.header.verify.cpp
new file mode 100644 (file)
index 0000000..86792d2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/different_from.h>
+// expected-error@-1 {{header '<__concepts/different_from.h>' is an implementation detail; #include '<concepts>' instead}}
index 2eb4232..01a0a7b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.header.verify.cpp
new file mode 100644 (file)
index 0000000..3ccd89c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/equality_comparable.h>
+// expected-error@-1 {{header '<__concepts/equality_comparable.h>' is an implementation detail; #include '<concepts>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.header.verify.cpp
new file mode 100644 (file)
index 0000000..3aa9f08
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/invocable.h>
+// expected-error@-1 {{header '<__concepts/invocable.h>' is an implementation detail; #include '<concepts>' instead}}
index b34e615..b1b8443 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.header.verify.cpp
new file mode 100644 (file)
index 0000000..cb310b1
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/movable.h>
+// expected-error@-1 {{header '<__concepts/movable.h>' is an implementation detail; #include '<concepts>' instead}}
index a8f4efd..6527ff6 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.header.verify.cpp
new file mode 100644 (file)
index 0000000..49b0db5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/predicate.h>
+// expected-error@-1 {{header '<__concepts/predicate.h>' is an implementation detail; #include '<concepts>' instead}}
index 2c4db9d..482e73f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.header.verify.cpp
new file mode 100644 (file)
index 0000000..a2750fb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/regular.h>
+// expected-error@-1 {{header '<__concepts/regular.h>' is an implementation detail; #include '<concepts>' instead}}
index 0a1186a..91c5ebf 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.header.verify.cpp
new file mode 100644 (file)
index 0000000..6a9ee6e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/relation.h>
+// expected-error@-1 {{header '<__concepts/relation.h>' is an implementation detail; #include '<concepts>' instead}}
index ae6b13c..6da3786 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.header.verify.cpp
new file mode 100644 (file)
index 0000000..c5bf25f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/same_as.h>
+// expected-error@-1 {{header '<__concepts/same_as.h>' is an implementation detail; #include '<concepts>' instead}}
index 561643b..39e8eb2 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.header.verify.cpp
new file mode 100644 (file)
index 0000000..6acec44
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/semiregular.h>
+// expected-error@-1 {{header '<__concepts/semiregular.h>' is an implementation detail; #include '<concepts>' instead}}
index add480e..ed56ed7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.header.verify.cpp
new file mode 100644 (file)
index 0000000..e7a11a2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/swappable.h>
+// expected-error@-1 {{header '<__concepts/swappable.h>' is an implementation detail; #include '<concepts>' instead}}
index dae0de3..e8da3af 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.header.verify.cpp
new file mode 100644 (file)
index 0000000..ad9b83f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__concepts/totally_ordered.h>
+// expected-error@-1 {{header '<__concepts/totally_ordered.h>' is an implementation detail; #include '<concepts>' instead}}
index 0e07ad7..3c046b9 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.header.verify.cpp
new file mode 100644 (file)
index 0000000..29583e5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__coroutine/coroutine_handle.h>
+// expected-error@-1 {{header '<__coroutine/coroutine_handle.h>' is an implementation detail; #include '<coroutine>' instead}}
index e78f90e..5f7b2b4 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.header.verify.cpp
new file mode 100644 (file)
index 0000000..3dbed44
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__coroutine/coroutine_traits.h>
+// expected-error@-1 {{header '<__coroutine/coroutine_traits.h>' is an implementation detail; #include '<coroutine>' instead}}
index 4af6ec5..64cda6c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.header.verify.cpp
new file mode 100644 (file)
index 0000000..e8a0c66
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__coroutine/noop_coroutine_handle.h>
+// expected-error@-1 {{header '<__coroutine/noop_coroutine_handle.h>' is an implementation detail; #include '<coroutine>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.header.verify.cpp
new file mode 100644 (file)
index 0000000..151f837
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__coroutine/trivial_awaitables.h>
+// expected-error@-1 {{header '<__coroutine/trivial_awaitables.h>' is an implementation detail; #include '<coroutine>' instead}}
index 16dbd96..8489223 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.header.verify.cpp
new file mode 100644 (file)
index 0000000..36dba7c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/copy_options.h>
+// expected-error@-1 {{header '<__filesystem/copy_options.h>' is an implementation detail; #include '<filesystem>' instead}}
index 064a034..282930e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.header.verify.cpp
new file mode 100644 (file)
index 0000000..c35cbb9
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/directory_entry.h>
+// expected-error@-1 {{header '<__filesystem/directory_entry.h>' is an implementation detail; #include '<filesystem>' instead}}
index 6fef616..2e8dc7c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..4cbcb48
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/directory_iterator.h>
+// expected-error@-1 {{header '<__filesystem/directory_iterator.h>' is an implementation detail; #include '<filesystem>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.header.verify.cpp
new file mode 100644 (file)
index 0000000..a03a3da
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/directory_options.h>
+// expected-error@-1 {{header '<__filesystem/directory_options.h>' is an implementation detail; #include '<filesystem>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.header.verify.cpp
new file mode 100644 (file)
index 0000000..5bb5cee
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/file_status.h>
+// expected-error@-1 {{header '<__filesystem/file_status.h>' is an implementation detail; #include '<filesystem>' instead}}
index 9419bdb..5e839a2 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.header.verify.cpp
new file mode 100644 (file)
index 0000000..f03a768
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/file_time_type.h>
+// expected-error@-1 {{header '<__filesystem/file_time_type.h>' is an implementation detail; #include '<filesystem>' instead}}
index ac94026..6644243 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.header.verify.cpp
new file mode 100644 (file)
index 0000000..6b6a2f9
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/file_type.h>
+// expected-error@-1 {{header '<__filesystem/file_type.h>' is an implementation detail; #include '<filesystem>' instead}}
index 70b5d97..8a2427a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.header.verify.cpp
new file mode 100644 (file)
index 0000000..0d58662
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/filesystem_error.h>
+// expected-error@-1 {{header '<__filesystem/filesystem_error.h>' is an implementation detail; #include '<filesystem>' instead}}
index 095a715..f82dda3 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.header.verify.cpp
new file mode 100644 (file)
index 0000000..f0f841e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/operations.h>
+// expected-error@-1 {{header '<__filesystem/operations.h>' is an implementation detail; #include '<filesystem>' instead}}
index dc156cd..9a7c743 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.header.verify.cpp
new file mode 100644 (file)
index 0000000..49cc42d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/path.h>
+// expected-error@-1 {{header '<__filesystem/path.h>' is an implementation detail; #include '<filesystem>' instead}}
index f232bf7..b83560e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..b6ad11c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/path_iterator.h>
+// expected-error@-1 {{header '<__filesystem/path_iterator.h>' is an implementation detail; #include '<filesystem>' instead}}
index 71e1928..21e98a7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.header.verify.cpp
new file mode 100644 (file)
index 0000000..a764324
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/perm_options.h>
+// expected-error@-1 {{header '<__filesystem/perm_options.h>' is an implementation detail; #include '<filesystem>' instead}}
index 8a8c25e..6b81e20 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.header.verify.cpp
new file mode 100644 (file)
index 0000000..c333529
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/perms.h>
+// expected-error@-1 {{header '<__filesystem/perms.h>' is an implementation detail; #include '<filesystem>' instead}}
index 0df5823..80e5d35 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..79db576
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/recursive_directory_iterator.h>
+// expected-error@-1 {{header '<__filesystem/recursive_directory_iterator.h>' is an implementation detail; #include '<filesystem>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.header.verify.cpp
new file mode 100644 (file)
index 0000000..5f3e297
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/space_info.h>
+// expected-error@-1 {{header '<__filesystem/space_info.h>' is an implementation detail; #include '<filesystem>' instead}}
index d5f7586..598a200 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.header.verify.cpp
new file mode 100644 (file)
index 0000000..e62833a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__filesystem/u8path.h>
+// expected-error@-1 {{header '<__filesystem/u8path.h>' is an implementation detail; #include '<filesystem>' instead}}
index 5f54ab6..107b00a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.header.verify.cpp
new file mode 100644 (file)
index 0000000..80ac96b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/format_arg.h>
+// expected-error@-1 {{header '<__format/format_arg.h>' is an implementation detail; #include '<format>' instead}}
index 24175de..907d41c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.header.verify.cpp
new file mode 100644 (file)
index 0000000..1c70397
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/format_args.h>
+// expected-error@-1 {{header '<__format/format_args.h>' is an implementation detail; #include '<format>' instead}}
index bbf74ba..975e45b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.header.verify.cpp
new file mode 100644 (file)
index 0000000..d0f5ceb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/format_context.h>
+// expected-error@-1 {{header '<__format/format_context.h>' is an implementation detail; #include '<format>' instead}}
index beb48ea..68aa967 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.header.verify.cpp
new file mode 100644 (file)
index 0000000..151835c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/format_error.h>
+// expected-error@-1 {{header '<__format/format_error.h>' is an implementation detail; #include '<format>' instead}}
index d1efdc1..f6af943 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.header.verify.cpp
new file mode 100644 (file)
index 0000000..3b6cca6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/format_fwd.h>
+// expected-error@-1 {{header '<__format/format_fwd.h>' is an implementation detail; #include '<format>' instead}}
index f52877d..8037c4d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.header.verify.cpp
new file mode 100644 (file)
index 0000000..5bdaef5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/format_parse_context.h>
+// expected-error@-1 {{header '<__format/format_parse_context.h>' is an implementation detail; #include '<format>' instead}}
index 24c0894..308f66e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.header.verify.cpp
new file mode 100644 (file)
index 0000000..de571ad
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/format_string.h>
+// expected-error@-1 {{header '<__format/format_string.h>' is an implementation detail; #include '<format>' instead}}
index a8856c5..c331785 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.header.verify.cpp
new file mode 100644 (file)
index 0000000..a471a7f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/format_to_n_result.h>
+// expected-error@-1 {{header '<__format/format_to_n_result.h>' is an implementation detail; #include '<format>' instead}}
index 86903a6..5f2797d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.header.verify.cpp
new file mode 100644 (file)
index 0000000..828df06
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/formatter.h>
+// expected-error@-1 {{header '<__format/formatter.h>' is an implementation detail; #include '<format>' instead}}
index 1c0b1cb..4a5b4b3 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.header.verify.cpp
new file mode 100644 (file)
index 0000000..f484f3f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/formatter_bool.h>
+// expected-error@-1 {{header '<__format/formatter_bool.h>' is an implementation detail; #include '<format>' instead}}
index 7fcb99b..9cd9dfa 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.header.verify.cpp
new file mode 100644 (file)
index 0000000..5642298
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/formatter_char.h>
+// expected-error@-1 {{header '<__format/formatter_char.h>' is an implementation detail; #include '<format>' instead}}
index cc07ae4..14f631d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.header.verify.cpp
new file mode 100644 (file)
index 0000000..6405f32
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/formatter_floating_point.h>
+// expected-error@-1 {{header '<__format/formatter_floating_point.h>' is an implementation detail; #include '<format>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.header.verify.cpp
new file mode 100644 (file)
index 0000000..221a9f4
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/formatter_integer.h>
+// expected-error@-1 {{header '<__format/formatter_integer.h>' is an implementation detail; #include '<format>' instead}}
index 4489021..33e937a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.header.verify.cpp
new file mode 100644 (file)
index 0000000..521cd0c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/formatter_integral.h>
+// expected-error@-1 {{header '<__format/formatter_integral.h>' is an implementation detail; #include '<format>' instead}}
index 0ad52c7..b7d5e11 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.header.verify.cpp
new file mode 100644 (file)
index 0000000..6a5a7e6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/formatter_pointer.h>
+// expected-error@-1 {{header '<__format/formatter_pointer.h>' is an implementation detail; #include '<format>' instead}}
index abb82de..6ade61b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.header.verify.cpp
new file mode 100644 (file)
index 0000000..5927330
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/formatter_string.h>
+// expected-error@-1 {{header '<__format/formatter_string.h>' is an implementation detail; #include '<format>' instead}}
index 019de96..fac1465 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.header.verify.cpp
new file mode 100644 (file)
index 0000000..9349e04
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__format/parser_std_format_spec.h>
+// expected-error@-1 {{header '<__format/parser_std_format_spec.h>' is an implementation detail; #include '<format>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.header.verify.cpp
new file mode 100644 (file)
index 0000000..401c0ff
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/binary_function.h>
+// expected-error@-1 {{header '<__functional/binary_function.h>' is an implementation detail; #include '<functional>' instead}}
index 47e3fe1..46be85a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.header.verify.cpp
new file mode 100644 (file)
index 0000000..7f6d540
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/binary_negate.h>
+// expected-error@-1 {{header '<__functional/binary_negate.h>' is an implementation detail; #include '<functional>' instead}}
index b444182..4c92101 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.header.verify.cpp
new file mode 100644 (file)
index 0000000..8d9b3c1
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/bind.h>
+// expected-error@-1 {{header '<__functional/bind.h>' is an implementation detail; #include '<functional>' instead}}
index ac8ad25..b861608 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.header.verify.cpp
new file mode 100644 (file)
index 0000000..adc83b6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/bind_back.h>
+// expected-error@-1 {{header '<__functional/bind_back.h>' is an implementation detail; #include '<functional>' instead}}
index a05c0d0..8e2c5e4 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.header.verify.cpp
new file mode 100644 (file)
index 0000000..2faadd5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/bind_front.h>
+// expected-error@-1 {{header '<__functional/bind_front.h>' is an implementation detail; #include '<functional>' instead}}
index 121bc6c..4b2f25f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.header.verify.cpp
new file mode 100644 (file)
index 0000000..56afd77
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/binder1st.h>
+// expected-error@-1 {{header '<__functional/binder1st.h>' is an implementation detail; #include '<functional>' instead}}
index 302b63b..c639813 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.header.verify.cpp
new file mode 100644 (file)
index 0000000..0ab1d94
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/binder2nd.h>
+// expected-error@-1 {{header '<__functional/binder2nd.h>' is an implementation detail; #include '<functional>' instead}}
index 4f9b1df..4f2ba80 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.header.verify.cpp
new file mode 100644 (file)
index 0000000..ececb2d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/compose.h>
+// expected-error@-1 {{header '<__functional/compose.h>' is an implementation detail; #include '<functional>' instead}}
index e4e665f..019b19e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.header.verify.cpp
new file mode 100644 (file)
index 0000000..5e3f5f8
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/default_searcher.h>
+// expected-error@-1 {{header '<__functional/default_searcher.h>' is an implementation detail; #include '<functional>' instead}}
index e749a57..7fe174a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/function.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/function.header.verify.cpp
new file mode 100644 (file)
index 0000000..d9f9cec
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/function.h>
+// expected-error@-1 {{header '<__functional/function.h>' is an implementation detail; #include '<functional>' instead}}
index fab65ed..16bd1dd 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.header.verify.cpp
new file mode 100644 (file)
index 0000000..eb11056
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/hash.h>
+// expected-error@-1 {{header '<__functional/hash.h>' is an implementation detail; #include '<functional>' instead}}
index 73ed2dc..ecb2c0a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.header.verify.cpp
new file mode 100644 (file)
index 0000000..54c9601
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/identity.h>
+// expected-error@-1 {{header '<__functional/identity.h>' is an implementation detail; #include '<functional>' instead}}
index 986c3c0..b795b5d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.header.verify.cpp
new file mode 100644 (file)
index 0000000..6b611f2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/invoke.h>
+// expected-error@-1 {{header '<__functional/invoke.h>' is an implementation detail; #include '<functional>' instead}}
index 21d2dca..a368dc1 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.header.verify.cpp
new file mode 100644 (file)
index 0000000..9979404
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/is_transparent.h>
+// expected-error@-1 {{header '<__functional/is_transparent.h>' is an implementation detail; #include '<functional>' instead}}
index 602a00a..3f22619 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.header.verify.cpp
new file mode 100644 (file)
index 0000000..d63b964
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/mem_fn.h>
+// expected-error@-1 {{header '<__functional/mem_fn.h>' is an implementation detail; #include '<functional>' instead}}
index 5935fe2..0d8e9c4 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.header.verify.cpp
new file mode 100644 (file)
index 0000000..c744aba
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/mem_fun_ref.h>
+// expected-error@-1 {{header '<__functional/mem_fun_ref.h>' is an implementation detail; #include '<functional>' instead}}
index 17d32c3..f28a167 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.header.verify.cpp
new file mode 100644 (file)
index 0000000..cf4a9f6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/not_fn.h>
+// expected-error@-1 {{header '<__functional/not_fn.h>' is an implementation detail; #include '<functional>' instead}}
index 809cd79..d0c5010 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.header.verify.cpp
new file mode 100644 (file)
index 0000000..cd6afcf
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/operations.h>
+// expected-error@-1 {{header '<__functional/operations.h>' is an implementation detail; #include '<functional>' instead}}
index 15f76c3..5f37708 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.header.verify.cpp
new file mode 100644 (file)
index 0000000..43310be
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/perfect_forward.h>
+// expected-error@-1 {{header '<__functional/perfect_forward.h>' is an implementation detail; #include '<functional>' instead}}
index 7663d90..a08a3cf 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.header.verify.cpp
new file mode 100644 (file)
index 0000000..b1a6c60
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/pointer_to_binary_function.h>
+// expected-error@-1 {{header '<__functional/pointer_to_binary_function.h>' is an implementation detail; #include '<functional>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.header.verify.cpp
new file mode 100644 (file)
index 0000000..1f6c9bc
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/pointer_to_unary_function.h>
+// expected-error@-1 {{header '<__functional/pointer_to_unary_function.h>' is an implementation detail; #include '<functional>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.header.verify.cpp
new file mode 100644 (file)
index 0000000..eea6415
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/ranges_operations.h>
+// expected-error@-1 {{header '<__functional/ranges_operations.h>' is an implementation detail; #include '<functional>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.header.verify.cpp
new file mode 100644 (file)
index 0000000..d7119c9
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/reference_wrapper.h>
+// expected-error@-1 {{header '<__functional/reference_wrapper.h>' is an implementation detail; #include '<functional>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.header.verify.cpp
new file mode 100644 (file)
index 0000000..e77b5bb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/unary_function.h>
+// expected-error@-1 {{header '<__functional/unary_function.h>' is an implementation detail; #include '<functional>' instead}}
index ed23b26..aa2b688 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.header.verify.cpp
new file mode 100644 (file)
index 0000000..fefcde1
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/unary_negate.h>
+// expected-error@-1 {{header '<__functional/unary_negate.h>' is an implementation detail; #include '<functional>' instead}}
index fb7fd88..0b1a976 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.header.verify.cpp
new file mode 100644 (file)
index 0000000..93225a6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/unwrap_ref.h>
+// expected-error@-1 {{header '<__functional/unwrap_ref.h>' is an implementation detail; #include '<functional>' instead}}
index 174000f..804b2fb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.header.verify.cpp
new file mode 100644 (file)
index 0000000..d8cf4e5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__functional/weak_result_type.h>
+// expected-error@-1 {{header '<__functional/weak_result_type.h>' is an implementation detail; #include '<functional>' instead}}
index 4153892..8cc2893 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.header.verify.cpp
new file mode 100644 (file)
index 0000000..92043df
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ios/fpos.h>
+// expected-error@-1 {{header '<__ios/fpos.h>' is an implementation detail; #include '<ios>' instead}}
index b894098..e930499 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.header.verify.cpp
new file mode 100644 (file)
index 0000000..d7f8a43
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/access.h>
+// expected-error@-1 {{header '<__iterator/access.h>' is an implementation detail; #include '<iterator>' instead}}
index 4b18d93..c0caedb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.header.verify.cpp
new file mode 100644 (file)
index 0000000..f19c240
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/advance.h>
+// expected-error@-1 {{header '<__iterator/advance.h>' is an implementation detail; #include '<iterator>' instead}}
index 4742547..9c2836c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..6b328bd
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/back_insert_iterator.h>
+// expected-error@-1 {{header '<__iterator/back_insert_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..b0f7305
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/common_iterator.h>
+// expected-error@-1 {{header '<__iterator/common_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
index c4b59a3..db1f308 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.header.verify.cpp
new file mode 100644 (file)
index 0000000..f90fbb0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/concepts.h>
+// expected-error@-1 {{header '<__iterator/concepts.h>' is an implementation detail; #include '<iterator>' instead}}
index 4890495..6e34ff0 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..4b6b438
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/counted_iterator.h>
+// expected-error@-1 {{header '<__iterator/counted_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
index 61cd06f..a8aedc6 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.header.verify.cpp
new file mode 100644 (file)
index 0000000..645aa54
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/data.h>
+// expected-error@-1 {{header '<__iterator/data.h>' is an implementation detail; #include '<iterator>' instead}}
index 0bda463..eabd8e7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.header.verify.cpp
new file mode 100644 (file)
index 0000000..9728d9c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/default_sentinel.h>
+// expected-error@-1 {{header '<__iterator/default_sentinel.h>' is an implementation detail; #include '<iterator>' instead}}
index 88cf57a..1f0f817 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.header.verify.cpp
new file mode 100644 (file)
index 0000000..8ad2c3f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/distance.h>
+// expected-error@-1 {{header '<__iterator/distance.h>' is an implementation detail; #include '<iterator>' instead}}
index 9618675..b9df11c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.header.verify.cpp
new file mode 100644 (file)
index 0000000..987f564
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/empty.h>
+// expected-error@-1 {{header '<__iterator/empty.h>' is an implementation detail; #include '<iterator>' instead}}
index 316c9b7..5543561 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.header.verify.cpp
new file mode 100644 (file)
index 0000000..8d429ae
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/erase_if_container.h>
+// expected-error@-1 {{header '<__iterator/erase_if_container.h>' is an implementation detail; #include '<iterator>' instead}}
index 10583ba..b1ac8ff 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..411189d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/front_insert_iterator.h>
+// expected-error@-1 {{header '<__iterator/front_insert_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.header.verify.cpp
new file mode 100644 (file)
index 0000000..5e3a85f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/incrementable_traits.h>
+// expected-error@-1 {{header '<__iterator/incrementable_traits.h>' is an implementation detail; #include '<iterator>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.header.verify.cpp
new file mode 100644 (file)
index 0000000..9962589
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/indirectly_comparable.h>
+// expected-error@-1 {{header '<__iterator/indirectly_comparable.h>' is an implementation detail; #include '<iterator>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..f4b6b8f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/insert_iterator.h>
+// expected-error@-1 {{header '<__iterator/insert_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
index bcf7d5c..b9a307c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..06d220e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/istream_iterator.h>
+// expected-error@-1 {{header '<__iterator/istream_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
index 5bc167d..df7989f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..6c68114
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/istreambuf_iterator.h>
+// expected-error@-1 {{header '<__iterator/istreambuf_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.header.verify.cpp
new file mode 100644 (file)
index 0000000..62dfbc6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/iter_move.h>
+// expected-error@-1 {{header '<__iterator/iter_move.h>' is an implementation detail; #include '<iterator>' instead}}
index 6dde172..ef98fd5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.header.verify.cpp
new file mode 100644 (file)
index 0000000..5f9f17a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/iter_swap.h>
+// expected-error@-1 {{header '<__iterator/iter_swap.h>' is an implementation detail; #include '<iterator>' instead}}
index 8e55c55..110324b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..be44793
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/iterator.h>
+// expected-error@-1 {{header '<__iterator/iterator.h>' is an implementation detail; #include '<iterator>' instead}}
index 605e220..cb565d9 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.header.verify.cpp
new file mode 100644 (file)
index 0000000..657045b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/iterator_traits.h>
+// expected-error@-1 {{header '<__iterator/iterator_traits.h>' is an implementation detail; #include '<iterator>' instead}}
index 43d4f78..9e4c0c4 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.header.verify.cpp
new file mode 100644 (file)
index 0000000..c2cd521
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/mergeable.h>
+// expected-error@-1 {{header '<__iterator/mergeable.h>' is an implementation detail; #include '<iterator>' instead}}
index b8f15dc..d93479c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..323b7fb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/move_iterator.h>
+// expected-error@-1 {{header '<__iterator/move_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
index 560ce30..a73b44a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.header.verify.cpp
new file mode 100644 (file)
index 0000000..4e1c9fa
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/next.h>
+// expected-error@-1 {{header '<__iterator/next.h>' is an implementation detail; #include '<iterator>' instead}}
index 6f61e3c..4098301 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..b9474b5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/ostream_iterator.h>
+// expected-error@-1 {{header '<__iterator/ostream_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
index a55f5f0..9f522aa 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..f427179
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/ostreambuf_iterator.h>
+// expected-error@-1 {{header '<__iterator/ostreambuf_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.header.verify.cpp
new file mode 100644 (file)
index 0000000..952e39c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/permutable.h>
+// expected-error@-1 {{header '<__iterator/permutable.h>' is an implementation detail; #include '<iterator>' instead}}
index ad550d1..76a687b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.header.verify.cpp
new file mode 100644 (file)
index 0000000..edd574f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/prev.h>
+// expected-error@-1 {{header '<__iterator/prev.h>' is an implementation detail; #include '<iterator>' instead}}
index 1c44682..01ef281 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.header.verify.cpp
new file mode 100644 (file)
index 0000000..15d0c5a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/projected.h>
+// expected-error@-1 {{header '<__iterator/projected.h>' is an implementation detail; #include '<iterator>' instead}}
index a5021ef..69f445f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.header.verify.cpp
new file mode 100644 (file)
index 0000000..9463be9
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/readable_traits.h>
+// expected-error@-1 {{header '<__iterator/readable_traits.h>' is an implementation detail; #include '<iterator>' instead}}
index ad97fb3..0c4c367 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.header.verify.cpp
new file mode 100644 (file)
index 0000000..7dea1f9
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/reverse_access.h>
+// expected-error@-1 {{header '<__iterator/reverse_access.h>' is an implementation detail; #include '<iterator>' instead}}
index ad87e2f..1dd372b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..ff5b23a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/reverse_iterator.h>
+// expected-error@-1 {{header '<__iterator/reverse_iterator.h>' is an implementation detail; #include '<iterator>' instead}}
index 98ca79b..eb0517a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.header.verify.cpp
new file mode 100644 (file)
index 0000000..da8fcd9
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/size.h>
+// expected-error@-1 {{header '<__iterator/size.h>' is an implementation detail; #include '<iterator>' instead}}
index 7305831..8d7d496 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.header.verify.cpp
new file mode 100644 (file)
index 0000000..35f053a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/sortable.h>
+// expected-error@-1 {{header '<__iterator/sortable.h>' is an implementation detail; #include '<iterator>' instead}}
index 47ed326..242ac08 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.header.verify.cpp
new file mode 100644 (file)
index 0000000..3a2a339
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/unreachable_sentinel.h>
+// expected-error@-1 {{header '<__iterator/unreachable_sentinel.h>' is an implementation detail; #include '<iterator>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.header.verify.cpp
new file mode 100644 (file)
index 0000000..408b32e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__iterator/wrap_iter.h>
+// expected-error@-1 {{header '<__iterator/wrap_iter.h>' is an implementation detail; #include '<iterator>' instead}}
index d8c2682..d151d72 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/locale.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/locale.header.verify.cpp
new file mode 100644 (file)
index 0000000..6a67861
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__locale>
+// expected-error@-1 {{header '<__locale>' is an implementation detail; #include '<locale>' instead}}
index 98bb452..b880842 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index a656832..054e58f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.header.verify.cpp
new file mode 100644 (file)
index 0000000..e7f610b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/addressof.h>
+// expected-error@-1 {{header '<__memory/addressof.h>' is an implementation detail; #include '<memory>' instead}}
index 3ea2d3b..d596c76 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.header.verify.cpp
new file mode 100644 (file)
index 0000000..4f52d45
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/allocation_guard.h>
+// expected-error@-1 {{header '<__memory/allocation_guard.h>' is an implementation detail; #include '<memory>' instead}}
index ac2ec60..715ebff 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.header.verify.cpp
new file mode 100644 (file)
index 0000000..522f252
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/allocator.h>
+// expected-error@-1 {{header '<__memory/allocator.h>' is an implementation detail; #include '<memory>' instead}}
index f6e8de6..9d20a0f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.header.verify.cpp
new file mode 100644 (file)
index 0000000..d86e145
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/allocator_arg_t.h>
+// expected-error@-1 {{header '<__memory/allocator_arg_t.h>' is an implementation detail; #include '<memory>' instead}}
index f530e84..d7d5e69 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.header.verify.cpp
new file mode 100644 (file)
index 0000000..e44cedd
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/allocator_traits.h>
+// expected-error@-1 {{header '<__memory/allocator_traits.h>' is an implementation detail; #include '<memory>' instead}}
index ec9483d..ab0a575 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.header.verify.cpp
new file mode 100644 (file)
index 0000000..01e757d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/auto_ptr.h>
+// expected-error@-1 {{header '<__memory/auto_ptr.h>' is an implementation detail; #include '<memory>' instead}}
index cc143a1..b46f06d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.header.verify.cpp
new file mode 100644 (file)
index 0000000..0ffec78
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/compressed_pair.h>
+// expected-error@-1 {{header '<__memory/compressed_pair.h>' is an implementation detail; #include '<memory>' instead}}
index 15fb22b..0c54b91 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.header.verify.cpp
new file mode 100644 (file)
index 0000000..c4578e8
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/concepts.h>
+// expected-error@-1 {{header '<__memory/concepts.h>' is an implementation detail; #include '<memory>' instead}}
index ff6bb7a..46e4726 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.header.verify.cpp
new file mode 100644 (file)
index 0000000..a303e32
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/construct_at.h>
+// expected-error@-1 {{header '<__memory/construct_at.h>' is an implementation detail; #include '<memory>' instead}}
index 28461b3..9576360 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.header.verify.cpp
new file mode 100644 (file)
index 0000000..6ac66dd
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/pointer_traits.h>
+// expected-error@-1 {{header '<__memory/pointer_traits.h>' is an implementation detail; #include '<memory>' instead}}
index 5011528..000ef0f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.header.verify.cpp
new file mode 100644 (file)
index 0000000..82ce8db
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/ranges_construct_at.h>
+// expected-error@-1 {{header '<__memory/ranges_construct_at.h>' is an implementation detail; #include '<memory>' instead}}
index 1aca1e4..b9cbffa 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.header.verify.cpp
new file mode 100644 (file)
index 0000000..7e65805
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/ranges_uninitialized_algorithms.h>
+// expected-error@-1 {{header '<__memory/ranges_uninitialized_algorithms.h>' is an implementation detail; #include '<memory>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.header.verify.cpp
new file mode 100644 (file)
index 0000000..2642359
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/raw_storage_iterator.h>
+// expected-error@-1 {{header '<__memory/raw_storage_iterator.h>' is an implementation detail; #include '<memory>' instead}}
index aa77376..6f575bc 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.header.verify.cpp
new file mode 100644 (file)
index 0000000..4302161
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/shared_ptr.h>
+// expected-error@-1 {{header '<__memory/shared_ptr.h>' is an implementation detail; #include '<memory>' instead}}
index b69fef8..63edce9 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.header.verify.cpp
new file mode 100644 (file)
index 0000000..bd55f63
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/temporary_buffer.h>
+// expected-error@-1 {{header '<__memory/temporary_buffer.h>' is an implementation detail; #include '<memory>' instead}}
index c468025..e9d343b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.header.verify.cpp
new file mode 100644 (file)
index 0000000..50cffcd
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/uninitialized_algorithms.h>
+// expected-error@-1 {{header '<__memory/uninitialized_algorithms.h>' is an implementation detail; #include '<memory>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.header.verify.cpp
new file mode 100644 (file)
index 0000000..34980f0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/unique_ptr.h>
+// expected-error@-1 {{header '<__memory/unique_ptr.h>' is an implementation detail; #include '<memory>' instead}}
index 7cd7116..b9a6bf5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.header.verify.cpp
new file mode 100644 (file)
index 0000000..6e64dfb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/uses_allocator.h>
+// expected-error@-1 {{header '<__memory/uses_allocator.h>' is an implementation detail; #include '<memory>' instead}}
index c7f86b2..b7804aa 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.header.verify.cpp
new file mode 100644 (file)
index 0000000..7eb494d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__memory/voidify.h>
+// expected-error@-1 {{header '<__memory/voidify.h>' is an implementation detail; #include '<memory>' instead}}
index a8fa2dd..532952d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.header.verify.cpp
new file mode 100644 (file)
index 0000000..abc0e9f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__mutex_base>
+// expected-error@-1 {{header '<__mutex_base>' is an implementation detail; #include either '<mutex>' or '<shared_mutex>' instead}}
index 13d60b3..0dd3940 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/node_handle.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/node_handle.header.verify.cpp
new file mode 100644 (file)
index 0000000..67549af
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__node_handle>
+// expected-error@-1 {{header '<__node_handle>' is an implementation detail; #include one of {'<map>', '<set>', '<unordered_map>', '<unordered_set>'} instead}}
index 97dd3fa..01b9fa5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.header.verify.cpp
new file mode 100644 (file)
index 0000000..3063b85
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/accumulate.h>
+// expected-error@-1 {{header '<__numeric/accumulate.h>' is an implementation detail; #include '<numeric>' instead}}
index 6034f8c..6f3e6ef 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.header.verify.cpp
new file mode 100644 (file)
index 0000000..44f0c21
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/adjacent_difference.h>
+// expected-error@-1 {{header '<__numeric/adjacent_difference.h>' is an implementation detail; #include '<numeric>' instead}}
index 8b2a503..a9c273f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.header.verify.cpp
new file mode 100644 (file)
index 0000000..3b18cf3
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/exclusive_scan.h>
+// expected-error@-1 {{header '<__numeric/exclusive_scan.h>' is an implementation detail; #include '<numeric>' instead}}
index 853f2ca..6ad73df 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.header.verify.cpp
new file mode 100644 (file)
index 0000000..8712212
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/gcd_lcm.h>
+// expected-error@-1 {{header '<__numeric/gcd_lcm.h>' is an implementation detail; #include '<numeric>' instead}}
index b04e76f..cf34ea7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.header.verify.cpp
new file mode 100644 (file)
index 0000000..11d6faa
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/inclusive_scan.h>
+// expected-error@-1 {{header '<__numeric/inclusive_scan.h>' is an implementation detail; #include '<numeric>' instead}}
index 613f28a..6ac92c8 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.header.verify.cpp
new file mode 100644 (file)
index 0000000..55c2b91
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/inner_product.h>
+// expected-error@-1 {{header '<__numeric/inner_product.h>' is an implementation detail; #include '<numeric>' instead}}
index c4d414e..5e3add6 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.header.verify.cpp
new file mode 100644 (file)
index 0000000..ad56b50
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/iota.h>
+// expected-error@-1 {{header '<__numeric/iota.h>' is an implementation detail; #include '<numeric>' instead}}
index ec50347..2d47231 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.header.verify.cpp
new file mode 100644 (file)
index 0000000..af21f27
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/midpoint.h>
+// expected-error@-1 {{header '<__numeric/midpoint.h>' is an implementation detail; #include '<numeric>' instead}}
index 03bddaf..0f8fe81 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.header.verify.cpp
new file mode 100644 (file)
index 0000000..a8e3fe1
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/partial_sum.h>
+// expected-error@-1 {{header '<__numeric/partial_sum.h>' is an implementation detail; #include '<numeric>' instead}}
index d474603..8505683 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.header.verify.cpp
new file mode 100644 (file)
index 0000000..6cdc8d8
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/reduce.h>
+// expected-error@-1 {{header '<__numeric/reduce.h>' is an implementation detail; #include '<numeric>' instead}}
index 4f7cb07..70fcb27 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.header.verify.cpp
new file mode 100644 (file)
index 0000000..4935bd2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/transform_exclusive_scan.h>
+// expected-error@-1 {{header '<__numeric/transform_exclusive_scan.h>' is an implementation detail; #include '<numeric>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.header.verify.cpp
new file mode 100644 (file)
index 0000000..f75468a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/transform_inclusive_scan.h>
+// expected-error@-1 {{header '<__numeric/transform_inclusive_scan.h>' is an implementation detail; #include '<numeric>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.header.verify.cpp
new file mode 100644 (file)
index 0000000..e311bd9
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__numeric/transform_reduce.h>
+// expected-error@-1 {{header '<__numeric/transform_reduce.h>' is an implementation detail; #include '<numeric>' instead}}
index 3696820..2339c37 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..6c02fb2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/bernoulli_distribution.h>
+// expected-error@-1 {{header '<__random/bernoulli_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..348894f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/binomial_distribution.h>
+// expected-error@-1 {{header '<__random/binomial_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..11a90e0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/cauchy_distribution.h>
+// expected-error@-1 {{header '<__random/cauchy_distribution.h>' is an implementation detail; #include '<random>' instead}}
index cf08b04..7ff05ce 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..2d7e959
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/chi_squared_distribution.h>
+// expected-error@-1 {{header '<__random/chi_squared_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.header.verify.cpp
new file mode 100644 (file)
index 0000000..a58cd17
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/clamp_to_integral.h>
+// expected-error@-1 {{header '<__random/clamp_to_integral.h>' is an implementation detail; #include '<random>' instead}}
index 9909f48..280410e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.header.verify.cpp
new file mode 100644 (file)
index 0000000..a818a4d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/default_random_engine.h>
+// expected-error@-1 {{header '<__random/default_random_engine.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.header.verify.cpp
new file mode 100644 (file)
index 0000000..f6de63f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/discard_block_engine.h>
+// expected-error@-1 {{header '<__random/discard_block_engine.h>' is an implementation detail; #include '<random>' instead}}
index b11758a..6fa02ad 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..c90154a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/discrete_distribution.h>
+// expected-error@-1 {{header '<__random/discrete_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..14d585a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/exponential_distribution.h>
+// expected-error@-1 {{header '<__random/exponential_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..d98e23b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/extreme_value_distribution.h>
+// expected-error@-1 {{header '<__random/extreme_value_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..44fd734
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/fisher_f_distribution.h>
+// expected-error@-1 {{header '<__random/fisher_f_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..7bbad39
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/gamma_distribution.h>
+// expected-error@-1 {{header '<__random/gamma_distribution.h>' is an implementation detail; #include '<random>' instead}}
index 89a931a..9b865c6 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.header.verify.cpp
new file mode 100644 (file)
index 0000000..447d514
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/generate_canonical.h>
+// expected-error@-1 {{header '<__random/generate_canonical.h>' is an implementation detail; #include '<random>' instead}}
index f471463..36dbaee 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..e39f967
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/geometric_distribution.h>
+// expected-error@-1 {{header '<__random/geometric_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.header.verify.cpp
new file mode 100644 (file)
index 0000000..7f53c66
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/independent_bits_engine.h>
+// expected-error@-1 {{header '<__random/independent_bits_engine.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.header.verify.cpp
new file mode 100644 (file)
index 0000000..bb8639a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/is_seed_sequence.h>
+// expected-error@-1 {{header '<__random/is_seed_sequence.h>' is an implementation detail; #include '<random>' instead}}
index 7977563..8d7af0c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.header.verify.cpp
new file mode 100644 (file)
index 0000000..95f3251
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/knuth_b.h>
+// expected-error@-1 {{header '<__random/knuth_b.h>' is an implementation detail; #include '<random>' instead}}
index de48980..db858b5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.header.verify.cpp
new file mode 100644 (file)
index 0000000..e1ab98b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/linear_congruential_engine.h>
+// expected-error@-1 {{header '<__random/linear_congruential_engine.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/log2.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/log2.header.verify.cpp
new file mode 100644 (file)
index 0000000..9aa08ba
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/log2.h>
+// expected-error@-1 {{header '<__random/log2.h>' is an implementation detail; #include '<random>' instead}}
index c56c02f..872c53f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..276a8bf
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/lognormal_distribution.h>
+// expected-error@-1 {{header '<__random/lognormal_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.header.verify.cpp
new file mode 100644 (file)
index 0000000..da197b3
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/mersenne_twister_engine.h>
+// expected-error@-1 {{header '<__random/mersenne_twister_engine.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..9a78f9d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/negative_binomial_distribution.h>
+// expected-error@-1 {{header '<__random/negative_binomial_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..27bef73
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/normal_distribution.h>
+// expected-error@-1 {{header '<__random/normal_distribution.h>' is an implementation detail; #include '<random>' instead}}
index f1daa42..d1174f0 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..2157948
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/piecewise_constant_distribution.h>
+// expected-error@-1 {{header '<__random/piecewise_constant_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..d4c3f67
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/piecewise_linear_distribution.h>
+// expected-error@-1 {{header '<__random/piecewise_linear_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..d949363
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/poisson_distribution.h>
+// expected-error@-1 {{header '<__random/poisson_distribution.h>' is an implementation detail; #include '<random>' instead}}
index 70e8448..ea69593 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.header.verify.cpp
new file mode 100644 (file)
index 0000000..2a840e5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/random_device.h>
+// expected-error@-1 {{header '<__random/random_device.h>' is an implementation detail; #include '<random>' instead}}
index a4fd93e..6c8284a 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.header.verify.cpp
new file mode 100644 (file)
index 0000000..51e0948
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/ranlux.h>
+// expected-error@-1 {{header '<__random/ranlux.h>' is an implementation detail; #include '<random>' instead}}
index 225d7d4..4bf96d4 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.header.verify.cpp
new file mode 100644 (file)
index 0000000..0787cad
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/seed_seq.h>
+// expected-error@-1 {{header '<__random/seed_seq.h>' is an implementation detail; #include '<random>' instead}}
index c08dddb..998887f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.header.verify.cpp
new file mode 100644 (file)
index 0000000..48bc6a8
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/shuffle_order_engine.h>
+// expected-error@-1 {{header '<__random/shuffle_order_engine.h>' is an implementation detail; #include '<random>' instead}}
index 0cc5fd5..54897cf 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..f2712a6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/student_t_distribution.h>
+// expected-error@-1 {{header '<__random/student_t_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.header.verify.cpp
new file mode 100644 (file)
index 0000000..952ffd5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/subtract_with_carry_engine.h>
+// expected-error@-1 {{header '<__random/subtract_with_carry_engine.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..f534fdb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/uniform_int_distribution.h>
+// expected-error@-1 {{header '<__random/uniform_int_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.header.verify.cpp
new file mode 100644 (file)
index 0000000..79053f1
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/uniform_random_bit_generator.h>
+// expected-error@-1 {{header '<__random/uniform_random_bit_generator.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..156c951
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/uniform_real_distribution.h>
+// expected-error@-1 {{header '<__random/uniform_real_distribution.h>' is an implementation detail; #include '<random>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.header.verify.cpp
new file mode 100644 (file)
index 0000000..b5498cc
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__random/weibull_distribution.h>
+// expected-error@-1 {{header '<__random/weibull_distribution.h>' is an implementation detail; #include '<random>' instead}}
index b189714..bea3885 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.header.verify.cpp
new file mode 100644 (file)
index 0000000..d8db3c8
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/access.h>
+// expected-error@-1 {{header '<__ranges/access.h>' is an implementation detail; #include '<ranges>' instead}}
index b63968a..d7ed406 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.header.verify.cpp
new file mode 100644 (file)
index 0000000..4d8beaa
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/all.h>
+// expected-error@-1 {{header '<__ranges/all.h>' is an implementation detail; #include '<ranges>' instead}}
index a72d58c..b052cec 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..b3ae487
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/common_view.h>
+// expected-error@-1 {{header '<__ranges/common_view.h>' is an implementation detail; #include '<ranges>' instead}}
index 2847cc8..49bd520 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.header.verify.cpp
new file mode 100644 (file)
index 0000000..5752223
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/concepts.h>
+// expected-error@-1 {{header '<__ranges/concepts.h>' is an implementation detail; #include '<ranges>' instead}}
index 1cf0635..9e2a7ee 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.header.verify.cpp
new file mode 100644 (file)
index 0000000..5d4bb1d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/copyable_box.h>
+// expected-error@-1 {{header '<__ranges/copyable_box.h>' is an implementation detail; #include '<ranges>' instead}}
index 3059a11..b1749eb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.header.verify.cpp
new file mode 100644 (file)
index 0000000..cdf91dc
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/counted.h>
+// expected-error@-1 {{header '<__ranges/counted.h>' is an implementation detail; #include '<ranges>' instead}}
index 9492562..748706b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.header.verify.cpp
new file mode 100644 (file)
index 0000000..a7e99a0
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/dangling.h>
+// expected-error@-1 {{header '<__ranges/dangling.h>' is an implementation detail; #include '<ranges>' instead}}
index 6585847..5f4fa40 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.header.verify.cpp
new file mode 100644 (file)
index 0000000..27de95e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/data.h>
+// expected-error@-1 {{header '<__ranges/data.h>' is an implementation detail; #include '<ranges>' instead}}
index 27bce19..2ffc98b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..960b8e5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/drop_view.h>
+// expected-error@-1 {{header '<__ranges/drop_view.h>' is an implementation detail; #include '<ranges>' instead}}
index ff10370..4ae85f5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.header.verify.cpp
new file mode 100644 (file)
index 0000000..dc2e08a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/empty.h>
+// expected-error@-1 {{header '<__ranges/empty.h>' is an implementation detail; #include '<ranges>' instead}}
index a4e63ab..9edeb03 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..c394b20
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/empty_view.h>
+// expected-error@-1 {{header '<__ranges/empty_view.h>' is an implementation detail; #include '<ranges>' instead}}
index 4e068d3..c4c8fce 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.header.verify.cpp
new file mode 100644 (file)
index 0000000..cbd782e
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/enable_borrowed_range.h>
+// expected-error@-1 {{header '<__ranges/enable_borrowed_range.h>' is an implementation detail; #include '<ranges>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..16523d6
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/enable_view.h>
+// expected-error@-1 {{header '<__ranges/enable_view.h>' is an implementation detail; #include '<ranges>' instead}}
index 9cbbd31..1e0920b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..d7845dc
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/iota_view.h>
+// expected-error@-1 {{header '<__ranges/iota_view.h>' is an implementation detail; #include '<ranges>' instead}}
index a66c7ca..8b2d4ca 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..f557420
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/join_view.h>
+// expected-error@-1 {{header '<__ranges/join_view.h>' is an implementation detail; #include '<ranges>' instead}}
index 19bada4..ff48b74 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.header.verify.cpp
new file mode 100644 (file)
index 0000000..6de2117
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/non_propagating_cache.h>
+// expected-error@-1 {{header '<__ranges/non_propagating_cache.h>' is an implementation detail; #include '<ranges>' instead}}
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..2a92091
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/owning_view.h>
+// expected-error@-1 {{header '<__ranges/owning_view.h>' is an implementation detail; #include '<ranges>' instead}}
index e68237c..5625f48 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.header.verify.cpp
new file mode 100644 (file)
index 0000000..d8cbed2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/range_adaptor.h>
+// expected-error@-1 {{header '<__ranges/range_adaptor.h>' is an implementation detail; #include '<ranges>' instead}}
index 33de132..b1bdc0d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.header.verify.cpp
new file mode 100644 (file)
index 0000000..6fd31a2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/rbegin.h>
+// expected-error@-1 {{header '<__ranges/rbegin.h>' is an implementation detail; #include '<ranges>' instead}}
index c91765b..860c681 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..0f314eb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/ref_view.h>
+// expected-error@-1 {{header '<__ranges/ref_view.h>' is an implementation detail; #include '<ranges>' instead}}
index f62283d..5c7169b 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.header.verify.cpp
new file mode 100644 (file)
index 0000000..124fa21
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/rend.h>
+// expected-error@-1 {{header '<__ranges/rend.h>' is an implementation detail; #include '<ranges>' instead}}
index 460c5a9..fbb5b56 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..3912390
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/reverse_view.h>
+// expected-error@-1 {{header '<__ranges/reverse_view.h>' is an implementation detail; #include '<ranges>' instead}}
index f0d3524..66c8f84 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..5acac5c
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/single_view.h>
+// expected-error@-1 {{header '<__ranges/single_view.h>' is an implementation detail; #include '<ranges>' instead}}
index a23b911..eb6e276 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.header.verify.cpp
new file mode 100644 (file)
index 0000000..53c46eb
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/size.h>
+// expected-error@-1 {{header '<__ranges/size.h>' is an implementation detail; #include '<ranges>' instead}}
index 9d02d7d..39fab7e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.header.verify.cpp
new file mode 100644 (file)
index 0000000..fdae18b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/subrange.h>
+// expected-error@-1 {{header '<__ranges/subrange.h>' is an implementation detail; #include '<ranges>' instead}}
index ad1ddc4..53bf897 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..5a2b62d
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/take_view.h>
+// expected-error@-1 {{header '<__ranges/take_view.h>' is an implementation detail; #include '<ranges>' instead}}
index f59a0a3..39b1231 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.header.verify.cpp
new file mode 100644 (file)
index 0000000..a1a4168
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/transform_view.h>
+// expected-error@-1 {{header '<__ranges/transform_view.h>' is an implementation detail; #include '<ranges>' instead}}
index f39fc1a..d014f30 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.header.verify.cpp
new file mode 100644 (file)
index 0000000..14f6a03
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/view_interface.h>
+// expected-error@-1 {{header '<__ranges/view_interface.h>' is an implementation detail; #include '<ranges>' instead}}
index 55b8d2e..92cea7c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.header.verify.cpp
new file mode 100644 (file)
index 0000000..a4bdf4f
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__ranges/views.h>
+// expected-error@-1 {{header '<__ranges/views.h>' is an implementation detail; #include '<ranges>' instead}}
index 3b5b617..1c91cc6 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.header.verify.cpp
new file mode 100644 (file)
index 0000000..23457a3
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__split_buffer>
+// expected-error@-1 {{header '<__split_buffer>' is an implementation detail; #include either '<vector>' or '<deque>' instead}}
index f658ee5..b0136c8 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/std_stream.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/std_stream.header.verify.cpp
new file mode 100644 (file)
index 0000000..5e04a6b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__std_stream>
+// expected-error@-1 {{header '<__std_stream>' is an implementation detail; #include '<streambuf>' instead}}
index eb360d4..fe8b52e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/string.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/string.header.verify.cpp
new file mode 100644 (file)
index 0000000..776d82b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__string>
+// expected-error@-1 {{header '<__string>' is an implementation detail; #include '<string>' instead}}
index cdd9a21..b368079 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.header.verify.cpp
new file mode 100644 (file)
index 0000000..c23b985
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__thread/poll_with_backoff.h>
+// expected-error@-1 {{header '<__thread/poll_with_backoff.h>' is an implementation detail; #include '<thread>' instead}}
index ea2e772..d85fdd0 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.header.verify.cpp
new file mode 100644 (file)
index 0000000..a41264b
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__thread/timed_backoff_policy.h>
+// expected-error@-1 {{header '<__thread/timed_backoff_policy.h>' is an implementation detail; #include '<thread>' instead}}
index 45e04f4..8e04eee 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/tuple.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/tuple.header.verify.cpp
new file mode 100644 (file)
index 0000000..e245d13
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__tuple>
+// expected-error@-1 {{header '<__tuple>' is an implementation detail; #include either '<tuple>' or '<utility>' instead}}
index a280854..d20d348 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.header.verify.cpp
new file mode 100644 (file)
index 0000000..182af78
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/as_const.h>
+// expected-error@-1 {{header '<__utility/as_const.h>' is an implementation detail; #include '<utility>' instead}}
index 5a5020c..afa0a11 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.header.verify.cpp
new file mode 100644 (file)
index 0000000..4129fb5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/auto_cast.h>
+// expected-error@-1 {{header '<__utility/auto_cast.h>' is an implementation detail; #include '<utility>' instead}}
index cf012c3..48e64cb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.header.verify.cpp
new file mode 100644 (file)
index 0000000..32abf54
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/cmp.h>
+// expected-error@-1 {{header '<__utility/cmp.h>' is an implementation detail; #include '<utility>' instead}}
index abf979b..0f491b5 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.header.verify.cpp
new file mode 100644 (file)
index 0000000..b3d71ba
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/declval.h>
+// expected-error@-1 {{header '<__utility/declval.h>' is an implementation detail; #include '<utility>' instead}}
index 065590a..8c9feed 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.header.verify.cpp
new file mode 100644 (file)
index 0000000..c75cd13
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/exchange.h>
+// expected-error@-1 {{header '<__utility/exchange.h>' is an implementation detail; #include '<utility>' instead}}
index 5cbe3bd..047b8ae 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.header.verify.cpp
new file mode 100644 (file)
index 0000000..00ed259
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/forward.h>
+// expected-error@-1 {{header '<__utility/forward.h>' is an implementation detail; #include '<utility>' instead}}
index 27b3f1b..ed4af64 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.header.verify.cpp
new file mode 100644 (file)
index 0000000..a25d800
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/in_place.h>
+// expected-error@-1 {{header '<__utility/in_place.h>' is an implementation detail; #include '<utility>' instead}}
index 0c811af..ebf2019 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.header.verify.cpp
new file mode 100644 (file)
index 0000000..a74f432
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/integer_sequence.h>
+// expected-error@-1 {{header '<__utility/integer_sequence.h>' is an implementation detail; #include '<utility>' instead}}
index eecef46..36208e7 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/move.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/move.header.verify.cpp
new file mode 100644 (file)
index 0000000..6a04a8a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/move.h>
+// expected-error@-1 {{header '<__utility/move.h>' is an implementation detail; #include '<utility>' instead}}
index 46b7415..e410bdb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.header.verify.cpp
new file mode 100644 (file)
index 0000000..72a2ee5
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/pair.h>
+// expected-error@-1 {{header '<__utility/pair.h>' is an implementation detail; #include '<utility>' instead}}
index 7aa7846..b847833 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.header.verify.cpp
new file mode 100644 (file)
index 0000000..3d0b028
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/piecewise_construct.h>
+// expected-error@-1 {{header '<__utility/piecewise_construct.h>' is an implementation detail; #include '<utility>' instead}}
index 764a52a..a804894 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.header.verify.cpp
new file mode 100644 (file)
index 0000000..5541c19
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/priority_tag.h>
+// expected-error@-1 {{header '<__utility/priority_tag.h>' is an implementation detail; #include '<utility>' instead}}
index 485fca0..b2210f3 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.header.verify.cpp
new file mode 100644 (file)
index 0000000..4d278ee
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/rel_ops.h>
+// expected-error@-1 {{header '<__utility/rel_ops.h>' is an implementation detail; #include '<utility>' instead}}
index a945723..94b198e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.header.verify.cpp
new file mode 100644 (file)
index 0000000..ba41270
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/swap.h>
+// expected-error@-1 {{header '<__utility/swap.h>' is an implementation detail; #include '<utility>' instead}}
index 0e69e90..0b5208f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.header.verify.cpp
new file mode 100644 (file)
index 0000000..5c6a745
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/to_underlying.h>
+// expected-error@-1 {{header '<__utility/to_underlying.h>' is an implementation detail; #include '<utility>' instead}}
index c3da6cd..553c29c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.header.verify.cpp
new file mode 100644 (file)
index 0000000..8ca98e2
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/transaction.h>
+// expected-error@-1 {{header '<__utility/transaction.h>' is an implementation detail; #include '<utility>' instead}}
index d453fa5..53c1bab 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.header.verify.cpp
new file mode 100644 (file)
index 0000000..5da882a
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__utility/unreachable.h>
+// expected-error@-1 {{header '<__utility/unreachable.h>' is an implementation detail; #include '<utility>' instead}}
index bbbf0e1..7041cc4 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.header.verify.cpp
new file mode 100644 (file)
index 0000000..0dfef22
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+#include <__variant/monostate.h>
+// expected-error@-1 {{header '<__variant/monostate.h>' is an implementation detail; #include '<variant>' instead}}
index 5a94927..bb20cbb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 810657e..eef0343 100755 (executable)
@@ -25,8 +25,33 @@ def get_libcxx_paths():
 script_name, include_path, detail_header_test_root = get_libcxx_paths()
 
 
-def generate_test(header):
-    return f'''
+def generate_header_test(header, include_instead):
+    return f'''// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: modules-build
+// UNSUPPORTED: clang-11, clang-12, clang-13
+// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
+// UNSUPPORTED: gcc-11
+// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
+// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
+
+// WARNING: This test was generated by '{script_name}'
+// and should not be edited manually.
+
+#include <{header}>
+// expected-error@-1 {{{{header '<{header}>' is an implementation detail; #include {include_instead} instead}}}}
+'''
+
+
+def generate_module_test(header):
+    return f'''// -*- C++ -*-
 //===----------------------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
@@ -42,7 +67,7 @@ def generate_test(header):
 
 // expected-error@*:* {{{{use of private header from outside its module: '{header}'}}}}
 #include <{header}>
-'''[1:]
+'''
 
 
 def relative_path(path):
@@ -58,6 +83,35 @@ def is_still_public(path):
     ]
 
 
+def find_header_name(header, directory):
+    """Returns part of the diagnostic for `#pragma clang include_instead`. This
+     usually matches the subdirectory the header lives in (e.g. a header in
+     `__algorithm` will return "'<algorithm>'"), but some headers are
+     special-cased.
+    """
+
+    # Most of the special-cased headers are in the top-level include directory
+    # (and don't have a point of reference for us to hook on to), but any
+    # sub-level header that is exported by multiple top-level headers (e.g.
+    # __compare/compare_three_way.h) is also included in this module map, as the
+    # diagnostic needs to include more than our simple heuristic.
+    header_map = {
+        'bit_reference':     "either '<bitset>' or '<vector>'",
+        'bits':              "one of {'<algorithm>', '<bit>', '<bitset>', '<numeric>', '<random>', '<unordered_map>', '<unordered_set>', '<vector>'}",
+        'hash_table':        "either '<unordered_map>' or '<unordered_set>'",
+        'locale':            "'<locale>'",
+        'mutex_base':        "either '<mutex>' or '<shared_mutex>'",
+        'node_handle':       "one of {'<map>', '<set>', '<unordered_map>', '<unordered_set>'}",
+        'split_buffer':      "either '<vector>' or '<deque>'",
+        'std_stream':        "'<streambuf>'",
+        'string':            "'<string>'",
+        'threading_support': "one of {'<atomic>', '<mutex>', '<semaphore>', '<thread>'}",
+        'tree':              "either '<map>' or '<set>'",
+        'tuple':             "either '<tuple>' or '<utility>'",
+    }
+    return header_map[header] if header in header_map else f"'<{directory[:-1]}>'"
+
+
 def main():
     paths = [
         relative_path(p) for p in Path(include_path).rglob('*')
@@ -68,11 +122,18 @@ def main():
         path_with_subdir = re.search(r'__(\w+)/(\w+)', path)
         directory = path_with_subdir.group(1) + '/' if path_with_subdir else ""
         file = path_with_subdir.group(2) if path_with_subdir else path[2:]
-        path_to_write = f'{detail_header_test_root}/{directory}{file}.module.verify.cpp'
         Path(f'{detail_header_test_root}/{directory}').mkdir(exist_ok=True)
         assert os.path.exists(f'{detail_header_test_root}/{directory}')
+
+        path_to_write = f'{detail_header_test_root}/{directory}{file}.header.verify.cpp'
+        include_instead = find_header_name(file, directory)
+        if include_instead != "'<>'":
+            with open(path_to_write, 'w') as f:
+                f.write(generate_header_test(path, include_instead))
+
+        path_to_write = f'{detail_header_test_root}/{directory}{file}.module.verify.cpp'
         with open(path_to_write, 'w') as f:
-            f.write(generate_test(path))
+            f.write(generate_module_test(path))
 
 
 if __name__ == '__main__':
diff --git a/libcxxabi/include/threading_support.h b/libcxxabi/include/threading_support.h
new file mode 100644 (file)
index 0000000..3e533f9
--- /dev/null
@@ -0,0 +1,14 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+#ifndef _LIBCXXABI_THREADING_SUPPORT_H
+#define _LIBCXXABI_THREADING_SUPPORT_H
+
+#pragma GCC system_header
+#include <__threading_support>
+
+#endif // _LIBCXXABI_THREADING_SUPPORT_H
index 3a3233a..ce44c3a 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "cxa_exception.h"
 
-#include <__threading_support>
+#include "threading_support.h"
 
 #if defined(_LIBCXXABI_HAS_NO_THREADS)
 
index 72940cc..b3c3202 100644 (file)
@@ -56,7 +56,7 @@
 
 #include <limits.h>
 #include <stdlib.h>
-#include <__threading_support>
+#include "threading_support.h"
 #ifndef _LIBCXXABI_HAS_NO_THREADS
 #  if defined(__ELF__) && defined(_LIBCXXABI_LINK_PTHREAD_LIB)
 #    pragma comment(lib, "pthread")
index 665f9e5..1a04ddd 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "abort_message.h"
 #include "cxxabi.h"
-#include <__threading_support>
+#include "threading_support.h"
 #ifndef _LIBCXXABI_HAS_NO_THREADS
 #if defined(__ELF__) && defined(_LIBCXXABI_LINK_PTHREAD_LIB)
 #pragma comment(lib, "pthread")
index 1d6c380..9db431e 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "fallback_malloc.h"
 
-#include <__threading_support>
+#include "threading_support.h"
 #ifndef _LIBCXXABI_HAS_NO_THREADS
 #if defined(__ELF__) && defined(_LIBCXXABI_LINK_PTHREAD_LIB)
 #pragma comment(lib, "pthread")
index 934cc4b..4f1121b 100644 (file)
@@ -9,7 +9,7 @@
 #include <algorithm>
 #include <cstdio>
 #include <cstdlib>
-#include <__threading_support>
+#include "threading_support.h"
 #include <unistd.h>
 
 #include "../src/cxa_exception.h"
index cc59129..886b9a5 100644 (file)
@@ -9,7 +9,7 @@
 #include <cstdio>
 #include <deque>
 
-#include <__threading_support>
+#include "threading_support.h"
 
 typedef std::deque<void *> container;
 
index 74541e6..d2b6bc4 100644 (file)
@@ -4,6 +4,7 @@ copy("include") {
   sources = [
     "__cxxabi_config.h",
     "cxxabi.h",
+    "threading_support.h",
   ]
   outputs = [ "$root_build_dir/include/c++/v1/{{source_target_relative}}" ]
 }