From 5aaefa510ef055e8f044ca89e352d4313f3aba49 Mon Sep 17 00:00:00 2001 From: Christopher Di Bella Date: Fri, 25 Feb 2022 18:59:32 +0000 Subject: [PATCH] [libcxx][modules] protects users from relying on detail headers 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 , 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 --- libcxx/cmake/Modules/HandleLibCXXABI.cmake | 2 +- libcxx/include/__algorithm/adjacent_find.h | 1 + libcxx/include/__algorithm/all_of.h | 1 + libcxx/include/__algorithm/any_of.h | 1 + libcxx/include/__algorithm/binary_search.h | 1 + libcxx/include/__algorithm/clamp.h | 1 + libcxx/include/__algorithm/comp.h | 1 + libcxx/include/__algorithm/comp_ref_type.h | 1 + libcxx/include/__algorithm/copy.h | 1 + libcxx/include/__algorithm/copy_backward.h | 1 + libcxx/include/__algorithm/copy_if.h | 1 + libcxx/include/__algorithm/copy_n.h | 1 + libcxx/include/__algorithm/count.h | 1 + libcxx/include/__algorithm/count_if.h | 1 + libcxx/include/__algorithm/equal.h | 1 + libcxx/include/__algorithm/equal_range.h | 1 + libcxx/include/__algorithm/fill.h | 1 + libcxx/include/__algorithm/fill_n.h | 1 + libcxx/include/__algorithm/find.h | 1 + libcxx/include/__algorithm/find_end.h | 1 + libcxx/include/__algorithm/find_first_of.h | 1 + libcxx/include/__algorithm/find_if.h | 1 + libcxx/include/__algorithm/find_if_not.h | 1 + libcxx/include/__algorithm/for_each.h | 1 + libcxx/include/__algorithm/for_each_n.h | 1 + libcxx/include/__algorithm/generate.h | 1 + libcxx/include/__algorithm/generate_n.h | 1 + libcxx/include/__algorithm/half_positive.h | 1 + libcxx/include/__algorithm/in_found_result.h | 1 + libcxx/include/__algorithm/in_fun_result.h | 1 + libcxx/include/__algorithm/in_in_out_result.h | 1 + libcxx/include/__algorithm/in_in_result.h | 1 + .../include/__algorithm/in_out_out_result.h | 1 + libcxx/include/__algorithm/in_out_result.h | 1 + libcxx/include/__algorithm/includes.h | 1 + libcxx/include/__algorithm/inplace_merge.h | 1 + libcxx/include/__algorithm/is_heap.h | 1 + libcxx/include/__algorithm/is_heap_until.h | 1 + libcxx/include/__algorithm/is_partitioned.h | 1 + libcxx/include/__algorithm/is_permutation.h | 1 + libcxx/include/__algorithm/is_sorted.h | 1 + libcxx/include/__algorithm/is_sorted_until.h | 1 + libcxx/include/__algorithm/iter_swap.h | 1 + .../__algorithm/lexicographical_compare.h | 1 + libcxx/include/__algorithm/lower_bound.h | 1 + libcxx/include/__algorithm/make_heap.h | 1 + libcxx/include/__algorithm/max.h | 1 + libcxx/include/__algorithm/max_element.h | 1 + libcxx/include/__algorithm/merge.h | 1 + libcxx/include/__algorithm/min.h | 1 + libcxx/include/__algorithm/min_element.h | 1 + libcxx/include/__algorithm/min_max_result.h | 1 + libcxx/include/__algorithm/minmax.h | 1 + libcxx/include/__algorithm/minmax_element.h | 1 + libcxx/include/__algorithm/mismatch.h | 1 + libcxx/include/__algorithm/move.h | 1 + libcxx/include/__algorithm/move_backward.h | 1 + libcxx/include/__algorithm/next_permutation.h | 1 + libcxx/include/__algorithm/none_of.h | 1 + libcxx/include/__algorithm/nth_element.h | 1 + libcxx/include/__algorithm/partial_sort.h | 1 + .../include/__algorithm/partial_sort_copy.h | 1 + libcxx/include/__algorithm/partition.h | 1 + libcxx/include/__algorithm/partition_copy.h | 1 + libcxx/include/__algorithm/partition_point.h | 1 + libcxx/include/__algorithm/pop_heap.h | 1 + libcxx/include/__algorithm/prev_permutation.h | 1 + libcxx/include/__algorithm/push_heap.h | 1 + .../include/__algorithm/ranges_min_element.h | 1 + .../include/__algorithm/ranges_swap_ranges.h | 1 + libcxx/include/__algorithm/remove.h | 1 + libcxx/include/__algorithm/remove_copy.h | 1 + libcxx/include/__algorithm/remove_copy_if.h | 1 + libcxx/include/__algorithm/remove_if.h | 1 + libcxx/include/__algorithm/replace.h | 1 + libcxx/include/__algorithm/replace_copy.h | 1 + libcxx/include/__algorithm/replace_copy_if.h | 1 + libcxx/include/__algorithm/replace_if.h | 1 + libcxx/include/__algorithm/reverse.h | 1 + libcxx/include/__algorithm/reverse_copy.h | 1 + libcxx/include/__algorithm/rotate.h | 1 + libcxx/include/__algorithm/rotate_copy.h | 1 + libcxx/include/__algorithm/sample.h | 1 + libcxx/include/__algorithm/search.h | 1 + libcxx/include/__algorithm/search_n.h | 1 + libcxx/include/__algorithm/set_difference.h | 1 + libcxx/include/__algorithm/set_intersection.h | 1 + .../__algorithm/set_symmetric_difference.h | 1 + libcxx/include/__algorithm/set_union.h | 1 + libcxx/include/__algorithm/shift_left.h | 1 + libcxx/include/__algorithm/shift_right.h | 1 + libcxx/include/__algorithm/shuffle.h | 1 + libcxx/include/__algorithm/sift_down.h | 1 + libcxx/include/__algorithm/sort.h | 1 + libcxx/include/__algorithm/sort_heap.h | 1 + libcxx/include/__algorithm/stable_partition.h | 1 + libcxx/include/__algorithm/stable_sort.h | 1 + libcxx/include/__algorithm/swap_ranges.h | 1 + libcxx/include/__algorithm/transform.h | 1 + libcxx/include/__algorithm/unique.h | 1 + libcxx/include/__algorithm/unique_copy.h | 1 + libcxx/include/__algorithm/unwrap_iter.h | 1 + libcxx/include/__algorithm/upper_bound.h | 1 + libcxx/include/__bit/bit_cast.h | 1 + libcxx/include/__bit/byteswap.h | 1 + libcxx/include/__bit_reference | 2 + libcxx/include/__bits | 8 +++ libcxx/include/__charconv/chars_format.h | 1 + libcxx/include/__charconv/from_chars_result.h | 1 + libcxx/include/__charconv/to_chars_result.h | 1 + libcxx/include/__chrono/calendar.h | 1 + libcxx/include/__chrono/convert_to_timespec.h | 1 + libcxx/include/__chrono/duration.h | 1 + libcxx/include/__chrono/file_clock.h | 1 + .../include/__chrono/high_resolution_clock.h | 1 + libcxx/include/__chrono/steady_clock.h | 1 + libcxx/include/__chrono/system_clock.h | 1 + libcxx/include/__chrono/time_point.h | 1 + .../__compare/common_comparison_category.h | 1 + .../compare_partial_order_fallback.h | 1 + .../__compare/compare_strong_order_fallback.h | 1 + libcxx/include/__compare/compare_three_way.h | 1 + .../__compare/compare_three_way_result.h | 1 + .../__compare/compare_weak_order_fallback.h | 1 + libcxx/include/__compare/is_eq.h | 1 + libcxx/include/__compare/ordering.h | 1 + libcxx/include/__compare/partial_order.h | 1 + libcxx/include/__compare/strong_order.h | 1 + libcxx/include/__compare/synth_three_way.h | 1 + .../include/__compare/three_way_comparable.h | 1 + libcxx/include/__compare/weak_order.h | 1 + libcxx/include/__concepts/arithmetic.h | 1 + libcxx/include/__concepts/assignable.h | 1 + libcxx/include/__concepts/boolean_testable.h | 1 + libcxx/include/__concepts/class_or_enum.h | 1 + .../__concepts/common_reference_with.h | 1 + libcxx/include/__concepts/common_with.h | 1 + libcxx/include/__concepts/constructible.h | 1 + libcxx/include/__concepts/convertible_to.h | 1 + libcxx/include/__concepts/copyable.h | 1 + libcxx/include/__concepts/derived_from.h | 1 + libcxx/include/__concepts/destructible.h | 1 + libcxx/include/__concepts/different_from.h | 1 + .../include/__concepts/equality_comparable.h | 1 + libcxx/include/__concepts/invocable.h | 1 + libcxx/include/__concepts/movable.h | 1 + libcxx/include/__concepts/predicate.h | 1 + libcxx/include/__concepts/regular.h | 1 + libcxx/include/__concepts/relation.h | 1 + libcxx/include/__concepts/same_as.h | 1 + libcxx/include/__concepts/semiregular.h | 1 + libcxx/include/__concepts/swappable.h | 1 + libcxx/include/__concepts/totally_ordered.h | 1 + libcxx/include/__coroutine/coroutine_handle.h | 1 + libcxx/include/__coroutine/coroutine_traits.h | 1 + .../__coroutine/noop_coroutine_handle.h | 3 +- .../include/__coroutine/trivial_awaitables.h | 1 + libcxx/include/__filesystem/copy_options.h | 1 + libcxx/include/__filesystem/directory_entry.h | 1 + .../include/__filesystem/directory_iterator.h | 1 + .../include/__filesystem/directory_options.h | 1 + libcxx/include/__filesystem/file_status.h | 1 + libcxx/include/__filesystem/file_time_type.h | 1 + libcxx/include/__filesystem/file_type.h | 1 + .../include/__filesystem/filesystem_error.h | 1 + libcxx/include/__filesystem/operations.h | 1 + libcxx/include/__filesystem/path.h | 1 + libcxx/include/__filesystem/path_iterator.h | 1 + libcxx/include/__filesystem/perm_options.h | 1 + libcxx/include/__filesystem/perms.h | 1 + .../recursive_directory_iterator.h | 1 + libcxx/include/__filesystem/space_info.h | 1 + libcxx/include/__filesystem/u8path.h | 1 + libcxx/include/__format/format_arg.h | 1 + libcxx/include/__format/format_args.h | 1 + libcxx/include/__format/format_context.h | 1 + libcxx/include/__format/format_error.h | 1 + libcxx/include/__format/format_fwd.h | 1 + .../include/__format/format_parse_context.h | 1 + libcxx/include/__format/format_string.h | 1 + libcxx/include/__format/format_to_n_result.h | 1 + libcxx/include/__format/formatter.h | 1 + libcxx/include/__format/formatter_bool.h | 1 + libcxx/include/__format/formatter_char.h | 1 + .../__format/formatter_floating_point.h | 1 + libcxx/include/__format/formatter_integer.h | 1 + libcxx/include/__format/formatter_integral.h | 1 + libcxx/include/__format/formatter_pointer.h | 1 + libcxx/include/__format/formatter_string.h | 1 + .../include/__format/parser_std_format_spec.h | 1 + libcxx/include/__functional/binary_function.h | 1 + libcxx/include/__functional/binary_negate.h | 1 + libcxx/include/__functional/bind.h | 1 + libcxx/include/__functional/bind_back.h | 1 + libcxx/include/__functional/bind_front.h | 1 + libcxx/include/__functional/binder1st.h | 1 + libcxx/include/__functional/binder2nd.h | 1 + libcxx/include/__functional/compose.h | 1 + .../include/__functional/default_searcher.h | 1 + libcxx/include/__functional/function.h | 1 + libcxx/include/__functional/hash.h | 1 + libcxx/include/__functional/identity.h | 1 + libcxx/include/__functional/invoke.h | 1 + libcxx/include/__functional/is_transparent.h | 1 + libcxx/include/__functional/mem_fn.h | 1 + libcxx/include/__functional/mem_fun_ref.h | 1 + libcxx/include/__functional/not_fn.h | 1 + libcxx/include/__functional/operations.h | 1 + libcxx/include/__functional/perfect_forward.h | 1 + .../__functional/pointer_to_binary_function.h | 1 + .../__functional/pointer_to_unary_function.h | 1 + .../include/__functional/ranges_operations.h | 1 + .../include/__functional/reference_wrapper.h | 1 + libcxx/include/__functional/unary_function.h | 1 + libcxx/include/__functional/unary_negate.h | 1 + libcxx/include/__functional/unwrap_ref.h | 1 + .../include/__functional/weak_result_type.h | 1 + libcxx/include/__hash_table | 2 + libcxx/include/__ios/fpos.h | 1 + libcxx/include/__iterator/access.h | 1 + libcxx/include/__iterator/advance.h | 1 + .../include/__iterator/back_insert_iterator.h | 1 + libcxx/include/__iterator/common_iterator.h | 1 + libcxx/include/__iterator/concepts.h | 1 + libcxx/include/__iterator/counted_iterator.h | 1 + libcxx/include/__iterator/data.h | 1 + libcxx/include/__iterator/default_sentinel.h | 1 + libcxx/include/__iterator/distance.h | 1 + libcxx/include/__iterator/empty.h | 1 + .../include/__iterator/erase_if_container.h | 1 + .../__iterator/front_insert_iterator.h | 1 + .../include/__iterator/incrementable_traits.h | 1 + .../__iterator/indirectly_comparable.h | 1 + libcxx/include/__iterator/insert_iterator.h | 1 + libcxx/include/__iterator/istream_iterator.h | 1 + .../include/__iterator/istreambuf_iterator.h | 1 + libcxx/include/__iterator/iter_move.h | 1 + libcxx/include/__iterator/iter_swap.h | 1 + libcxx/include/__iterator/iterator.h | 1 + libcxx/include/__iterator/iterator_traits.h | 1 + libcxx/include/__iterator/mergeable.h | 1 + libcxx/include/__iterator/move_iterator.h | 1 + libcxx/include/__iterator/next.h | 1 + libcxx/include/__iterator/ostream_iterator.h | 1 + .../include/__iterator/ostreambuf_iterator.h | 1 + libcxx/include/__iterator/permutable.h | 1 + libcxx/include/__iterator/prev.h | 1 + libcxx/include/__iterator/projected.h | 1 + libcxx/include/__iterator/readable_traits.h | 1 + libcxx/include/__iterator/reverse_access.h | 1 + libcxx/include/__iterator/reverse_iterator.h | 1 + libcxx/include/__iterator/size.h | 1 + libcxx/include/__iterator/sortable.h | 1 + .../include/__iterator/unreachable_sentinel.h | 1 + libcxx/include/__iterator/wrap_iter.h | 1 + libcxx/include/__locale | 1 + libcxx/include/__memory/addressof.h | 1 + libcxx/include/__memory/allocation_guard.h | 1 + libcxx/include/__memory/allocator.h | 1 + libcxx/include/__memory/allocator_arg_t.h | 1 + libcxx/include/__memory/allocator_traits.h | 1 + libcxx/include/__memory/auto_ptr.h | 1 + libcxx/include/__memory/compressed_pair.h | 1 + libcxx/include/__memory/concepts.h | 1 + libcxx/include/__memory/construct_at.h | 1 + libcxx/include/__memory/pointer_traits.h | 1 + libcxx/include/__memory/ranges_construct_at.h | 1 + .../ranges_uninitialized_algorithms.h | 1 + .../include/__memory/raw_storage_iterator.h | 1 + libcxx/include/__memory/shared_ptr.h | 1 + libcxx/include/__memory/temporary_buffer.h | 1 + .../__memory/uninitialized_algorithms.h | 1 + libcxx/include/__memory/unique_ptr.h | 1 + libcxx/include/__memory/uses_allocator.h | 1 + libcxx/include/__memory/voidify.h | 1 + libcxx/include/__mutex_base | 2 + libcxx/include/__node_handle | 4 ++ libcxx/include/__numeric/accumulate.h | 1 + .../include/__numeric/adjacent_difference.h | 1 + libcxx/include/__numeric/exclusive_scan.h | 1 + libcxx/include/__numeric/gcd_lcm.h | 1 + libcxx/include/__numeric/inclusive_scan.h | 1 + libcxx/include/__numeric/inner_product.h | 1 + libcxx/include/__numeric/iota.h | 1 + libcxx/include/__numeric/midpoint.h | 1 + libcxx/include/__numeric/partial_sum.h | 1 + libcxx/include/__numeric/reduce.h | 1 + .../__numeric/transform_exclusive_scan.h | 1 + .../__numeric/transform_inclusive_scan.h | 1 + libcxx/include/__numeric/transform_reduce.h | 1 + .../include/__random/bernoulli_distribution.h | 1 + .../include/__random/binomial_distribution.h | 1 + libcxx/include/__random/cauchy_distribution.h | 1 + .../__random/chi_squared_distribution.h | 1 + libcxx/include/__random/clamp_to_integral.h | 1 + .../include/__random/default_random_engine.h | 1 + .../include/__random/discard_block_engine.h | 1 + .../include/__random/discrete_distribution.h | 1 + .../__random/exponential_distribution.h | 1 + .../__random/extreme_value_distribution.h | 1 + .../include/__random/fisher_f_distribution.h | 1 + libcxx/include/__random/gamma_distribution.h | 1 + libcxx/include/__random/generate_canonical.h | 1 + .../include/__random/geometric_distribution.h | 1 + .../__random/independent_bits_engine.h | 1 + libcxx/include/__random/is_seed_sequence.h | 1 + libcxx/include/__random/knuth_b.h | 1 + .../__random/linear_congruential_engine.h | 1 + libcxx/include/__random/log2.h | 1 + .../include/__random/lognormal_distribution.h | 1 + .../__random/mersenne_twister_engine.h | 1 + .../__random/negative_binomial_distribution.h | 1 + libcxx/include/__random/normal_distribution.h | 1 + .../piecewise_constant_distribution.h | 1 + .../__random/piecewise_linear_distribution.h | 1 + .../include/__random/poisson_distribution.h | 1 + libcxx/include/__random/random_device.h | 1 + libcxx/include/__random/ranlux.h | 1 + libcxx/include/__random/seed_seq.h | 1 + .../include/__random/shuffle_order_engine.h | 1 + .../include/__random/student_t_distribution.h | 1 + .../__random/subtract_with_carry_engine.h | 1 + .../__random/uniform_int_distribution.h | 1 + .../__random/uniform_random_bit_generator.h | 1 + .../__random/uniform_real_distribution.h | 1 + .../include/__random/weibull_distribution.h | 1 + libcxx/include/__ranges/access.h | 1 + libcxx/include/__ranges/all.h | 1 + libcxx/include/__ranges/common_view.h | 1 + libcxx/include/__ranges/concepts.h | 1 + libcxx/include/__ranges/copyable_box.h | 1 + libcxx/include/__ranges/counted.h | 1 + libcxx/include/__ranges/dangling.h | 1 + libcxx/include/__ranges/data.h | 1 + libcxx/include/__ranges/drop_view.h | 1 + libcxx/include/__ranges/empty.h | 1 + libcxx/include/__ranges/empty_view.h | 1 + .../include/__ranges/enable_borrowed_range.h | 1 + libcxx/include/__ranges/enable_view.h | 1 + libcxx/include/__ranges/iota_view.h | 1 + libcxx/include/__ranges/join_view.h | 1 + .../include/__ranges/non_propagating_cache.h | 1 + libcxx/include/__ranges/owning_view.h | 1 + libcxx/include/__ranges/range_adaptor.h | 1 + libcxx/include/__ranges/rbegin.h | 1 + libcxx/include/__ranges/ref_view.h | 1 + libcxx/include/__ranges/rend.h | 1 + libcxx/include/__ranges/reverse_view.h | 1 + libcxx/include/__ranges/single_view.h | 1 + libcxx/include/__ranges/size.h | 1 + libcxx/include/__ranges/subrange.h | 1 + libcxx/include/__ranges/take_view.h | 1 + libcxx/include/__ranges/transform_view.h | 1 + libcxx/include/__ranges/view_interface.h | 1 + libcxx/include/__ranges/views.h | 1 + libcxx/include/__split_buffer | 2 + libcxx/include/__std_stream | 1 + libcxx/include/__string | 1 + libcxx/include/__thread/poll_with_backoff.h | 1 + .../include/__thread/timed_backoff_policy.h | 1 + libcxx/include/__threading_support | 4 ++ libcxx/include/__tree | 2 + libcxx/include/__tuple | 2 + libcxx/include/__utility/as_const.h | 1 + libcxx/include/__utility/auto_cast.h | 1 + libcxx/include/__utility/cmp.h | 1 + libcxx/include/__utility/declval.h | 1 + libcxx/include/__utility/exchange.h | 1 + libcxx/include/__utility/forward.h | 1 + libcxx/include/__utility/in_place.h | 1 + libcxx/include/__utility/integer_sequence.h | 1 + libcxx/include/__utility/move.h | 1 + libcxx/include/__utility/pair.h | 1 + .../include/__utility/piecewise_construct.h | 1 + libcxx/include/__utility/priority_tag.h | 1 + libcxx/include/__utility/rel_ops.h | 1 + libcxx/include/__utility/swap.h | 1 + libcxx/include/__utility/to_underlying.h | 1 + libcxx/include/__utility/transaction.h | 1 + libcxx/include/__utility/unreachable.h | 1 + libcxx/include/__variant/monostate.h | 1 + .../algorithm/adjacent_find.header.verify.cpp | 21 ++++++ .../algorithm/adjacent_find.module.verify.cpp | 1 + .../algorithm/all_of.header.verify.cpp | 21 ++++++ .../algorithm/all_of.module.verify.cpp | 1 + .../algorithm/any_of.header.verify.cpp | 21 ++++++ .../algorithm/any_of.module.verify.cpp | 1 + .../algorithm/binary_search.header.verify.cpp | 21 ++++++ .../algorithm/binary_search.module.verify.cpp | 1 + .../algorithm/clamp.header.verify.cpp | 21 ++++++ .../algorithm/clamp.module.verify.cpp | 1 + .../algorithm/comp.header.verify.cpp | 21 ++++++ .../algorithm/comp.module.verify.cpp | 1 + .../algorithm/comp_ref_type.header.verify.cpp | 21 ++++++ .../algorithm/comp_ref_type.module.verify.cpp | 1 + .../algorithm/copy.header.verify.cpp | 21 ++++++ .../algorithm/copy.module.verify.cpp | 1 + .../algorithm/copy_backward.header.verify.cpp | 21 ++++++ .../algorithm/copy_backward.module.verify.cpp | 1 + .../algorithm/copy_if.header.verify.cpp | 21 ++++++ .../algorithm/copy_if.module.verify.cpp | 1 + .../algorithm/copy_n.header.verify.cpp | 21 ++++++ .../algorithm/copy_n.module.verify.cpp | 1 + .../algorithm/count.header.verify.cpp | 21 ++++++ .../algorithm/count.module.verify.cpp | 1 + .../algorithm/count_if.header.verify.cpp | 21 ++++++ .../algorithm/count_if.module.verify.cpp | 1 + .../algorithm/equal.header.verify.cpp | 21 ++++++ .../algorithm/equal.module.verify.cpp | 1 + .../algorithm/equal_range.header.verify.cpp | 21 ++++++ .../algorithm/equal_range.module.verify.cpp | 1 + .../algorithm/fill.header.verify.cpp | 21 ++++++ .../algorithm/fill.module.verify.cpp | 1 + .../algorithm/fill_n.header.verify.cpp | 21 ++++++ .../algorithm/fill_n.module.verify.cpp | 1 + .../algorithm/find.header.verify.cpp | 21 ++++++ .../algorithm/find.module.verify.cpp | 1 + .../algorithm/find_end.header.verify.cpp | 21 ++++++ .../algorithm/find_end.module.verify.cpp | 1 + .../algorithm/find_first_of.header.verify.cpp | 21 ++++++ .../algorithm/find_first_of.module.verify.cpp | 1 + .../algorithm/find_if.header.verify.cpp | 21 ++++++ .../algorithm/find_if.module.verify.cpp | 1 + .../algorithm/find_if_not.header.verify.cpp | 21 ++++++ .../algorithm/find_if_not.module.verify.cpp | 1 + .../algorithm/for_each.header.verify.cpp | 21 ++++++ .../algorithm/for_each.module.verify.cpp | 1 + .../algorithm/for_each_n.header.verify.cpp | 21 ++++++ .../algorithm/for_each_n.module.verify.cpp | 1 + .../algorithm/generate.header.verify.cpp | 21 ++++++ .../algorithm/generate.module.verify.cpp | 1 + .../algorithm/generate_n.header.verify.cpp | 21 ++++++ .../algorithm/generate_n.module.verify.cpp | 1 + .../algorithm/half_positive.header.verify.cpp | 21 ++++++ .../algorithm/half_positive.module.verify.cpp | 1 + .../in_found_result.header.verify.cpp | 21 ++++++ .../in_found_result.module.verify.cpp | 1 + .../algorithm/in_fun_result.header.verify.cpp | 21 ++++++ .../algorithm/in_fun_result.module.verify.cpp | 1 + .../in_in_out_result.header.verify.cpp | 21 ++++++ .../in_in_out_result.module.verify.cpp | 1 + .../algorithm/in_in_result.header.verify.cpp | 21 ++++++ .../algorithm/in_in_result.module.verify.cpp | 1 + .../in_out_out_result.header.verify.cpp | 21 ++++++ .../in_out_out_result.module.verify.cpp | 1 + .../algorithm/in_out_result.header.verify.cpp | 21 ++++++ .../algorithm/in_out_result.module.verify.cpp | 1 + .../algorithm/includes.header.verify.cpp | 21 ++++++ .../algorithm/includes.module.verify.cpp | 1 + .../algorithm/inplace_merge.header.verify.cpp | 21 ++++++ .../algorithm/inplace_merge.module.verify.cpp | 1 + .../algorithm/is_heap.header.verify.cpp | 21 ++++++ .../algorithm/is_heap.module.verify.cpp | 1 + .../algorithm/is_heap_until.header.verify.cpp | 21 ++++++ .../algorithm/is_heap_until.module.verify.cpp | 1 + .../is_partitioned.header.verify.cpp | 21 ++++++ .../is_partitioned.module.verify.cpp | 1 + .../is_permutation.header.verify.cpp | 21 ++++++ .../is_permutation.module.verify.cpp | 1 + .../algorithm/is_sorted.header.verify.cpp | 21 ++++++ .../algorithm/is_sorted.module.verify.cpp | 1 + .../is_sorted_until.header.verify.cpp | 21 ++++++ .../is_sorted_until.module.verify.cpp | 1 + .../algorithm/iter_swap.header.verify.cpp | 21 ++++++ .../algorithm/iter_swap.module.verify.cpp | 1 + .../lexicographical_compare.header.verify.cpp | 21 ++++++ .../lexicographical_compare.module.verify.cpp | 1 + .../algorithm/lower_bound.header.verify.cpp | 21 ++++++ .../algorithm/lower_bound.module.verify.cpp | 1 + .../algorithm/make_heap.header.verify.cpp | 21 ++++++ .../algorithm/make_heap.module.verify.cpp | 1 + .../algorithm/max.header.verify.cpp | 21 ++++++ .../algorithm/max.module.verify.cpp | 1 + .../algorithm/max_element.header.verify.cpp | 21 ++++++ .../algorithm/max_element.module.verify.cpp | 1 + .../algorithm/merge.header.verify.cpp | 21 ++++++ .../algorithm/merge.module.verify.cpp | 1 + .../algorithm/min.header.verify.cpp | 21 ++++++ .../algorithm/min.module.verify.cpp | 1 + .../algorithm/min_element.header.verify.cpp | 21 ++++++ .../algorithm/min_element.module.verify.cpp | 1 + .../min_max_result.header.verify.cpp | 21 ++++++ .../min_max_result.module.verify.cpp | 1 + .../algorithm/minmax.header.verify.cpp | 21 ++++++ .../algorithm/minmax.module.verify.cpp | 1 + .../minmax_element.header.verify.cpp | 21 ++++++ .../minmax_element.module.verify.cpp | 1 + .../algorithm/mismatch.header.verify.cpp | 21 ++++++ .../algorithm/mismatch.module.verify.cpp | 1 + .../algorithm/move.header.verify.cpp | 21 ++++++ .../algorithm/move.module.verify.cpp | 1 + .../algorithm/move_backward.header.verify.cpp | 21 ++++++ .../algorithm/move_backward.module.verify.cpp | 1 + .../next_permutation.header.verify.cpp | 21 ++++++ .../next_permutation.module.verify.cpp | 1 + .../algorithm/none_of.header.verify.cpp | 21 ++++++ .../algorithm/none_of.module.verify.cpp | 1 + .../algorithm/nth_element.header.verify.cpp | 21 ++++++ .../algorithm/nth_element.module.verify.cpp | 1 + .../algorithm/partial_sort.header.verify.cpp | 21 ++++++ .../algorithm/partial_sort.module.verify.cpp | 1 + .../partial_sort_copy.header.verify.cpp | 21 ++++++ .../partial_sort_copy.module.verify.cpp | 1 + .../algorithm/partition.header.verify.cpp | 21 ++++++ .../algorithm/partition.module.verify.cpp | 1 + .../partition_copy.header.verify.cpp | 21 ++++++ .../partition_copy.module.verify.cpp | 1 + .../partition_point.header.verify.cpp | 21 ++++++ .../partition_point.module.verify.cpp | 1 + .../algorithm/pop_heap.header.verify.cpp | 21 ++++++ .../algorithm/pop_heap.module.verify.cpp | 1 + .../prev_permutation.header.verify.cpp | 21 ++++++ .../prev_permutation.module.verify.cpp | 1 + .../algorithm/push_heap.header.verify.cpp | 21 ++++++ .../algorithm/push_heap.module.verify.cpp | 1 + .../ranges_min_element.header.verify.cpp | 21 ++++++ .../ranges_min_element.module.verify.cpp | 1 + .../ranges_swap_ranges.header.verify.cpp | 21 ++++++ .../ranges_swap_ranges.module.verify.cpp | 1 + .../algorithm/remove.header.verify.cpp | 21 ++++++ .../algorithm/remove.module.verify.cpp | 1 + .../algorithm/remove_copy.header.verify.cpp | 21 ++++++ .../algorithm/remove_copy.module.verify.cpp | 1 + .../remove_copy_if.header.verify.cpp | 21 ++++++ .../remove_copy_if.module.verify.cpp | 1 + .../algorithm/remove_if.header.verify.cpp | 21 ++++++ .../algorithm/remove_if.module.verify.cpp | 1 + .../algorithm/replace.header.verify.cpp | 21 ++++++ .../algorithm/replace.module.verify.cpp | 1 + .../algorithm/replace_copy.header.verify.cpp | 21 ++++++ .../algorithm/replace_copy.module.verify.cpp | 1 + .../replace_copy_if.header.verify.cpp | 21 ++++++ .../replace_copy_if.module.verify.cpp | 1 + .../algorithm/replace_if.header.verify.cpp | 21 ++++++ .../algorithm/replace_if.module.verify.cpp | 1 + .../algorithm/reverse.header.verify.cpp | 21 ++++++ .../algorithm/reverse.module.verify.cpp | 1 + .../algorithm/reverse_copy.header.verify.cpp | 21 ++++++ .../algorithm/reverse_copy.module.verify.cpp | 1 + .../algorithm/rotate.header.verify.cpp | 21 ++++++ .../algorithm/rotate.module.verify.cpp | 1 + .../algorithm/rotate_copy.header.verify.cpp | 21 ++++++ .../algorithm/rotate_copy.module.verify.cpp | 1 + .../algorithm/sample.header.verify.cpp | 21 ++++++ .../algorithm/sample.module.verify.cpp | 1 + .../algorithm/search.header.verify.cpp | 21 ++++++ .../algorithm/search.module.verify.cpp | 1 + .../algorithm/search_n.header.verify.cpp | 21 ++++++ .../algorithm/search_n.module.verify.cpp | 1 + .../set_difference.header.verify.cpp | 21 ++++++ .../set_difference.module.verify.cpp | 1 + .../set_intersection.header.verify.cpp | 21 ++++++ .../set_intersection.module.verify.cpp | 1 + ...set_symmetric_difference.header.verify.cpp | 21 ++++++ ...set_symmetric_difference.module.verify.cpp | 1 + .../algorithm/set_union.header.verify.cpp | 21 ++++++ .../algorithm/set_union.module.verify.cpp | 1 + .../algorithm/shift_left.header.verify.cpp | 21 ++++++ .../algorithm/shift_left.module.verify.cpp | 1 + .../algorithm/shift_right.header.verify.cpp | 21 ++++++ .../algorithm/shift_right.module.verify.cpp | 1 + .../algorithm/shuffle.header.verify.cpp | 21 ++++++ .../algorithm/shuffle.module.verify.cpp | 1 + .../algorithm/sift_down.header.verify.cpp | 21 ++++++ .../algorithm/sift_down.module.verify.cpp | 1 + .../algorithm/sort.header.verify.cpp | 21 ++++++ .../algorithm/sort.module.verify.cpp | 1 + .../algorithm/sort_heap.header.verify.cpp | 21 ++++++ .../algorithm/sort_heap.module.verify.cpp | 1 + .../stable_partition.header.verify.cpp | 21 ++++++ .../stable_partition.module.verify.cpp | 1 + .../algorithm/stable_sort.header.verify.cpp | 21 ++++++ .../algorithm/stable_sort.module.verify.cpp | 1 + .../algorithm/swap_ranges.header.verify.cpp | 21 ++++++ .../algorithm/swap_ranges.module.verify.cpp | 1 + .../algorithm/transform.header.verify.cpp | 21 ++++++ .../algorithm/transform.module.verify.cpp | 1 + .../algorithm/unique.header.verify.cpp | 21 ++++++ .../algorithm/unique.module.verify.cpp | 1 + .../algorithm/unique_copy.header.verify.cpp | 21 ++++++ .../algorithm/unique_copy.module.verify.cpp | 1 + .../algorithm/unwrap_iter.header.verify.cpp | 21 ++++++ .../algorithm/unwrap_iter.module.verify.cpp | 1 + .../algorithm/upper_bound.header.verify.cpp | 21 ++++++ .../algorithm/upper_bound.module.verify.cpp | 1 + .../availability.module.verify.cpp | 1 + .../bit/bit_cast.header.verify.cpp | 21 ++++++ .../bit/bit_cast.module.verify.cpp | 1 + .../bit/byteswap.header.verify.cpp | 21 ++++++ .../bit/byteswap.module.verify.cpp | 1 + .../bit_reference.header.verify.cpp | 21 ++++++ .../bit_reference.module.verify.cpp | 1 + .../detail.headers/bits.header.verify.cpp | 21 ++++++ .../detail.headers/bits.module.verify.cpp | 1 + .../charconv/chars_format.header.verify.cpp | 21 ++++++ .../charconv/chars_format.module.verify.cpp | 1 + .../from_chars_result.header.verify.cpp | 21 ++++++ .../from_chars_result.module.verify.cpp | 1 + .../to_chars_result.header.verify.cpp | 21 ++++++ .../to_chars_result.module.verify.cpp | 1 + .../chrono/calendar.header.verify.cpp | 21 ++++++ .../chrono/calendar.module.verify.cpp | 1 + .../convert_to_timespec.header.verify.cpp | 21 ++++++ .../convert_to_timespec.module.verify.cpp | 1 + .../chrono/duration.header.verify.cpp | 21 ++++++ .../chrono/duration.module.verify.cpp | 1 + .../chrono/file_clock.header.verify.cpp | 21 ++++++ .../chrono/file_clock.module.verify.cpp | 1 + .../high_resolution_clock.header.verify.cpp | 21 ++++++ .../high_resolution_clock.module.verify.cpp | 1 + .../chrono/steady_clock.header.verify.cpp | 21 ++++++ .../chrono/steady_clock.module.verify.cpp | 1 + .../chrono/system_clock.header.verify.cpp | 21 ++++++ .../chrono/system_clock.module.verify.cpp | 1 + .../chrono/time_point.header.verify.cpp | 21 ++++++ .../chrono/time_point.module.verify.cpp | 1 + ...mmon_comparison_category.header.verify.cpp | 21 ++++++ ...mmon_comparison_category.module.verify.cpp | 1 + ...e_partial_order_fallback.header.verify.cpp | 21 ++++++ ...e_partial_order_fallback.module.verify.cpp | 1 + ...re_strong_order_fallback.header.verify.cpp | 21 ++++++ ...re_strong_order_fallback.module.verify.cpp | 1 + .../compare_three_way.header.verify.cpp | 21 ++++++ .../compare_three_way.module.verify.cpp | 1 + ...compare_three_way_result.header.verify.cpp | 21 ++++++ ...compare_three_way_result.module.verify.cpp | 1 + ...pare_weak_order_fallback.header.verify.cpp | 21 ++++++ ...pare_weak_order_fallback.module.verify.cpp | 1 + .../compare/is_eq.header.verify.cpp | 21 ++++++ .../compare/is_eq.module.verify.cpp | 1 + .../compare/ordering.header.verify.cpp | 21 ++++++ .../compare/ordering.module.verify.cpp | 1 + .../compare/partial_order.header.verify.cpp | 21 ++++++ .../compare/partial_order.module.verify.cpp | 1 + .../compare/strong_order.header.verify.cpp | 21 ++++++ .../compare/strong_order.module.verify.cpp | 1 + .../compare/synth_three_way.header.verify.cpp | 21 ++++++ .../compare/synth_three_way.module.verify.cpp | 1 + .../three_way_comparable.header.verify.cpp | 21 ++++++ .../three_way_comparable.module.verify.cpp | 1 + .../compare/weak_order.header.verify.cpp | 21 ++++++ .../compare/weak_order.module.verify.cpp | 1 + .../concepts/arithmetic.header.verify.cpp | 21 ++++++ .../concepts/arithmetic.module.verify.cpp | 1 + .../concepts/assignable.header.verify.cpp | 21 ++++++ .../concepts/assignable.module.verify.cpp | 1 + .../boolean_testable.header.verify.cpp | 21 ++++++ .../boolean_testable.module.verify.cpp | 1 + .../concepts/class_or_enum.header.verify.cpp | 21 ++++++ .../concepts/class_or_enum.module.verify.cpp | 1 + .../common_reference_with.header.verify.cpp | 21 ++++++ .../common_reference_with.module.verify.cpp | 1 + .../concepts/common_with.header.verify.cpp | 21 ++++++ .../concepts/common_with.module.verify.cpp | 1 + .../concepts/constructible.header.verify.cpp | 21 ++++++ .../concepts/constructible.module.verify.cpp | 1 + .../concepts/convertible_to.header.verify.cpp | 21 ++++++ .../concepts/convertible_to.module.verify.cpp | 1 + .../concepts/copyable.header.verify.cpp | 21 ++++++ .../concepts/copyable.module.verify.cpp | 1 + .../concepts/derived_from.header.verify.cpp | 21 ++++++ .../concepts/derived_from.module.verify.cpp | 1 + .../concepts/destructible.header.verify.cpp | 21 ++++++ .../concepts/destructible.module.verify.cpp | 1 + .../concepts/different_from.header.verify.cpp | 21 ++++++ .../concepts/different_from.module.verify.cpp | 1 + .../equality_comparable.header.verify.cpp | 21 ++++++ .../equality_comparable.module.verify.cpp | 1 + .../concepts/invocable.header.verify.cpp | 21 ++++++ .../concepts/invocable.module.verify.cpp | 1 + .../concepts/movable.header.verify.cpp | 21 ++++++ .../concepts/movable.module.verify.cpp | 1 + .../concepts/predicate.header.verify.cpp | 21 ++++++ .../concepts/predicate.module.verify.cpp | 1 + .../concepts/regular.header.verify.cpp | 21 ++++++ .../concepts/regular.module.verify.cpp | 1 + .../concepts/relation.header.verify.cpp | 21 ++++++ .../concepts/relation.module.verify.cpp | 1 + .../concepts/same_as.header.verify.cpp | 21 ++++++ .../concepts/same_as.module.verify.cpp | 1 + .../concepts/semiregular.header.verify.cpp | 21 ++++++ .../concepts/semiregular.module.verify.cpp | 1 + .../concepts/swappable.header.verify.cpp | 21 ++++++ .../concepts/swappable.module.verify.cpp | 1 + .../totally_ordered.header.verify.cpp | 21 ++++++ .../totally_ordered.module.verify.cpp | 1 + .../coroutine_handle.header.verify.cpp | 21 ++++++ .../coroutine_handle.module.verify.cpp | 1 + .../coroutine_traits.header.verify.cpp | 21 ++++++ .../coroutine_traits.module.verify.cpp | 1 + .../noop_coroutine_handle.header.verify.cpp | 21 ++++++ .../noop_coroutine_handle.module.verify.cpp | 1 + .../trivial_awaitables.header.verify.cpp | 21 ++++++ .../trivial_awaitables.module.verify.cpp | 1 + .../detail.headers/errc.module.verify.cpp | 1 + .../filesystem/copy_options.header.verify.cpp | 21 ++++++ .../filesystem/copy_options.module.verify.cpp | 1 + .../directory_entry.header.verify.cpp | 21 ++++++ .../directory_entry.module.verify.cpp | 1 + .../directory_iterator.header.verify.cpp | 21 ++++++ .../directory_iterator.module.verify.cpp | 1 + .../directory_options.header.verify.cpp | 21 ++++++ .../directory_options.module.verify.cpp | 1 + .../filesystem/file_status.header.verify.cpp | 21 ++++++ .../filesystem/file_status.module.verify.cpp | 1 + .../file_time_type.header.verify.cpp | 21 ++++++ .../file_time_type.module.verify.cpp | 1 + .../filesystem/file_type.header.verify.cpp | 21 ++++++ .../filesystem/file_type.module.verify.cpp | 1 + .../filesystem_error.header.verify.cpp | 21 ++++++ .../filesystem_error.module.verify.cpp | 1 + .../filesystem/operations.header.verify.cpp | 21 ++++++ .../filesystem/operations.module.verify.cpp | 1 + .../filesystem/path.header.verify.cpp | 21 ++++++ .../filesystem/path.module.verify.cpp | 1 + .../path_iterator.header.verify.cpp | 21 ++++++ .../path_iterator.module.verify.cpp | 1 + .../filesystem/perm_options.header.verify.cpp | 21 ++++++ .../filesystem/perm_options.module.verify.cpp | 1 + .../filesystem/perms.header.verify.cpp | 21 ++++++ .../filesystem/perms.module.verify.cpp | 1 + ...rsive_directory_iterator.header.verify.cpp | 21 ++++++ ...rsive_directory_iterator.module.verify.cpp | 1 + .../filesystem/space_info.header.verify.cpp | 21 ++++++ .../filesystem/space_info.module.verify.cpp | 1 + .../filesystem/u8path.header.verify.cpp | 21 ++++++ .../filesystem/u8path.module.verify.cpp | 1 + .../format/format_arg.header.verify.cpp | 21 ++++++ .../format/format_arg.module.verify.cpp | 1 + .../format/format_args.header.verify.cpp | 21 ++++++ .../format/format_args.module.verify.cpp | 1 + .../format/format_context.header.verify.cpp | 21 ++++++ .../format/format_context.module.verify.cpp | 1 + .../format/format_error.header.verify.cpp | 21 ++++++ .../format/format_error.module.verify.cpp | 1 + .../format/format_fwd.header.verify.cpp | 21 ++++++ .../format/format_fwd.module.verify.cpp | 1 + .../format_parse_context.header.verify.cpp | 21 ++++++ .../format_parse_context.module.verify.cpp | 1 + .../format/format_string.header.verify.cpp | 21 ++++++ .../format/format_string.module.verify.cpp | 1 + .../format_to_n_result.header.verify.cpp | 21 ++++++ .../format_to_n_result.module.verify.cpp | 1 + .../format/formatter.header.verify.cpp | 21 ++++++ .../format/formatter.module.verify.cpp | 1 + .../format/formatter_bool.header.verify.cpp | 21 ++++++ .../format/formatter_bool.module.verify.cpp | 1 + .../format/formatter_char.header.verify.cpp | 21 ++++++ .../format/formatter_char.module.verify.cpp | 1 + ...formatter_floating_point.header.verify.cpp | 21 ++++++ ...formatter_floating_point.module.verify.cpp | 1 + .../formatter_integer.header.verify.cpp | 21 ++++++ .../formatter_integer.module.verify.cpp | 1 + .../formatter_integral.header.verify.cpp | 21 ++++++ .../formatter_integral.module.verify.cpp | 1 + .../formatter_pointer.header.verify.cpp | 21 ++++++ .../formatter_pointer.module.verify.cpp | 1 + .../format/formatter_string.header.verify.cpp | 21 ++++++ .../format/formatter_string.module.verify.cpp | 1 + .../parser_std_format_spec.header.verify.cpp | 21 ++++++ .../parser_std_format_spec.module.verify.cpp | 1 + .../binary_function.header.verify.cpp | 21 ++++++ .../binary_function.module.verify.cpp | 1 + .../binary_negate.header.verify.cpp | 21 ++++++ .../binary_negate.module.verify.cpp | 1 + .../functional/bind.header.verify.cpp | 21 ++++++ .../functional/bind.module.verify.cpp | 1 + .../functional/bind_back.header.verify.cpp | 21 ++++++ .../functional/bind_back.module.verify.cpp | 1 + .../functional/bind_front.header.verify.cpp | 21 ++++++ .../functional/bind_front.module.verify.cpp | 1 + .../functional/binder1st.header.verify.cpp | 21 ++++++ .../functional/binder1st.module.verify.cpp | 1 + .../functional/binder2nd.header.verify.cpp | 21 ++++++ .../functional/binder2nd.module.verify.cpp | 1 + .../functional/compose.header.verify.cpp | 21 ++++++ .../functional/compose.module.verify.cpp | 1 + .../default_searcher.header.verify.cpp | 21 ++++++ .../default_searcher.module.verify.cpp | 1 + .../functional/function.header.verify.cpp | 21 ++++++ .../functional/function.module.verify.cpp | 1 + .../functional/hash.header.verify.cpp | 21 ++++++ .../functional/hash.module.verify.cpp | 1 + .../functional/identity.header.verify.cpp | 21 ++++++ .../functional/identity.module.verify.cpp | 1 + .../functional/invoke.header.verify.cpp | 21 ++++++ .../functional/invoke.module.verify.cpp | 1 + .../is_transparent.header.verify.cpp | 21 ++++++ .../is_transparent.module.verify.cpp | 1 + .../functional/mem_fn.header.verify.cpp | 21 ++++++ .../functional/mem_fn.module.verify.cpp | 1 + .../functional/mem_fun_ref.header.verify.cpp | 21 ++++++ .../functional/mem_fun_ref.module.verify.cpp | 1 + .../functional/not_fn.header.verify.cpp | 21 ++++++ .../functional/not_fn.module.verify.cpp | 1 + .../functional/operations.header.verify.cpp | 21 ++++++ .../functional/operations.module.verify.cpp | 1 + .../perfect_forward.header.verify.cpp | 21 ++++++ .../perfect_forward.module.verify.cpp | 1 + ...inter_to_binary_function.header.verify.cpp | 21 ++++++ ...inter_to_binary_function.module.verify.cpp | 1 + ...ointer_to_unary_function.header.verify.cpp | 21 ++++++ ...ointer_to_unary_function.module.verify.cpp | 1 + .../ranges_operations.header.verify.cpp | 21 ++++++ .../ranges_operations.module.verify.cpp | 1 + .../reference_wrapper.header.verify.cpp | 21 ++++++ .../reference_wrapper.module.verify.cpp | 1 + .../unary_function.header.verify.cpp | 21 ++++++ .../unary_function.module.verify.cpp | 1 + .../functional/unary_negate.header.verify.cpp | 21 ++++++ .../functional/unary_negate.module.verify.cpp | 1 + .../functional/unwrap_ref.header.verify.cpp | 21 ++++++ .../functional/unwrap_ref.module.verify.cpp | 1 + .../weak_result_type.header.verify.cpp | 21 ++++++ .../weak_result_type.module.verify.cpp | 1 + .../detail.headers/ios/fpos.header.verify.cpp | 21 ++++++ .../detail.headers/ios/fpos.module.verify.cpp | 1 + .../iterator/access.header.verify.cpp | 21 ++++++ .../iterator/access.module.verify.cpp | 1 + .../iterator/advance.header.verify.cpp | 21 ++++++ .../iterator/advance.module.verify.cpp | 1 + .../back_insert_iterator.header.verify.cpp | 21 ++++++ .../back_insert_iterator.module.verify.cpp | 1 + .../common_iterator.header.verify.cpp | 21 ++++++ .../common_iterator.module.verify.cpp | 1 + .../iterator/concepts.header.verify.cpp | 21 ++++++ .../iterator/concepts.module.verify.cpp | 1 + .../counted_iterator.header.verify.cpp | 21 ++++++ .../counted_iterator.module.verify.cpp | 1 + .../iterator/data.header.verify.cpp | 21 ++++++ .../iterator/data.module.verify.cpp | 1 + .../default_sentinel.header.verify.cpp | 21 ++++++ .../default_sentinel.module.verify.cpp | 1 + .../iterator/distance.header.verify.cpp | 21 ++++++ .../iterator/distance.module.verify.cpp | 1 + .../iterator/empty.header.verify.cpp | 21 ++++++ .../iterator/empty.module.verify.cpp | 1 + .../erase_if_container.header.verify.cpp | 21 ++++++ .../erase_if_container.module.verify.cpp | 1 + .../front_insert_iterator.header.verify.cpp | 21 ++++++ .../front_insert_iterator.module.verify.cpp | 1 + .../incrementable_traits.header.verify.cpp | 21 ++++++ .../incrementable_traits.module.verify.cpp | 1 + .../indirectly_comparable.header.verify.cpp | 21 ++++++ .../indirectly_comparable.module.verify.cpp | 1 + .../insert_iterator.header.verify.cpp | 21 ++++++ .../insert_iterator.module.verify.cpp | 1 + .../istream_iterator.header.verify.cpp | 21 ++++++ .../istream_iterator.module.verify.cpp | 1 + .../istreambuf_iterator.header.verify.cpp | 21 ++++++ .../istreambuf_iterator.module.verify.cpp | 1 + .../iterator/iter_move.header.verify.cpp | 21 ++++++ .../iterator/iter_move.module.verify.cpp | 1 + .../iterator/iter_swap.header.verify.cpp | 21 ++++++ .../iterator/iter_swap.module.verify.cpp | 1 + .../iterator/iterator.header.verify.cpp | 21 ++++++ .../iterator/iterator.module.verify.cpp | 1 + .../iterator_traits.header.verify.cpp | 21 ++++++ .../iterator_traits.module.verify.cpp | 1 + .../iterator/mergeable.header.verify.cpp | 21 ++++++ .../iterator/mergeable.module.verify.cpp | 1 + .../iterator/move_iterator.header.verify.cpp | 21 ++++++ .../iterator/move_iterator.module.verify.cpp | 1 + .../iterator/next.header.verify.cpp | 21 ++++++ .../iterator/next.module.verify.cpp | 1 + .../ostream_iterator.header.verify.cpp | 21 ++++++ .../ostream_iterator.module.verify.cpp | 1 + .../ostreambuf_iterator.header.verify.cpp | 21 ++++++ .../ostreambuf_iterator.module.verify.cpp | 1 + .../iterator/permutable.header.verify.cpp | 21 ++++++ .../iterator/permutable.module.verify.cpp | 1 + .../iterator/prev.header.verify.cpp | 21 ++++++ .../iterator/prev.module.verify.cpp | 1 + .../iterator/projected.header.verify.cpp | 21 ++++++ .../iterator/projected.module.verify.cpp | 1 + .../readable_traits.header.verify.cpp | 21 ++++++ .../readable_traits.module.verify.cpp | 1 + .../iterator/reverse_access.header.verify.cpp | 21 ++++++ .../iterator/reverse_access.module.verify.cpp | 1 + .../reverse_iterator.header.verify.cpp | 21 ++++++ .../reverse_iterator.module.verify.cpp | 1 + .../iterator/size.header.verify.cpp | 21 ++++++ .../iterator/size.module.verify.cpp | 1 + .../iterator/sortable.header.verify.cpp | 21 ++++++ .../iterator/sortable.module.verify.cpp | 1 + .../unreachable_sentinel.header.verify.cpp | 21 ++++++ .../unreachable_sentinel.module.verify.cpp | 1 + .../iterator/wrap_iter.header.verify.cpp | 21 ++++++ .../iterator/wrap_iter.module.verify.cpp | 1 + .../detail.headers/locale.header.verify.cpp | 21 ++++++ .../detail.headers/locale.module.verify.cpp | 1 + .../mbstate_t.h.module.verify.cpp | 1 + .../memory/addressof.header.verify.cpp | 21 ++++++ .../memory/addressof.module.verify.cpp | 1 + .../memory/allocation_guard.header.verify.cpp | 21 ++++++ .../memory/allocation_guard.module.verify.cpp | 1 + .../memory/allocator.header.verify.cpp | 21 ++++++ .../memory/allocator.module.verify.cpp | 1 + .../memory/allocator_arg_t.header.verify.cpp | 21 ++++++ .../memory/allocator_arg_t.module.verify.cpp | 1 + .../memory/allocator_traits.header.verify.cpp | 21 ++++++ .../memory/allocator_traits.module.verify.cpp | 1 + .../memory/auto_ptr.header.verify.cpp | 21 ++++++ .../memory/auto_ptr.module.verify.cpp | 1 + .../memory/compressed_pair.header.verify.cpp | 21 ++++++ .../memory/compressed_pair.module.verify.cpp | 1 + .../memory/concepts.header.verify.cpp | 21 ++++++ .../memory/concepts.module.verify.cpp | 1 + .../memory/construct_at.header.verify.cpp | 21 ++++++ .../memory/construct_at.module.verify.cpp | 1 + .../memory/pointer_traits.header.verify.cpp | 21 ++++++ .../memory/pointer_traits.module.verify.cpp | 1 + .../ranges_construct_at.header.verify.cpp | 21 ++++++ .../ranges_construct_at.module.verify.cpp | 1 + ...uninitialized_algorithms.header.verify.cpp | 21 ++++++ ...uninitialized_algorithms.module.verify.cpp | 1 + .../raw_storage_iterator.header.verify.cpp | 21 ++++++ .../raw_storage_iterator.module.verify.cpp | 1 + .../memory/shared_ptr.header.verify.cpp | 21 ++++++ .../memory/shared_ptr.module.verify.cpp | 1 + .../memory/temporary_buffer.header.verify.cpp | 21 ++++++ .../memory/temporary_buffer.module.verify.cpp | 1 + ...uninitialized_algorithms.header.verify.cpp | 21 ++++++ ...uninitialized_algorithms.module.verify.cpp | 1 + .../memory/unique_ptr.header.verify.cpp | 21 ++++++ .../memory/unique_ptr.module.verify.cpp | 1 + .../memory/uses_allocator.header.verify.cpp | 21 ++++++ .../memory/uses_allocator.module.verify.cpp | 1 + .../memory/voidify.header.verify.cpp | 21 ++++++ .../memory/voidify.module.verify.cpp | 1 + .../mutex_base.header.verify.cpp | 21 ++++++ .../mutex_base.module.verify.cpp | 1 + .../node_handle.header.verify.cpp | 21 ++++++ .../node_handle.module.verify.cpp | 1 + .../numeric/accumulate.header.verify.cpp | 21 ++++++ .../numeric/accumulate.module.verify.cpp | 1 + .../adjacent_difference.header.verify.cpp | 21 ++++++ .../adjacent_difference.module.verify.cpp | 1 + .../numeric/exclusive_scan.header.verify.cpp | 21 ++++++ .../numeric/exclusive_scan.module.verify.cpp | 1 + .../numeric/gcd_lcm.header.verify.cpp | 21 ++++++ .../numeric/gcd_lcm.module.verify.cpp | 1 + .../numeric/inclusive_scan.header.verify.cpp | 21 ++++++ .../numeric/inclusive_scan.module.verify.cpp | 1 + .../numeric/inner_product.header.verify.cpp | 21 ++++++ .../numeric/inner_product.module.verify.cpp | 1 + .../numeric/iota.header.verify.cpp | 21 ++++++ .../numeric/iota.module.verify.cpp | 1 + .../numeric/midpoint.header.verify.cpp | 21 ++++++ .../numeric/midpoint.module.verify.cpp | 1 + .../numeric/partial_sum.header.verify.cpp | 21 ++++++ .../numeric/partial_sum.module.verify.cpp | 1 + .../numeric/reduce.header.verify.cpp | 21 ++++++ .../numeric/reduce.module.verify.cpp | 1 + ...transform_exclusive_scan.header.verify.cpp | 21 ++++++ ...transform_exclusive_scan.module.verify.cpp | 1 + ...transform_inclusive_scan.header.verify.cpp | 21 ++++++ ...transform_inclusive_scan.module.verify.cpp | 1 + .../transform_reduce.header.verify.cpp | 21 ++++++ .../transform_reduce.module.verify.cpp | 1 + .../bernoulli_distribution.header.verify.cpp | 21 ++++++ .../bernoulli_distribution.module.verify.cpp | 1 + .../binomial_distribution.header.verify.cpp | 21 ++++++ .../binomial_distribution.module.verify.cpp | 1 + .../cauchy_distribution.header.verify.cpp | 21 ++++++ .../cauchy_distribution.module.verify.cpp | 1 + ...chi_squared_distribution.header.verify.cpp | 21 ++++++ ...chi_squared_distribution.module.verify.cpp | 1 + .../clamp_to_integral.header.verify.cpp | 21 ++++++ .../clamp_to_integral.module.verify.cpp | 1 + .../default_random_engine.header.verify.cpp | 21 ++++++ .../default_random_engine.module.verify.cpp | 1 + .../discard_block_engine.header.verify.cpp | 21 ++++++ .../discard_block_engine.module.verify.cpp | 1 + .../discrete_distribution.header.verify.cpp | 21 ++++++ .../discrete_distribution.module.verify.cpp | 1 + ...exponential_distribution.header.verify.cpp | 21 ++++++ ...exponential_distribution.module.verify.cpp | 1 + ...treme_value_distribution.header.verify.cpp | 21 ++++++ ...treme_value_distribution.module.verify.cpp | 1 + .../fisher_f_distribution.header.verify.cpp | 21 ++++++ .../fisher_f_distribution.module.verify.cpp | 1 + .../gamma_distribution.header.verify.cpp | 21 ++++++ .../gamma_distribution.module.verify.cpp | 1 + .../generate_canonical.header.verify.cpp | 21 ++++++ .../generate_canonical.module.verify.cpp | 1 + .../geometric_distribution.header.verify.cpp | 21 ++++++ .../geometric_distribution.module.verify.cpp | 1 + .../independent_bits_engine.header.verify.cpp | 21 ++++++ .../independent_bits_engine.module.verify.cpp | 1 + .../random/is_seed_sequence.header.verify.cpp | 21 ++++++ .../random/is_seed_sequence.module.verify.cpp | 1 + .../random/knuth_b.header.verify.cpp | 21 ++++++ .../random/knuth_b.module.verify.cpp | 1 + ...near_congruential_engine.header.verify.cpp | 21 ++++++ ...near_congruential_engine.module.verify.cpp | 1 + .../random/log2.header.verify.cpp | 21 ++++++ .../random/log2.module.verify.cpp | 1 + .../lognormal_distribution.header.verify.cpp | 21 ++++++ .../lognormal_distribution.module.verify.cpp | 1 + .../mersenne_twister_engine.header.verify.cpp | 21 ++++++ .../mersenne_twister_engine.module.verify.cpp | 1 + ...ve_binomial_distribution.header.verify.cpp | 21 ++++++ ...ve_binomial_distribution.module.verify.cpp | 1 + .../normal_distribution.header.verify.cpp | 21 ++++++ .../normal_distribution.module.verify.cpp | 1 + ...se_constant_distribution.header.verify.cpp | 21 ++++++ ...se_constant_distribution.module.verify.cpp | 1 + ...wise_linear_distribution.header.verify.cpp | 21 ++++++ ...wise_linear_distribution.module.verify.cpp | 1 + .../poisson_distribution.header.verify.cpp | 21 ++++++ .../poisson_distribution.module.verify.cpp | 1 + .../random/random_device.header.verify.cpp | 21 ++++++ .../random/random_device.module.verify.cpp | 1 + .../random/ranlux.header.verify.cpp | 21 ++++++ .../random/ranlux.module.verify.cpp | 1 + .../random/seed_seq.header.verify.cpp | 21 ++++++ .../random/seed_seq.module.verify.cpp | 1 + .../shuffle_order_engine.header.verify.cpp | 21 ++++++ .../shuffle_order_engine.module.verify.cpp | 1 + .../student_t_distribution.header.verify.cpp | 21 ++++++ .../student_t_distribution.module.verify.cpp | 1 + ...btract_with_carry_engine.header.verify.cpp | 21 ++++++ ...btract_with_carry_engine.module.verify.cpp | 1 + ...uniform_int_distribution.header.verify.cpp | 21 ++++++ ...uniform_int_distribution.module.verify.cpp | 1 + ...orm_random_bit_generator.header.verify.cpp | 21 ++++++ ...orm_random_bit_generator.module.verify.cpp | 1 + ...niform_real_distribution.header.verify.cpp | 21 ++++++ ...niform_real_distribution.module.verify.cpp | 1 + .../weibull_distribution.header.verify.cpp | 21 ++++++ .../weibull_distribution.module.verify.cpp | 1 + .../ranges/access.header.verify.cpp | 21 ++++++ .../ranges/access.module.verify.cpp | 1 + .../ranges/all.header.verify.cpp | 21 ++++++ .../ranges/all.module.verify.cpp | 1 + .../ranges/common_view.header.verify.cpp | 21 ++++++ .../ranges/common_view.module.verify.cpp | 1 + .../ranges/concepts.header.verify.cpp | 21 ++++++ .../ranges/concepts.module.verify.cpp | 1 + .../ranges/copyable_box.header.verify.cpp | 21 ++++++ .../ranges/copyable_box.module.verify.cpp | 1 + .../ranges/counted.header.verify.cpp | 21 ++++++ .../ranges/counted.module.verify.cpp | 1 + .../ranges/dangling.header.verify.cpp | 21 ++++++ .../ranges/dangling.module.verify.cpp | 1 + .../ranges/data.header.verify.cpp | 21 ++++++ .../ranges/data.module.verify.cpp | 1 + .../ranges/drop_view.header.verify.cpp | 21 ++++++ .../ranges/drop_view.module.verify.cpp | 1 + .../ranges/empty.header.verify.cpp | 21 ++++++ .../ranges/empty.module.verify.cpp | 1 + .../ranges/empty_view.header.verify.cpp | 21 ++++++ .../ranges/empty_view.module.verify.cpp | 1 + .../enable_borrowed_range.header.verify.cpp | 21 ++++++ .../enable_borrowed_range.module.verify.cpp | 1 + .../ranges/enable_view.header.verify.cpp | 21 ++++++ .../ranges/enable_view.module.verify.cpp | 1 + .../ranges/iota_view.header.verify.cpp | 21 ++++++ .../ranges/iota_view.module.verify.cpp | 1 + .../ranges/join_view.header.verify.cpp | 21 ++++++ .../ranges/join_view.module.verify.cpp | 1 + .../non_propagating_cache.header.verify.cpp | 21 ++++++ .../non_propagating_cache.module.verify.cpp | 1 + .../ranges/owning_view.header.verify.cpp | 21 ++++++ .../ranges/owning_view.module.verify.cpp | 1 + .../ranges/range_adaptor.header.verify.cpp | 21 ++++++ .../ranges/range_adaptor.module.verify.cpp | 1 + .../ranges/rbegin.header.verify.cpp | 21 ++++++ .../ranges/rbegin.module.verify.cpp | 1 + .../ranges/ref_view.header.verify.cpp | 21 ++++++ .../ranges/ref_view.module.verify.cpp | 1 + .../ranges/rend.header.verify.cpp | 21 ++++++ .../ranges/rend.module.verify.cpp | 1 + .../ranges/reverse_view.header.verify.cpp | 21 ++++++ .../ranges/reverse_view.module.verify.cpp | 1 + .../ranges/single_view.header.verify.cpp | 21 ++++++ .../ranges/single_view.module.verify.cpp | 1 + .../ranges/size.header.verify.cpp | 21 ++++++ .../ranges/size.module.verify.cpp | 1 + .../ranges/subrange.header.verify.cpp | 21 ++++++ .../ranges/subrange.module.verify.cpp | 1 + .../ranges/take_view.header.verify.cpp | 21 ++++++ .../ranges/take_view.module.verify.cpp | 1 + .../ranges/transform_view.header.verify.cpp | 21 ++++++ .../ranges/transform_view.module.verify.cpp | 1 + .../ranges/view_interface.header.verify.cpp | 21 ++++++ .../ranges/view_interface.module.verify.cpp | 1 + .../ranges/views.header.verify.cpp | 21 ++++++ .../ranges/views.module.verify.cpp | 1 + .../split_buffer.header.verify.cpp | 21 ++++++ .../split_buffer.module.verify.cpp | 1 + .../std_stream.header.verify.cpp | 21 ++++++ .../std_stream.module.verify.cpp | 1 + .../detail.headers/string.header.verify.cpp | 21 ++++++ .../detail.headers/string.module.verify.cpp | 1 + .../poll_with_backoff.header.verify.cpp | 21 ++++++ .../poll_with_backoff.module.verify.cpp | 1 + .../timed_backoff_policy.header.verify.cpp | 21 ++++++ .../timed_backoff_policy.module.verify.cpp | 1 + .../detail.headers/tuple.header.verify.cpp | 21 ++++++ .../detail.headers/tuple.module.verify.cpp | 1 + .../utility/as_const.header.verify.cpp | 21 ++++++ .../utility/as_const.module.verify.cpp | 1 + .../utility/auto_cast.header.verify.cpp | 21 ++++++ .../utility/auto_cast.module.verify.cpp | 1 + .../utility/cmp.header.verify.cpp | 21 ++++++ .../utility/cmp.module.verify.cpp | 1 + .../utility/declval.header.verify.cpp | 21 ++++++ .../utility/declval.module.verify.cpp | 1 + .../utility/exchange.header.verify.cpp | 21 ++++++ .../utility/exchange.module.verify.cpp | 1 + .../utility/forward.header.verify.cpp | 21 ++++++ .../utility/forward.module.verify.cpp | 1 + .../utility/in_place.header.verify.cpp | 21 ++++++ .../utility/in_place.module.verify.cpp | 1 + .../integer_sequence.header.verify.cpp | 21 ++++++ .../integer_sequence.module.verify.cpp | 1 + .../utility/move.header.verify.cpp | 21 ++++++ .../utility/move.module.verify.cpp | 1 + .../utility/pair.header.verify.cpp | 21 ++++++ .../utility/pair.module.verify.cpp | 1 + .../piecewise_construct.header.verify.cpp | 21 ++++++ .../piecewise_construct.module.verify.cpp | 1 + .../utility/priority_tag.header.verify.cpp | 21 ++++++ .../utility/priority_tag.module.verify.cpp | 1 + .../utility/rel_ops.header.verify.cpp | 21 ++++++ .../utility/rel_ops.module.verify.cpp | 1 + .../utility/swap.header.verify.cpp | 21 ++++++ .../utility/swap.module.verify.cpp | 1 + .../utility/to_underlying.header.verify.cpp | 21 ++++++ .../utility/to_underlying.module.verify.cpp | 1 + .../utility/transaction.header.verify.cpp | 21 ++++++ .../utility/transaction.module.verify.cpp | 1 + .../utility/unreachable.header.verify.cpp | 21 ++++++ .../utility/unreachable.module.verify.cpp | 1 + .../variant/monostate.header.verify.cpp | 21 ++++++ .../variant/monostate.module.verify.cpp | 1 + libcxx/utils/generate_private_header_tests.py | 71 +++++++++++++++++-- libcxxabi/include/threading_support.h | 14 ++++ libcxxabi/src/cxa_exception_storage.cpp | 2 +- libcxxabi/src/cxa_guard_impl.h | 2 +- libcxxabi/src/cxa_thread_atexit.cpp | 2 +- libcxxabi/src/fallback_malloc.cpp | 2 +- .../test/test_exception_storage.pass.cpp | 2 +- libcxxabi/test/test_fallback_malloc.pass.cpp | 2 +- .../gn/secondary/libcxxabi/include/BUILD.gn | 1 + 1147 files changed, 8785 insertions(+), 13 deletions(-) create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/bits.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/function.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/locale.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/node_handle.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/log2.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/std_stream.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/string.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/tuple.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/move.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.header.verify.cpp create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.header.verify.cpp create mode 100644 libcxxabi/include/threading_support.h diff --git a/libcxx/cmake/Modules/HandleLibCXXABI.cmake b/libcxx/cmake/Modules/HandleLibCXXABI.cmake index d69405ddeeac..5b92ebb765a8 100644 --- a/libcxx/cmake/Modules/HandleLibCXXABI.cmake +++ b/libcxx/cmake/Modules/HandleLibCXXABI.cmake @@ -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") diff --git a/libcxx/include/__algorithm/adjacent_find.h b/libcxx/include/__algorithm/adjacent_find.h index 83d8c260f27a..e892ff46218d 100644 --- a/libcxx/include/__algorithm/adjacent_find.h +++ b/libcxx/include/__algorithm/adjacent_find.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/all_of.h b/libcxx/include/__algorithm/all_of.h index 3af32a577504..7b4a52cb2287 100644 --- a/libcxx/include/__algorithm/all_of.h +++ b/libcxx/include/__algorithm/all_of.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/any_of.h b/libcxx/include/__algorithm/any_of.h index 6fe6a0b6b3c4..193f9bd121e0 100644 --- a/libcxx/include/__algorithm/any_of.h +++ b/libcxx/include/__algorithm/any_of.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/binary_search.h b/libcxx/include/__algorithm/binary_search.h index 15a17e1cde99..60f91f262710 100644 --- a/libcxx/include/__algorithm/binary_search.h +++ b/libcxx/include/__algorithm/binary_search.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/clamp.h b/libcxx/include/__algorithm/clamp.h index b3762b85a0bc..79eab5388e1b 100644 --- a/libcxx/include/__algorithm/clamp.h +++ b/libcxx/include/__algorithm/clamp.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/comp.h b/libcxx/include/__algorithm/comp.h index 62c06ae57f23..beb2b6802b38 100644 --- a/libcxx/include/__algorithm/comp.h +++ b/libcxx/include/__algorithm/comp.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/comp_ref_type.h b/libcxx/include/__algorithm/comp_ref_type.h index ed0ed5904a44..70993d19cefd 100644 --- a/libcxx/include/__algorithm/comp_ref_type.h +++ b/libcxx/include/__algorithm/comp_ref_type.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/copy.h b/libcxx/include/__algorithm/copy.h index b4045cd06a2b..7c0ccb78da88 100644 --- a/libcxx/include/__algorithm/copy.h +++ b/libcxx/include/__algorithm/copy.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/copy_backward.h b/libcxx/include/__algorithm/copy_backward.h index 9754f0c95b01..cd216207928e 100644 --- a/libcxx/include/__algorithm/copy_backward.h +++ b/libcxx/include/__algorithm/copy_backward.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/copy_if.h b/libcxx/include/__algorithm/copy_if.h index 9c3cd29e2413..8960ce28cc47 100644 --- a/libcxx/include/__algorithm/copy_if.h +++ b/libcxx/include/__algorithm/copy_if.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/copy_n.h b/libcxx/include/__algorithm/copy_n.h index 8b915af63c0d..93bcea60f203 100644 --- a/libcxx/include/__algorithm/copy_n.h +++ b/libcxx/include/__algorithm/copy_n.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/count.h b/libcxx/include/__algorithm/count.h index e18128cae8a8..e29a84b97ee4 100644 --- a/libcxx/include/__algorithm/count.h +++ b/libcxx/include/__algorithm/count.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/count_if.h b/libcxx/include/__algorithm/count_if.h index 1ec2d83394e1..b6432e9c2551 100644 --- a/libcxx/include/__algorithm/count_if.h +++ b/libcxx/include/__algorithm/count_if.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/equal.h b/libcxx/include/__algorithm/equal.h index ca1bc6bc5665..bfd3bf15f00c 100644 --- a/libcxx/include/__algorithm/equal.h +++ b/libcxx/include/__algorithm/equal.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/equal_range.h b/libcxx/include/__algorithm/equal_range.h index 37a2c299f0b9..f4654a08485b 100644 --- a/libcxx/include/__algorithm/equal_range.h +++ b/libcxx/include/__algorithm/equal_range.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/fill.h b/libcxx/include/__algorithm/fill.h index be5b4740a52a..ecbdc502329f 100644 --- a/libcxx/include/__algorithm/fill.h +++ b/libcxx/include/__algorithm/fill.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/fill_n.h b/libcxx/include/__algorithm/fill_n.h index 590c8f38f3fd..3a0aca7a365f 100644 --- a/libcxx/include/__algorithm/fill_n.h +++ b/libcxx/include/__algorithm/fill_n.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/find.h b/libcxx/include/__algorithm/find.h index 641b85e2f645..b9ed3c8295ab 100644 --- a/libcxx/include/__algorithm/find.h +++ b/libcxx/include/__algorithm/find.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/find_end.h b/libcxx/include/__algorithm/find_end.h index 0220c0939711..294f09ed46ff 100644 --- a/libcxx/include/__algorithm/find_end.h +++ b/libcxx/include/__algorithm/find_end.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/find_first_of.h b/libcxx/include/__algorithm/find_first_of.h index b968329fc318..1d3f0e9606c1 100644 --- a/libcxx/include/__algorithm/find_first_of.h +++ b/libcxx/include/__algorithm/find_first_of.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/find_if.h b/libcxx/include/__algorithm/find_if.h index aa98171a1f61..8fc59b5a322e 100644 --- a/libcxx/include/__algorithm/find_if.h +++ b/libcxx/include/__algorithm/find_if.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/find_if_not.h b/libcxx/include/__algorithm/find_if_not.h index 61ddab0b9805..58fc6c3a9c9d 100644 --- a/libcxx/include/__algorithm/find_if_not.h +++ b/libcxx/include/__algorithm/find_if_not.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/for_each.h b/libcxx/include/__algorithm/for_each.h index bfbd37c3a3a4..4d869eaf9c93 100644 --- a/libcxx/include/__algorithm/for_each.h +++ b/libcxx/include/__algorithm/for_each.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/for_each_n.h b/libcxx/include/__algorithm/for_each_n.h index 2552b40c2781..75245c39b757 100644 --- a/libcxx/include/__algorithm/for_each_n.h +++ b/libcxx/include/__algorithm/for_each_n.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/generate.h b/libcxx/include/__algorithm/generate.h index dacbd8c68195..0b49f36dc8da 100644 --- a/libcxx/include/__algorithm/generate.h +++ b/libcxx/include/__algorithm/generate.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/generate_n.h b/libcxx/include/__algorithm/generate_n.h index 2650e9e5d8b7..0184c1f490fd 100644 --- a/libcxx/include/__algorithm/generate_n.h +++ b/libcxx/include/__algorithm/generate_n.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/half_positive.h b/libcxx/include/__algorithm/half_positive.h index 7666ef1449c6..a3d7e18959b6 100644 --- a/libcxx/include/__algorithm/half_positive.h +++ b/libcxx/include/__algorithm/half_positive.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/in_found_result.h b/libcxx/include/__algorithm/in_found_result.h index 08ebf2fbcc1a..9cbcd319babc 100644 --- a/libcxx/include/__algorithm/in_found_result.h +++ b/libcxx/include/__algorithm/in_found_result.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #if !defined(_LIBCPP_HAS_NO_CONCEPTS) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES) diff --git a/libcxx/include/__algorithm/in_fun_result.h b/libcxx/include/__algorithm/in_fun_result.h index d5186e11b7ea..d971bc3000c3 100644 --- a/libcxx/include/__algorithm/in_fun_result.h +++ b/libcxx/include/__algorithm/in_fun_result.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/in_in_out_result.h b/libcxx/include/__algorithm/in_in_out_result.h index f7cb698472fb..5b1722607461 100644 --- a/libcxx/include/__algorithm/in_in_out_result.h +++ b/libcxx/include/__algorithm/in_in_out_result.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/in_in_result.h b/libcxx/include/__algorithm/in_in_result.h index 159092189a53..0de12db28b73 100644 --- a/libcxx/include/__algorithm/in_in_result.h +++ b/libcxx/include/__algorithm/in_in_result.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/in_out_out_result.h b/libcxx/include/__algorithm/in_out_out_result.h index 9788fbfa2e74..d429d4fea443 100644 --- a/libcxx/include/__algorithm/in_out_out_result.h +++ b/libcxx/include/__algorithm/in_out_out_result.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/in_out_result.h b/libcxx/include/__algorithm/in_out_result.h index fd394a36211b..6edd15dfe789 100644 --- a/libcxx/include/__algorithm/in_out_result.h +++ b/libcxx/include/__algorithm/in_out_result.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/includes.h b/libcxx/include/__algorithm/includes.h index 4c87e8d22116..ec7d83119a9f 100644 --- a/libcxx/include/__algorithm/includes.h +++ b/libcxx/include/__algorithm/includes.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/inplace_merge.h b/libcxx/include/__algorithm/inplace_merge.h index 90ca152c5b3a..d22c26dde00f 100644 --- a/libcxx/include/__algorithm/inplace_merge.h +++ b/libcxx/include/__algorithm/inplace_merge.h @@ -23,6 +23,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__algorithm/is_heap.h b/libcxx/include/__algorithm/is_heap.h index fe44e634f6dd..cf57ef1b3797 100644 --- a/libcxx/include/__algorithm/is_heap.h +++ b/libcxx/include/__algorithm/is_heap.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/is_heap_until.h b/libcxx/include/__algorithm/is_heap_until.h index 39f313eb0d3f..f39cf9dcc846 100644 --- a/libcxx/include/__algorithm/is_heap_until.h +++ b/libcxx/include/__algorithm/is_heap_until.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/is_partitioned.h b/libcxx/include/__algorithm/is_partitioned.h index b4f421cfc053..849fdabe1481 100644 --- a/libcxx/include/__algorithm/is_partitioned.h +++ b/libcxx/include/__algorithm/is_partitioned.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/is_permutation.h b/libcxx/include/__algorithm/is_permutation.h index cdd742048412..2a58dcfb21eb 100644 --- a/libcxx/include/__algorithm/is_permutation.h +++ b/libcxx/include/__algorithm/is_permutation.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/is_sorted.h b/libcxx/include/__algorithm/is_sorted.h index 56de95bb31b7..b4bc21b54eaa 100644 --- a/libcxx/include/__algorithm/is_sorted.h +++ b/libcxx/include/__algorithm/is_sorted.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/is_sorted_until.h b/libcxx/include/__algorithm/is_sorted_until.h index 338d28508c17..c9200737b524 100644 --- a/libcxx/include/__algorithm/is_sorted_until.h +++ b/libcxx/include/__algorithm/is_sorted_until.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/iter_swap.h b/libcxx/include/__algorithm/iter_swap.h index 038859e1361d..89633252630e 100644 --- a/libcxx/include/__algorithm/iter_swap.h +++ b/libcxx/include/__algorithm/iter_swap.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/lexicographical_compare.h b/libcxx/include/__algorithm/lexicographical_compare.h index 30ddf2408120..26ae99da7bbb 100644 --- a/libcxx/include/__algorithm/lexicographical_compare.h +++ b/libcxx/include/__algorithm/lexicographical_compare.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/lower_bound.h b/libcxx/include/__algorithm/lower_bound.h index 26b64ec12d30..6bac873693bb 100644 --- a/libcxx/include/__algorithm/lower_bound.h +++ b/libcxx/include/__algorithm/lower_bound.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/make_heap.h b/libcxx/include/__algorithm/make_heap.h index acac0aabf1e4..7e1b9a2a5df7 100644 --- a/libcxx/include/__algorithm/make_heap.h +++ b/libcxx/include/__algorithm/make_heap.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/max.h b/libcxx/include/__algorithm/max.h index 345b235a2193..f41a29ce4f4a 100644 --- a/libcxx/include/__algorithm/max.h +++ b/libcxx/include/__algorithm/max.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__algorithm/max_element.h b/libcxx/include/__algorithm/max_element.h index 795ec8e1ddc1..ce1dfae37448 100644 --- a/libcxx/include/__algorithm/max_element.h +++ b/libcxx/include/__algorithm/max_element.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/merge.h b/libcxx/include/__algorithm/merge.h index 48360ed5b445..82855fac992c 100644 --- a/libcxx/include/__algorithm/merge.h +++ b/libcxx/include/__algorithm/merge.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/min.h b/libcxx/include/__algorithm/min.h index 3d8c73d78f11..7a092fe97a1b 100644 --- a/libcxx/include/__algorithm/min.h +++ b/libcxx/include/__algorithm/min.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__algorithm/min_element.h b/libcxx/include/__algorithm/min_element.h index 129833d42bda..b8da52b236f8 100644 --- a/libcxx/include/__algorithm/min_element.h +++ b/libcxx/include/__algorithm/min_element.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/min_max_result.h b/libcxx/include/__algorithm/min_max_result.h index 1d56a741f5bc..9d0226af6332 100644 --- a/libcxx/include/__algorithm/min_max_result.h +++ b/libcxx/include/__algorithm/min_max_result.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__algorithm/minmax.h b/libcxx/include/__algorithm/minmax.h index 30a119491a36..fddfcc64f698 100644 --- a/libcxx/include/__algorithm/minmax.h +++ b/libcxx/include/__algorithm/minmax.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/minmax_element.h b/libcxx/include/__algorithm/minmax_element.h index 80afbdf87abe..38e280d97dbf 100644 --- a/libcxx/include/__algorithm/minmax_element.h +++ b/libcxx/include/__algorithm/minmax_element.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/mismatch.h b/libcxx/include/__algorithm/mismatch.h index f2011faf2f9a..d919e142cb0f 100644 --- a/libcxx/include/__algorithm/mismatch.h +++ b/libcxx/include/__algorithm/mismatch.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/move.h b/libcxx/include/__algorithm/move.h index 72bf3d76ea5b..77692255e213 100644 --- a/libcxx/include/__algorithm/move.h +++ b/libcxx/include/__algorithm/move.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/move_backward.h b/libcxx/include/__algorithm/move_backward.h index a56f6b826ce3..38d361d15a47 100644 --- a/libcxx/include/__algorithm/move_backward.h +++ b/libcxx/include/__algorithm/move_backward.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/next_permutation.h b/libcxx/include/__algorithm/next_permutation.h index 05e56f4a17ff..1ea0b0db68f6 100644 --- a/libcxx/include/__algorithm/next_permutation.h +++ b/libcxx/include/__algorithm/next_permutation.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/none_of.h b/libcxx/include/__algorithm/none_of.h index b34b1e00ddb8..d9dbec0cefcd 100644 --- a/libcxx/include/__algorithm/none_of.h +++ b/libcxx/include/__algorithm/none_of.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/nth_element.h b/libcxx/include/__algorithm/nth_element.h index 0f9f66d3ca66..fb754fbd68d9 100644 --- a/libcxx/include/__algorithm/nth_element.h +++ b/libcxx/include/__algorithm/nth_element.h @@ -22,6 +22,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/partial_sort.h b/libcxx/include/__algorithm/partial_sort.h index 8adf5b2f4f45..9714e4ff45dd 100644 --- a/libcxx/include/__algorithm/partial_sort.h +++ b/libcxx/include/__algorithm/partial_sort.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/partial_sort_copy.h b/libcxx/include/__algorithm/partial_sort_copy.h index 7ed1e538e9b8..5a11963d675f 100644 --- a/libcxx/include/__algorithm/partial_sort_copy.h +++ b/libcxx/include/__algorithm/partial_sort_copy.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/partition.h b/libcxx/include/__algorithm/partition.h index 73d94831ed87..d2ed4b419d86 100644 --- a/libcxx/include/__algorithm/partition.h +++ b/libcxx/include/__algorithm/partition.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/partition_copy.h b/libcxx/include/__algorithm/partition_copy.h index cacde0bfd47b..a53916eedcbf 100644 --- a/libcxx/include/__algorithm/partition_copy.h +++ b/libcxx/include/__algorithm/partition_copy.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/partition_point.h b/libcxx/include/__algorithm/partition_point.h index c2fa841edc6d..24fd5d88ba2b 100644 --- a/libcxx/include/__algorithm/partition_point.h +++ b/libcxx/include/__algorithm/partition_point.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/pop_heap.h b/libcxx/include/__algorithm/pop_heap.h index 2a69f6ee47f0..6680369477a4 100644 --- a/libcxx/include/__algorithm/pop_heap.h +++ b/libcxx/include/__algorithm/pop_heap.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/prev_permutation.h b/libcxx/include/__algorithm/prev_permutation.h index 9dbc1dad0124..2f127eab4583 100644 --- a/libcxx/include/__algorithm/prev_permutation.h +++ b/libcxx/include/__algorithm/prev_permutation.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/push_heap.h b/libcxx/include/__algorithm/push_heap.h index 66973e082f14..8ff6df4784d9 100644 --- a/libcxx/include/__algorithm/push_heap.h +++ b/libcxx/include/__algorithm/push_heap.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/ranges_min_element.h b/libcxx/include/__algorithm/ranges_min_element.h index 82aaeea1c846..218cfce1f196 100644 --- a/libcxx/include/__algorithm/ranges_min_element.h +++ b/libcxx/include/__algorithm/ranges_min_element.h @@ -22,6 +22,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #if !defined(_LIBCPP_HAS_NO_CONCEPTS) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES) diff --git a/libcxx/include/__algorithm/ranges_swap_ranges.h b/libcxx/include/__algorithm/ranges_swap_ranges.h index 59a875ae3bb2..b05bff2e3dc6 100644 --- a/libcxx/include/__algorithm/ranges_swap_ranges.h +++ b/libcxx/include/__algorithm/ranges_swap_ranges.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_HAS_NO_CONCEPTS diff --git a/libcxx/include/__algorithm/remove.h b/libcxx/include/__algorithm/remove.h index c00f96f78a63..88bf9b43b7db 100644 --- a/libcxx/include/__algorithm/remove.h +++ b/libcxx/include/__algorithm/remove.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/remove_copy.h b/libcxx/include/__algorithm/remove_copy.h index a29a385af9ac..411723f2d098 100644 --- a/libcxx/include/__algorithm/remove_copy.h +++ b/libcxx/include/__algorithm/remove_copy.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/remove_copy_if.h b/libcxx/include/__algorithm/remove_copy_if.h index 36ddba4883ab..0dbe6fd5aada 100644 --- a/libcxx/include/__algorithm/remove_copy_if.h +++ b/libcxx/include/__algorithm/remove_copy_if.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/remove_if.h b/libcxx/include/__algorithm/remove_if.h index 0ae131498d22..59746434c1bc 100644 --- a/libcxx/include/__algorithm/remove_if.h +++ b/libcxx/include/__algorithm/remove_if.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/replace.h b/libcxx/include/__algorithm/replace.h index d0ae8f65d4a2..345440305bd4 100644 --- a/libcxx/include/__algorithm/replace.h +++ b/libcxx/include/__algorithm/replace.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/replace_copy.h b/libcxx/include/__algorithm/replace_copy.h index 7c8a5a0b93cb..f260c819382e 100644 --- a/libcxx/include/__algorithm/replace_copy.h +++ b/libcxx/include/__algorithm/replace_copy.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/replace_copy_if.h b/libcxx/include/__algorithm/replace_copy_if.h index 9d8a68fdc0f3..2dc6f6bba504 100644 --- a/libcxx/include/__algorithm/replace_copy_if.h +++ b/libcxx/include/__algorithm/replace_copy_if.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/replace_if.h b/libcxx/include/__algorithm/replace_if.h index 37c719a34c84..c5a06f814075 100644 --- a/libcxx/include/__algorithm/replace_if.h +++ b/libcxx/include/__algorithm/replace_if.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/reverse.h b/libcxx/include/__algorithm/reverse.h index 0202cd740833..1bde1b0dc791 100644 --- a/libcxx/include/__algorithm/reverse.h +++ b/libcxx/include/__algorithm/reverse.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/reverse_copy.h b/libcxx/include/__algorithm/reverse_copy.h index 158390707803..9db7379545a3 100644 --- a/libcxx/include/__algorithm/reverse_copy.h +++ b/libcxx/include/__algorithm/reverse_copy.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/rotate.h b/libcxx/include/__algorithm/rotate.h index 344c2f8cc9ff..61e5cf1db081 100644 --- a/libcxx/include/__algorithm/rotate.h +++ b/libcxx/include/__algorithm/rotate.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/rotate_copy.h b/libcxx/include/__algorithm/rotate_copy.h index ab569ef7c6be..7dc29dcda589 100644 --- a/libcxx/include/__algorithm/rotate_copy.h +++ b/libcxx/include/__algorithm/rotate_copy.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/sample.h b/libcxx/include/__algorithm/sample.h index 523496108217..e8b9ebfbb6be 100644 --- a/libcxx/include/__algorithm/sample.h +++ b/libcxx/include/__algorithm/sample.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__algorithm/search.h b/libcxx/include/__algorithm/search.h index d89ec2b1c5bc..6d1d77f8da67 100644 --- a/libcxx/include/__algorithm/search.h +++ b/libcxx/include/__algorithm/search.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/search_n.h b/libcxx/include/__algorithm/search_n.h index 4c083de65ee2..5e563b580184 100644 --- a/libcxx/include/__algorithm/search_n.h +++ b/libcxx/include/__algorithm/search_n.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/set_difference.h b/libcxx/include/__algorithm/set_difference.h index 5e2dca24e446..23eae01a9dee 100644 --- a/libcxx/include/__algorithm/set_difference.h +++ b/libcxx/include/__algorithm/set_difference.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/set_intersection.h b/libcxx/include/__algorithm/set_intersection.h index c4163fcd4c3c..563ee66e78d6 100644 --- a/libcxx/include/__algorithm/set_intersection.h +++ b/libcxx/include/__algorithm/set_intersection.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/set_symmetric_difference.h b/libcxx/include/__algorithm/set_symmetric_difference.h index 2dbfb35d7be6..1e0d3257a236 100644 --- a/libcxx/include/__algorithm/set_symmetric_difference.h +++ b/libcxx/include/__algorithm/set_symmetric_difference.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/set_union.h b/libcxx/include/__algorithm/set_union.h index 0ec6b09380ed..78ee9e27fc74 100644 --- a/libcxx/include/__algorithm/set_union.h +++ b/libcxx/include/__algorithm/set_union.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/shift_left.h b/libcxx/include/__algorithm/shift_left.h index 33f06d57e23a..51710094a7a3 100644 --- a/libcxx/include/__algorithm/shift_left.h +++ b/libcxx/include/__algorithm/shift_left.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/shift_right.h b/libcxx/include/__algorithm/shift_right.h index 14bc761598b2..65d52d3d5395 100644 --- a/libcxx/include/__algorithm/shift_right.h +++ b/libcxx/include/__algorithm/shift_right.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/shuffle.h b/libcxx/include/__algorithm/shuffle.h index 647aa3f06718..123a6a7b62e0 100644 --- a/libcxx/include/__algorithm/shuffle.h +++ b/libcxx/include/__algorithm/shuffle.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__algorithm/sift_down.h b/libcxx/include/__algorithm/sift_down.h index b636da78b0cc..b61715344608 100644 --- a/libcxx/include/__algorithm/sift_down.h +++ b/libcxx/include/__algorithm/sift_down.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/sort.h b/libcxx/include/__algorithm/sort.h index 27ce647c8129..315945273c3a 100644 --- a/libcxx/include/__algorithm/sort.h +++ b/libcxx/include/__algorithm/sort.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/sort_heap.h b/libcxx/include/__algorithm/sort_heap.h index 3a63d744fc1c..9ab129ad2dd5 100644 --- a/libcxx/include/__algorithm/sort_heap.h +++ b/libcxx/include/__algorithm/sort_heap.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/stable_partition.h b/libcxx/include/__algorithm/stable_partition.h index 1233cc157fb5..9e13234bd698 100644 --- a/libcxx/include/__algorithm/stable_partition.h +++ b/libcxx/include/__algorithm/stable_partition.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/stable_sort.h b/libcxx/include/__algorithm/stable_sort.h index 33df6e8ba75f..865806959084 100644 --- a/libcxx/include/__algorithm/stable_sort.h +++ b/libcxx/include/__algorithm/stable_sort.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/swap_ranges.h b/libcxx/include/__algorithm/swap_ranges.h index 0422265bb4be..4d7844ddd18a 100644 --- a/libcxx/include/__algorithm/swap_ranges.h +++ b/libcxx/include/__algorithm/swap_ranges.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/transform.h b/libcxx/include/__algorithm/transform.h index f9db806f5b94..2983b7176352 100644 --- a/libcxx/include/__algorithm/transform.h +++ b/libcxx/include/__algorithm/transform.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/unique.h b/libcxx/include/__algorithm/unique.h index 264d727d93c8..cb80ee3765fa 100644 --- a/libcxx/include/__algorithm/unique.h +++ b/libcxx/include/__algorithm/unique.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/unique_copy.h b/libcxx/include/__algorithm/unique_copy.h index f58517749f51..4cb861dc8374 100644 --- a/libcxx/include/__algorithm/unique_copy.h +++ b/libcxx/include/__algorithm/unique_copy.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/unwrap_iter.h b/libcxx/include/__algorithm/unwrap_iter.h index e738cb26fcd8..bbadd53aa939 100644 --- a/libcxx/include/__algorithm/unwrap_iter.h +++ b/libcxx/include/__algorithm/unwrap_iter.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__algorithm/upper_bound.h b/libcxx/include/__algorithm/upper_bound.h index cfa021e14247..a4963cf9ecb6 100644 --- a/libcxx/include/__algorithm/upper_bound.h +++ b/libcxx/include/__algorithm/upper_bound.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__bit/bit_cast.h b/libcxx/include/__bit/bit_cast.h index fbb70b3b46f6..589594b06fe2 100644 --- a/libcxx/include/__bit/bit_cast.h +++ b/libcxx/include/__bit/bit_cast.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__bit/byteswap.h b/libcxx/include/__bit/byteswap.h index 970074ed98ce..6bb1980b53ab 100644 --- a/libcxx/include/__bit/byteswap.h +++ b/libcxx/include/__bit/byteswap.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference index 423acee4aa7c..7c0f332fa881 100644 --- a/libcxx/include/__bit_reference +++ b/libcxx/include/__bit_reference @@ -20,6 +20,8 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__bits b/libcxx/include/__bits index 1eee8f576e9e..56508e169ad7 100644 --- a/libcxx/include/__bits +++ b/libcxx/include/__bits @@ -14,6 +14,14 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__charconv/chars_format.h b/libcxx/include/__charconv/chars_format.h index 0875079e6c7a..59e17dffaa24 100644 --- a/libcxx/include/__charconv/chars_format.h +++ b/libcxx/include/__charconv/chars_format.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__charconv/from_chars_result.h b/libcxx/include/__charconv/from_chars_result.h index 2cc3c11ef64f..e2815670e189 100644 --- a/libcxx/include/__charconv/from_chars_result.h +++ b/libcxx/include/__charconv/from_chars_result.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__charconv/to_chars_result.h b/libcxx/include/__charconv/to_chars_result.h index b4bc6ac2635b..c0e3a9a0c17b 100644 --- a/libcxx/include/__charconv/to_chars_result.h +++ b/libcxx/include/__charconv/to_chars_result.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__chrono/calendar.h b/libcxx/include/__chrono/calendar.h index 9e5642f75811..f9feab8e299b 100644 --- a/libcxx/include/__chrono/calendar.h +++ b/libcxx/include/__chrono/calendar.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__chrono/convert_to_timespec.h b/libcxx/include/__chrono/convert_to_timespec.h index e8631d135fee..23c6415f6303 100644 --- a/libcxx/include/__chrono/convert_to_timespec.h +++ b/libcxx/include/__chrono/convert_to_timespec.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__chrono/duration.h b/libcxx/include/__chrono/duration.h index f5207594291e..1097412ee6b4 100644 --- a/libcxx/include/__chrono/duration.h +++ b/libcxx/include/__chrono/duration.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__chrono/file_clock.h b/libcxx/include/__chrono/file_clock.h index b8e08e78ba72..f2bbdb31d094 100644 --- a/libcxx/include/__chrono/file_clock.h +++ b/libcxx/include/__chrono/file_clock.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__chrono/high_resolution_clock.h b/libcxx/include/__chrono/high_resolution_clock.h index 778ff44f3d09..36c9d3ff808f 100644 --- a/libcxx/include/__chrono/high_resolution_clock.h +++ b/libcxx/include/__chrono/high_resolution_clock.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__chrono/steady_clock.h b/libcxx/include/__chrono/steady_clock.h index 657e5eef6c37..9827601f2308 100644 --- a/libcxx/include/__chrono/steady_clock.h +++ b/libcxx/include/__chrono/steady_clock.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__chrono/system_clock.h b/libcxx/include/__chrono/system_clock.h index 2922b78a74cb..972da259cf40 100644 --- a/libcxx/include/__chrono/system_clock.h +++ b/libcxx/include/__chrono/system_clock.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__chrono/time_point.h b/libcxx/include/__chrono/time_point.h index ac2d347a0dca..3ac44e71663a 100644 --- a/libcxx/include/__chrono/time_point.h +++ b/libcxx/include/__chrono/time_point.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__compare/common_comparison_category.h b/libcxx/include/__compare/common_comparison_category.h index deab171846e2..9538f3ff9568 100644 --- a/libcxx/include/__compare/common_comparison_category.h +++ b/libcxx/include/__compare/common_comparison_category.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/compare_partial_order_fallback.h b/libcxx/include/__compare/compare_partial_order_fallback.h index b1fd5e82bb46..a40340309747 100644 --- a/libcxx/include/__compare/compare_partial_order_fallback.h +++ b/libcxx/include/__compare/compare_partial_order_fallback.h @@ -18,6 +18,7 @@ #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/compare_strong_order_fallback.h b/libcxx/include/__compare/compare_strong_order_fallback.h index 9365a1ef036c..fdcd60aa2137 100644 --- a/libcxx/include/__compare/compare_strong_order_fallback.h +++ b/libcxx/include/__compare/compare_strong_order_fallback.h @@ -18,6 +18,7 @@ #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/compare_three_way.h b/libcxx/include/__compare/compare_three_way.h index 25563bb7fec0..5445afa4dd0d 100644 --- a/libcxx/include/__compare/compare_three_way.h +++ b/libcxx/include/__compare/compare_three_way.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/compare_three_way_result.h b/libcxx/include/__compare/compare_three_way_result.h index 7b03597ab1c1..bdcce13369c7 100644 --- a/libcxx/include/__compare/compare_three_way_result.h +++ b/libcxx/include/__compare/compare_three_way_result.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/compare_weak_order_fallback.h b/libcxx/include/__compare/compare_weak_order_fallback.h index 160e45ecb549..d72c1eee9d73 100644 --- a/libcxx/include/__compare/compare_weak_order_fallback.h +++ b/libcxx/include/__compare/compare_weak_order_fallback.h @@ -18,6 +18,7 @@ #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/is_eq.h b/libcxx/include/__compare/is_eq.h index 49648924e81f..fcf9e6cc32f5 100644 --- a/libcxx/include/__compare/is_eq.h +++ b/libcxx/include/__compare/is_eq.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/ordering.h b/libcxx/include/__compare/ordering.h index 1d466d669eec..7913129768cb 100644 --- a/libcxx/include/__compare/ordering.h +++ b/libcxx/include/__compare/ordering.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/partial_order.h b/libcxx/include/__compare/partial_order.h index ad29701875b9..f3d8e633dd81 100644 --- a/libcxx/include/__compare/partial_order.h +++ b/libcxx/include/__compare/partial_order.h @@ -19,6 +19,7 @@ #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/strong_order.h b/libcxx/include/__compare/strong_order.h index 49a610666354..6e1e28585239 100644 --- a/libcxx/include/__compare/strong_order.h +++ b/libcxx/include/__compare/strong_order.h @@ -22,6 +22,7 @@ #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__compare/synth_three_way.h b/libcxx/include/__compare/synth_three_way.h index f55edd4876b5..1d153420bf55 100644 --- a/libcxx/include/__compare/synth_three_way.h +++ b/libcxx/include/__compare/synth_three_way.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/three_way_comparable.h b/libcxx/include/__compare/three_way_comparable.h index f17382e43078..7fdf9feaac28 100644 --- a/libcxx/include/__compare/three_way_comparable.h +++ b/libcxx/include/__compare/three_way_comparable.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__compare/weak_order.h b/libcxx/include/__compare/weak_order.h index 725ac831e66b..c02011fbb29a 100644 --- a/libcxx/include/__compare/weak_order.h +++ b/libcxx/include/__compare/weak_order.h @@ -20,6 +20,7 @@ #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/arithmetic.h b/libcxx/include/__concepts/arithmetic.h index f86908cfdff3..b9a1d2a7cd97 100644 --- a/libcxx/include/__concepts/arithmetic.h +++ b/libcxx/include/__concepts/arithmetic.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/assignable.h b/libcxx/include/__concepts/assignable.h index 4d8a230ff4e9..7f28afceea6e 100644 --- a/libcxx/include/__concepts/assignable.h +++ b/libcxx/include/__concepts/assignable.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/boolean_testable.h b/libcxx/include/__concepts/boolean_testable.h index 89f66201e644..222c35fc469f 100644 --- a/libcxx/include/__concepts/boolean_testable.h +++ b/libcxx/include/__concepts/boolean_testable.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/class_or_enum.h b/libcxx/include/__concepts/class_or_enum.h index 729e444b39ad..e3c0f6f6f273 100644 --- a/libcxx/include/__concepts/class_or_enum.h +++ b/libcxx/include/__concepts/class_or_enum.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/common_reference_with.h b/libcxx/include/__concepts/common_reference_with.h index bb5801a8c1ac..a16a59bf2bd1 100644 --- a/libcxx/include/__concepts/common_reference_with.h +++ b/libcxx/include/__concepts/common_reference_with.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/common_with.h b/libcxx/include/__concepts/common_with.h index 2b7cb836d63f..f1661a67b464 100644 --- a/libcxx/include/__concepts/common_with.h +++ b/libcxx/include/__concepts/common_with.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/constructible.h b/libcxx/include/__concepts/constructible.h index f5371086233c..7d97490d313f 100644 --- a/libcxx/include/__concepts/constructible.h +++ b/libcxx/include/__concepts/constructible.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/convertible_to.h b/libcxx/include/__concepts/convertible_to.h index 6bf19228a491..2e5d8a62b8a4 100644 --- a/libcxx/include/__concepts/convertible_to.h +++ b/libcxx/include/__concepts/convertible_to.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/copyable.h b/libcxx/include/__concepts/copyable.h index 8d5f28abc424..bfde9233da77 100644 --- a/libcxx/include/__concepts/copyable.h +++ b/libcxx/include/__concepts/copyable.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/derived_from.h b/libcxx/include/__concepts/derived_from.h index b91ce13fe409..12aa88bb1b16 100644 --- a/libcxx/include/__concepts/derived_from.h +++ b/libcxx/include/__concepts/derived_from.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/destructible.h b/libcxx/include/__concepts/destructible.h index 429e82ee93fe..54941fb000da 100644 --- a/libcxx/include/__concepts/destructible.h +++ b/libcxx/include/__concepts/destructible.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/different_from.h b/libcxx/include/__concepts/different_from.h index f882205d4a44..fdeef6422852 100644 --- a/libcxx/include/__concepts/different_from.h +++ b/libcxx/include/__concepts/different_from.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/equality_comparable.h b/libcxx/include/__concepts/equality_comparable.h index 36ac870b6bce..860780265684 100644 --- a/libcxx/include/__concepts/equality_comparable.h +++ b/libcxx/include/__concepts/equality_comparable.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/invocable.h b/libcxx/include/__concepts/invocable.h index 8a669f1f18e6..193e813bfe09 100644 --- a/libcxx/include/__concepts/invocable.h +++ b/libcxx/include/__concepts/invocable.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/movable.h b/libcxx/include/__concepts/movable.h index 53e36ebc3fad..bb9569073238 100644 --- a/libcxx/include/__concepts/movable.h +++ b/libcxx/include/__concepts/movable.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/predicate.h b/libcxx/include/__concepts/predicate.h index 04cdd97f9557..5e11205ade48 100644 --- a/libcxx/include/__concepts/predicate.h +++ b/libcxx/include/__concepts/predicate.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/regular.h b/libcxx/include/__concepts/regular.h index 63c9fb3ce3cf..870b254408fb 100644 --- a/libcxx/include/__concepts/regular.h +++ b/libcxx/include/__concepts/regular.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/relation.h b/libcxx/include/__concepts/relation.h index 1d687559e415..2bfeacdb36bb 100644 --- a/libcxx/include/__concepts/relation.h +++ b/libcxx/include/__concepts/relation.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/same_as.h b/libcxx/include/__concepts/same_as.h index 1337193c93cc..12057a25a657 100644 --- a/libcxx/include/__concepts/same_as.h +++ b/libcxx/include/__concepts/same_as.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/semiregular.h b/libcxx/include/__concepts/semiregular.h index eac5ec28724f..6654ae1204cf 100644 --- a/libcxx/include/__concepts/semiregular.h +++ b/libcxx/include/__concepts/semiregular.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/swappable.h b/libcxx/include/__concepts/swappable.h index 866e9f7dfd4a..dc185cfd5d9d 100644 --- a/libcxx/include/__concepts/swappable.h +++ b/libcxx/include/__concepts/swappable.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__concepts/totally_ordered.h b/libcxx/include/__concepts/totally_ordered.h index 5ede92ad086c..853b490622c7 100644 --- a/libcxx/include/__concepts/totally_ordered.h +++ b/libcxx/include/__concepts/totally_ordered.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__coroutine/coroutine_handle.h b/libcxx/include/__coroutine/coroutine_handle.h index 4bf323789217..d16660128e30 100644 --- a/libcxx/include/__coroutine/coroutine_handle.h +++ b/libcxx/include/__coroutine/coroutine_handle.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CXX20_COROUTINES) diff --git a/libcxx/include/__coroutine/coroutine_traits.h b/libcxx/include/__coroutine/coroutine_traits.h index 0a5229b45945..1acca38e8a1c 100644 --- a/libcxx/include/__coroutine/coroutine_traits.h +++ b/libcxx/include/__coroutine/coroutine_traits.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CXX20_COROUTINES) diff --git a/libcxx/include/__coroutine/noop_coroutine_handle.h b/libcxx/include/__coroutine/noop_coroutine_handle.h index 839d66f601a6..7ec0cb97c97d 100644 --- a/libcxx/include/__coroutine/noop_coroutine_handle.h +++ b/libcxx/include/__coroutine/noop_coroutine_handle.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CXX20_COROUTINES) @@ -66,7 +67,7 @@ private: friend coroutine_handle 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(); } diff --git a/libcxx/include/__coroutine/trivial_awaitables.h b/libcxx/include/__coroutine/trivial_awaitables.h index 31399ab29a00..e09c0b275fb4 100644 --- a/libcxx/include/__coroutine/trivial_awaitables.h +++ b/libcxx/include/__coroutine/trivial_awaitables.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CXX20_COROUTINES) diff --git a/libcxx/include/__filesystem/copy_options.h b/libcxx/include/__filesystem/copy_options.h index 2e037403f6f2..411cec2b0bcf 100644 --- a/libcxx/include/__filesystem/copy_options.h +++ b/libcxx/include/__filesystem/copy_options.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/directory_entry.h b/libcxx/include/__filesystem/directory_entry.h index 3db244556cfd..068414089554 100644 --- a/libcxx/include/__filesystem/directory_entry.h +++ b/libcxx/include/__filesystem/directory_entry.h @@ -29,6 +29,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__filesystem/directory_iterator.h b/libcxx/include/__filesystem/directory_iterator.h index 87bbbfac717b..8994427b56a9 100644 --- a/libcxx/include/__filesystem/directory_iterator.h +++ b/libcxx/include/__filesystem/directory_iterator.h @@ -25,6 +25,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/directory_options.h b/libcxx/include/__filesystem/directory_options.h index d3f8cc1deb21..6a721466b5cf 100644 --- a/libcxx/include/__filesystem/directory_options.h +++ b/libcxx/include/__filesystem/directory_options.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/file_status.h b/libcxx/include/__filesystem/file_status.h index ac3f6cbed9d7..5adcc339b419 100644 --- a/libcxx/include/__filesystem/file_status.h +++ b/libcxx/include/__filesystem/file_status.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/file_time_type.h b/libcxx/include/__filesystem/file_time_type.h index 7c4932e603bc..7c4b0254af4c 100644 --- a/libcxx/include/__filesystem/file_time_type.h +++ b/libcxx/include/__filesystem/file_time_type.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/file_type.h b/libcxx/include/__filesystem/file_type.h index c756a05c848b..24e59302e229 100644 --- a/libcxx/include/__filesystem/file_type.h +++ b/libcxx/include/__filesystem/file_type.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/filesystem_error.h b/libcxx/include/__filesystem/filesystem_error.h index e32b14c1b7bf..0e76f397b75b 100644 --- a/libcxx/include/__filesystem/filesystem_error.h +++ b/libcxx/include/__filesystem/filesystem_error.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/operations.h b/libcxx/include/__filesystem/operations.h index 85c71f017f34..2f92922b36e6 100644 --- a/libcxx/include/__filesystem/operations.h +++ b/libcxx/include/__filesystem/operations.h @@ -26,6 +26,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/path.h b/libcxx/include/__filesystem/path.h index 6b4b1ae9baa2..c3537382f8db 100644 --- a/libcxx/include/__filesystem/path.h +++ b/libcxx/include/__filesystem/path.h @@ -28,6 +28,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/path_iterator.h b/libcxx/include/__filesystem/path_iterator.h index 6f2baf8f7a29..8be8101bb9dc 100644 --- a/libcxx/include/__filesystem/path_iterator.h +++ b/libcxx/include/__filesystem/path_iterator.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/perm_options.h b/libcxx/include/__filesystem/perm_options.h index f7580a2473d0..7484f75076db 100644 --- a/libcxx/include/__filesystem/perm_options.h +++ b/libcxx/include/__filesystem/perm_options.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/perms.h b/libcxx/include/__filesystem/perms.h index 0e5c7ed8d2e9..3d6d1b9c1af6 100644 --- a/libcxx/include/__filesystem/perms.h +++ b/libcxx/include/__filesystem/perms.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/recursive_directory_iterator.h b/libcxx/include/__filesystem/recursive_directory_iterator.h index 95360376fc28..e17c6f81d099 100644 --- a/libcxx/include/__filesystem/recursive_directory_iterator.h +++ b/libcxx/include/__filesystem/recursive_directory_iterator.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/space_info.h b/libcxx/include/__filesystem/space_info.h index d7dc03af75a7..c220e506efdc 100644 --- a/libcxx/include/__filesystem/space_info.h +++ b/libcxx/include/__filesystem/space_info.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__filesystem/u8path.h b/libcxx/include/__filesystem/u8path.h index ee25521f2898..82dcf8949ddd 100644 --- a/libcxx/include/__filesystem/u8path.h +++ b/libcxx/include/__filesystem/u8path.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #ifndef _LIBCPP_CXX03_LANG diff --git a/libcxx/include/__format/format_arg.h b/libcxx/include/__format/format_arg.h index 5e1565bf1595..79539034d651 100644 --- a/libcxx/include/__format/format_arg.h +++ b/libcxx/include/__format/format_arg.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/format_args.h b/libcxx/include/__format/format_args.h index 2739d1131bcb..84cb51bdabe1 100644 --- a/libcxx/include/__format/format_args.h +++ b/libcxx/include/__format/format_args.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/format_context.h b/libcxx/include/__format/format_context.h index d4bc35decda6..71d6c1cfac4d 100644 --- a/libcxx/include/__format/format_context.h +++ b/libcxx/include/__format/format_context.h @@ -25,6 +25,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/format_error.h b/libcxx/include/__format/format_error.h index 67ff41cbc3d8..ee0cd9c6ec63 100644 --- a/libcxx/include/__format/format_error.h +++ b/libcxx/include/__format/format_error.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/format_fwd.h b/libcxx/include/__format/format_fwd.h index 9421aa878850..e590f5fe1b86 100644 --- a/libcxx/include/__format/format_fwd.h +++ b/libcxx/include/__format/format_fwd.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/format_parse_context.h b/libcxx/include/__format/format_parse_context.h index 3147be8372a7..1110f0e29672 100644 --- a/libcxx/include/__format/format_parse_context.h +++ b/libcxx/include/__format/format_parse_context.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/format_string.h b/libcxx/include/__format/format_string.h index 32af6609e7b7..b26fc484533a 100644 --- a/libcxx/include/__format/format_string.h +++ b/libcxx/include/__format/format_string.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/format_to_n_result.h b/libcxx/include/__format/format_to_n_result.h index b973dc5c1dfe..11edcecf5bf8 100644 --- a/libcxx/include/__format/format_to_n_result.h +++ b/libcxx/include/__format/format_to_n_result.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/formatter.h b/libcxx/include/__format/formatter.h index f9e0b6c84b7b..1ca41606a6c6 100644 --- a/libcxx/include/__format/formatter.h +++ b/libcxx/include/__format/formatter.h @@ -25,6 +25,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/formatter_bool.h b/libcxx/include/__format/formatter_bool.h index f42868365771..d4218eebd10a 100644 --- a/libcxx/include/__format/formatter_bool.h +++ b/libcxx/include/__format/formatter_bool.h @@ -25,6 +25,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/formatter_char.h b/libcxx/include/__format/formatter_char.h index f565135821e8..07d408a509bd 100644 --- a/libcxx/include/__format/formatter_char.h +++ b/libcxx/include/__format/formatter_char.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/formatter_floating_point.h b/libcxx/include/__format/formatter_floating_point.h index aa32815af2a4..557aeb73e6be 100644 --- a/libcxx/include/__format/formatter_floating_point.h +++ b/libcxx/include/__format/formatter_floating_point.h @@ -37,6 +37,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__format/formatter_integer.h b/libcxx/include/__format/formatter_integer.h index e6143a47450f..256ff8ad0f7a 100644 --- a/libcxx/include/__format/formatter_integer.h +++ b/libcxx/include/__format/formatter_integer.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__format/formatter_integral.h b/libcxx/include/__format/formatter_integral.h index 836082671c5a..16577136410a 100644 --- a/libcxx/include/__format/formatter_integral.h +++ b/libcxx/include/__format/formatter_integral.h @@ -33,6 +33,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__format/formatter_pointer.h b/libcxx/include/__format/formatter_pointer.h index 83d21e1c50e6..ce7af24b2db8 100644 --- a/libcxx/include/__format/formatter_pointer.h +++ b/libcxx/include/__format/formatter_pointer.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/formatter_string.h b/libcxx/include/__format/formatter_string.h index 54aa1215d99e..850cf2ecd82c 100644 --- a/libcxx/include/__format/formatter_string.h +++ b/libcxx/include/__format/formatter_string.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__format/parser_std_format_spec.h b/libcxx/include/__format/parser_std_format_spec.h index 92c8986e760c..1ec87ea81151 100644 --- a/libcxx/include/__format/parser_std_format_spec.h +++ b/libcxx/include/__format/parser_std_format_spec.h @@ -25,6 +25,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__functional/binary_function.h b/libcxx/include/__functional/binary_function.h index 51135ef51e12..74aa70ea6e7d 100644 --- a/libcxx/include/__functional/binary_function.h +++ b/libcxx/include/__functional/binary_function.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/binary_negate.h b/libcxx/include/__functional/binary_negate.h index 17c5c20668f3..c0858567f612 100644 --- a/libcxx/include/__functional/binary_negate.h +++ b/libcxx/include/__functional/binary_negate.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/bind.h b/libcxx/include/__functional/bind.h index c352406f8561..8a2d0b3003e0 100644 --- a/libcxx/include/__functional/bind.h +++ b/libcxx/include/__functional/bind.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/bind_back.h b/libcxx/include/__functional/bind_back.h index d64981aa9eb8..93cdecbbb9b9 100644 --- a/libcxx/include/__functional/bind_back.h +++ b/libcxx/include/__functional/bind_back.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/bind_front.h b/libcxx/include/__functional/bind_front.h index 22fb3a69dc75..f3f96ff1cbd4 100644 --- a/libcxx/include/__functional/bind_front.h +++ b/libcxx/include/__functional/bind_front.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/binder1st.h b/libcxx/include/__functional/binder1st.h index 13b2459dff4d..83270100bc29 100644 --- a/libcxx/include/__functional/binder1st.h +++ b/libcxx/include/__functional/binder1st.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/binder2nd.h b/libcxx/include/__functional/binder2nd.h index ff0f5f081692..56a3b08ad1dc 100644 --- a/libcxx/include/__functional/binder2nd.h +++ b/libcxx/include/__functional/binder2nd.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/compose.h b/libcxx/include/__functional/compose.h index 25213f28b1f2..41a81f9c2083 100644 --- a/libcxx/include/__functional/compose.h +++ b/libcxx/include/__functional/compose.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/default_searcher.h b/libcxx/include/__functional/default_searcher.h index 05fb23d7c3c4..4ad333d52885 100644 --- a/libcxx/include/__functional/default_searcher.h +++ b/libcxx/include/__functional/default_searcher.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/function.h b/libcxx/include/__functional/function.h index 4698c8c2d42e..ee51a07207d1 100644 --- a/libcxx/include/__functional/function.h +++ b/libcxx/include/__functional/function.h @@ -28,6 +28,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/hash.h b/libcxx/include/__functional/hash.h index 2b3b96e53421..029ba048b152 100644 --- a/libcxx/include/__functional/hash.h +++ b/libcxx/include/__functional/hash.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/identity.h b/libcxx/include/__functional/identity.h index 646325aca496..1a181a37af09 100644 --- a/libcxx/include/__functional/identity.h +++ b/libcxx/include/__functional/identity.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/invoke.h b/libcxx/include/__functional/invoke.h index b4c3e76562a8..cb38c0fe2719 100644 --- a/libcxx/include/__functional/invoke.h +++ b/libcxx/include/__functional/invoke.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/is_transparent.h b/libcxx/include/__functional/is_transparent.h index 74326c76c12f..f102bb5c6b9f 100644 --- a/libcxx/include/__functional/is_transparent.h +++ b/libcxx/include/__functional/is_transparent.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/mem_fn.h b/libcxx/include/__functional/mem_fn.h index 10967a8a14ec..36fef444ce86 100644 --- a/libcxx/include/__functional/mem_fn.h +++ b/libcxx/include/__functional/mem_fn.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/mem_fun_ref.h b/libcxx/include/__functional/mem_fun_ref.h index 81f48e66e782..9d61c4dd28ea 100644 --- a/libcxx/include/__functional/mem_fun_ref.h +++ b/libcxx/include/__functional/mem_fun_ref.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/not_fn.h b/libcxx/include/__functional/not_fn.h index b5c415c25c44..89f2d3752532 100644 --- a/libcxx/include/__functional/not_fn.h +++ b/libcxx/include/__functional/not_fn.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/operations.h b/libcxx/include/__functional/operations.h index 9df6d773fea7..482458348ccc 100644 --- a/libcxx/include/__functional/operations.h +++ b/libcxx/include/__functional/operations.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/perfect_forward.h b/libcxx/include/__functional/perfect_forward.h index 9acaa7e98f00..92811e00cf9b 100644 --- a/libcxx/include/__functional/perfect_forward.h +++ b/libcxx/include/__functional/perfect_forward.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/pointer_to_binary_function.h b/libcxx/include/__functional/pointer_to_binary_function.h index 187e3098c488..437b5186089e 100644 --- a/libcxx/include/__functional/pointer_to_binary_function.h +++ b/libcxx/include/__functional/pointer_to_binary_function.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/pointer_to_unary_function.h b/libcxx/include/__functional/pointer_to_unary_function.h index a0f98c1a5522..8984217afe7f 100644 --- a/libcxx/include/__functional/pointer_to_unary_function.h +++ b/libcxx/include/__functional/pointer_to_unary_function.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/ranges_operations.h b/libcxx/include/__functional/ranges_operations.h index e8cf51981ad8..2578c552e1d9 100644 --- a/libcxx/include/__functional/ranges_operations.h +++ b/libcxx/include/__functional/ranges_operations.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/reference_wrapper.h b/libcxx/include/__functional/reference_wrapper.h index b7d2f873022e..6fc8182f97b6 100644 --- a/libcxx/include/__functional/reference_wrapper.h +++ b/libcxx/include/__functional/reference_wrapper.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/unary_function.h b/libcxx/include/__functional/unary_function.h index af2a0b967c5d..aa091d3fd964 100644 --- a/libcxx/include/__functional/unary_function.h +++ b/libcxx/include/__functional/unary_function.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/unary_negate.h b/libcxx/include/__functional/unary_negate.h index 7ff1f6e8791d..c09ec84ab3ce 100644 --- a/libcxx/include/__functional/unary_negate.h +++ b/libcxx/include/__functional/unary_negate.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/unwrap_ref.h b/libcxx/include/__functional/unwrap_ref.h index f7207934e1b4..8367b5fb0985 100644 --- a/libcxx/include/__functional/unwrap_ref.h +++ b/libcxx/include/__functional/unwrap_ref.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__functional/weak_result_type.h b/libcxx/include/__functional/weak_result_type.h index e1c553e6f0cd..2799f0b76c76 100644 --- a/libcxx/include/__functional/weak_result_type.h +++ b/libcxx/include/__functional/weak_result_type.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__hash_table b/libcxx/include/__hash_table index 36f2ef7a2c7a..4ea55c7911d3 100644 --- a/libcxx/include/__hash_table +++ b/libcxx/include/__hash_table @@ -26,6 +26,8 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__ios/fpos.h b/libcxx/include/__ios/fpos.h index 87f0135fc3ea..870cc8a9128e 100644 --- a/libcxx/include/__ios/fpos.h +++ b/libcxx/include/__ios/fpos.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/access.h b/libcxx/include/__iterator/access.h index 7abd4c5573d6..fb5e88169116 100644 --- a/libcxx/include/__iterator/access.h +++ b/libcxx/include/__iterator/access.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/advance.h b/libcxx/include/__iterator/advance.h index da6bf052525c..766adcee7620 100644 --- a/libcxx/include/__iterator/advance.h +++ b/libcxx/include/__iterator/advance.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/back_insert_iterator.h b/libcxx/include/__iterator/back_insert_iterator.h index 9a4b05703b3c..27df53524799 100644 --- a/libcxx/include/__iterator/back_insert_iterator.h +++ b/libcxx/include/__iterator/back_insert_iterator.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/common_iterator.h b/libcxx/include/__iterator/common_iterator.h index 505e4f1f3f0d..a1f0fc6e1f69 100644 --- a/libcxx/include/__iterator/common_iterator.h +++ b/libcxx/include/__iterator/common_iterator.h @@ -23,6 +23,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/concepts.h b/libcxx/include/__iterator/concepts.h index 92ef781457de..8f4d201d4ae9 100644 --- a/libcxx/include/__iterator/concepts.h +++ b/libcxx/include/__iterator/concepts.h @@ -22,6 +22,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/counted_iterator.h b/libcxx/include/__iterator/counted_iterator.h index 826d5de51f97..76499ac7a32d 100644 --- a/libcxx/include/__iterator/counted_iterator.h +++ b/libcxx/include/__iterator/counted_iterator.h @@ -26,6 +26,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/data.h b/libcxx/include/__iterator/data.h index 88eb752b642e..6f7469ccfe39 100644 --- a/libcxx/include/__iterator/data.h +++ b/libcxx/include/__iterator/data.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/default_sentinel.h b/libcxx/include/__iterator/default_sentinel.h index 669032aa9729..7734027c3fae 100644 --- a/libcxx/include/__iterator/default_sentinel.h +++ b/libcxx/include/__iterator/default_sentinel.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/distance.h b/libcxx/include/__iterator/distance.h index 78b8177fae64..61e4157ffa8d 100644 --- a/libcxx/include/__iterator/distance.h +++ b/libcxx/include/__iterator/distance.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/empty.h b/libcxx/include/__iterator/empty.h index 748ca9ecbd59..7b55ddd8c242 100644 --- a/libcxx/include/__iterator/empty.h +++ b/libcxx/include/__iterator/empty.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/erase_if_container.h b/libcxx/include/__iterator/erase_if_container.h index d7c71a947a2b..d44d00656d0d 100644 --- a/libcxx/include/__iterator/erase_if_container.h +++ b/libcxx/include/__iterator/erase_if_container.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/front_insert_iterator.h b/libcxx/include/__iterator/front_insert_iterator.h index 69b2d32d077a..b7b6bc318240 100644 --- a/libcxx/include/__iterator/front_insert_iterator.h +++ b/libcxx/include/__iterator/front_insert_iterator.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/incrementable_traits.h b/libcxx/include/__iterator/incrementable_traits.h index f36b417bf8a0..2a668740875b 100644 --- a/libcxx/include/__iterator/incrementable_traits.h +++ b/libcxx/include/__iterator/incrementable_traits.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/indirectly_comparable.h b/libcxx/include/__iterator/indirectly_comparable.h index 9002b21fd526..b14ae7d50cac 100644 --- a/libcxx/include/__iterator/indirectly_comparable.h +++ b/libcxx/include/__iterator/indirectly_comparable.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/insert_iterator.h b/libcxx/include/__iterator/insert_iterator.h index aba197ec2190..dc260abf4a8e 100644 --- a/libcxx/include/__iterator/insert_iterator.h +++ b/libcxx/include/__iterator/insert_iterator.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/istream_iterator.h b/libcxx/include/__iterator/istream_iterator.h index 9ee0a989b8f6..d5241a9aab6b 100644 --- a/libcxx/include/__iterator/istream_iterator.h +++ b/libcxx/include/__iterator/istream_iterator.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/istreambuf_iterator.h b/libcxx/include/__iterator/istreambuf_iterator.h index 3b16f7947678..3f2bb4f532c5 100644 --- a/libcxx/include/__iterator/istreambuf_iterator.h +++ b/libcxx/include/__iterator/istreambuf_iterator.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/iter_move.h b/libcxx/include/__iterator/iter_move.h index 4a8966292786..351077380ea0 100644 --- a/libcxx/include/__iterator/iter_move.h +++ b/libcxx/include/__iterator/iter_move.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/iter_swap.h b/libcxx/include/__iterator/iter_swap.h index 291558fadc06..dec8ce79be29 100644 --- a/libcxx/include/__iterator/iter_swap.h +++ b/libcxx/include/__iterator/iter_swap.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/iterator.h b/libcxx/include/__iterator/iterator.h index b417eeab79bf..e7f74368efe8 100644 --- a/libcxx/include/__iterator/iterator.h +++ b/libcxx/include/__iterator/iterator.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/iterator_traits.h b/libcxx/include/__iterator/iterator_traits.h index 6ffb2ab806ff..58aef847fc74 100644 --- a/libcxx/include/__iterator/iterator_traits.h +++ b/libcxx/include/__iterator/iterator_traits.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/mergeable.h b/libcxx/include/__iterator/mergeable.h index 08022aab6d27..4c2d1047d129 100644 --- a/libcxx/include/__iterator/mergeable.h +++ b/libcxx/include/__iterator/mergeable.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/move_iterator.h b/libcxx/include/__iterator/move_iterator.h index e157b71a2f28..e8ba0a7b0c76 100644 --- a/libcxx/include/__iterator/move_iterator.h +++ b/libcxx/include/__iterator/move_iterator.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/next.h b/libcxx/include/__iterator/next.h index fae5989c2aaf..c3b75ef5df3f 100644 --- a/libcxx/include/__iterator/next.h +++ b/libcxx/include/__iterator/next.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/ostream_iterator.h b/libcxx/include/__iterator/ostream_iterator.h index f6601b23d6ef..fde1a7ff2a73 100644 --- a/libcxx/include/__iterator/ostream_iterator.h +++ b/libcxx/include/__iterator/ostream_iterator.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/ostreambuf_iterator.h b/libcxx/include/__iterator/ostreambuf_iterator.h index 16ddb6525ae8..b21c78b04dc3 100644 --- a/libcxx/include/__iterator/ostreambuf_iterator.h +++ b/libcxx/include/__iterator/ostreambuf_iterator.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/permutable.h b/libcxx/include/__iterator/permutable.h index 85834a23c8fc..d823df68cf16 100644 --- a/libcxx/include/__iterator/permutable.h +++ b/libcxx/include/__iterator/permutable.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/prev.h b/libcxx/include/__iterator/prev.h index 5839621eefe1..ebe0abc08f33 100644 --- a/libcxx/include/__iterator/prev.h +++ b/libcxx/include/__iterator/prev.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/projected.h b/libcxx/include/__iterator/projected.h index 2edbe0da61fc..4d025d794888 100644 --- a/libcxx/include/__iterator/projected.h +++ b/libcxx/include/__iterator/projected.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/readable_traits.h b/libcxx/include/__iterator/readable_traits.h index 5bc59a89f345..07cf17cfeaa1 100644 --- a/libcxx/include/__iterator/readable_traits.h +++ b/libcxx/include/__iterator/readable_traits.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/reverse_access.h b/libcxx/include/__iterator/reverse_access.h index 40c266378d36..98a3f05b5f29 100644 --- a/libcxx/include/__iterator/reverse_access.h +++ b/libcxx/include/__iterator/reverse_access.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/reverse_iterator.h b/libcxx/include/__iterator/reverse_iterator.h index 90bc2d752e0e..3af69393efac 100644 --- a/libcxx/include/__iterator/reverse_iterator.h +++ b/libcxx/include/__iterator/reverse_iterator.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/size.h b/libcxx/include/__iterator/size.h index bf40207a8628..90f57dc25fd4 100644 --- a/libcxx/include/__iterator/size.h +++ b/libcxx/include/__iterator/size.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/sortable.h b/libcxx/include/__iterator/sortable.h index 77a553d3ec30..94337b4540d3 100644 --- a/libcxx/include/__iterator/sortable.h +++ b/libcxx/include/__iterator/sortable.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/unreachable_sentinel.h b/libcxx/include/__iterator/unreachable_sentinel.h index b94ca53f4000..5aa5b55a30d1 100644 --- a/libcxx/include/__iterator/unreachable_sentinel.h +++ b/libcxx/include/__iterator/unreachable_sentinel.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__iterator/wrap_iter.h b/libcxx/include/__iterator/wrap_iter.h index d91a25ee6c8e..e964cc5b6f6d 100644 --- a/libcxx/include/__iterator/wrap_iter.h +++ b/libcxx/include/__iterator/wrap_iter.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__locale b/libcxx/include/__locale index ad97be0f66c8..cabc578268de 100644 --- a/libcxx/include/__locale +++ b/libcxx/include/__locale @@ -48,6 +48,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/addressof.h b/libcxx/include/__memory/addressof.h index 75e3dd0647b2..8377a8fb65f3 100644 --- a/libcxx/include/__memory/addressof.h +++ b/libcxx/include/__memory/addressof.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/allocation_guard.h b/libcxx/include/__memory/allocation_guard.h index 424598cc8158..4e7846d49e6c 100644 --- a/libcxx/include/__memory/allocation_guard.h +++ b/libcxx/include/__memory/allocation_guard.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/allocator.h b/libcxx/include/__memory/allocator.h index 915ff7c3a516..9dbf616f126d 100644 --- a/libcxx/include/__memory/allocator.h +++ b/libcxx/include/__memory/allocator.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/allocator_arg_t.h b/libcxx/include/__memory/allocator_arg_t.h index 2d63b1f905e5..bacea754365d 100644 --- a/libcxx/include/__memory/allocator_arg_t.h +++ b/libcxx/include/__memory/allocator_arg_t.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/allocator_traits.h b/libcxx/include/__memory/allocator_traits.h index 5215556cdf3c..bc5ce7750965 100644 --- a/libcxx/include/__memory/allocator_traits.h +++ b/libcxx/include/__memory/allocator_traits.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__memory/auto_ptr.h b/libcxx/include/__memory/auto_ptr.h index 163a46b631f0..1e97f67ad9e9 100644 --- a/libcxx/include/__memory/auto_ptr.h +++ b/libcxx/include/__memory/auto_ptr.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/compressed_pair.h b/libcxx/include/__memory/compressed_pair.h index 852031f17d2f..a2349bf65a82 100644 --- a/libcxx/include/__memory/compressed_pair.h +++ b/libcxx/include/__memory/compressed_pair.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/concepts.h b/libcxx/include/__memory/concepts.h index 816c553e8554..fe9ca2e5f47f 100644 --- a/libcxx/include/__memory/concepts.h +++ b/libcxx/include/__memory/concepts.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/construct_at.h b/libcxx/include/__memory/construct_at.h index 8a7bf40d7f71..229cd50a7e40 100644 --- a/libcxx/include/__memory/construct_at.h +++ b/libcxx/include/__memory/construct_at.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/pointer_traits.h b/libcxx/include/__memory/pointer_traits.h index f1e807068439..351f34d74e6c 100644 --- a/libcxx/include/__memory/pointer_traits.h +++ b/libcxx/include/__memory/pointer_traits.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/ranges_construct_at.h b/libcxx/include/__memory/ranges_construct_at.h index 3064f811e94e..90d3cadab8a3 100644 --- a/libcxx/include/__memory/ranges_construct_at.h +++ b/libcxx/include/__memory/ranges_construct_at.h @@ -25,6 +25,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/ranges_uninitialized_algorithms.h b/libcxx/include/__memory/ranges_uninitialized_algorithms.h index e036c1858b52..c025e4fe5f02 100644 --- a/libcxx/include/__memory/ranges_uninitialized_algorithms.h +++ b/libcxx/include/__memory/ranges_uninitialized_algorithms.h @@ -28,6 +28,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/raw_storage_iterator.h b/libcxx/include/__memory/raw_storage_iterator.h index f25f7b1a728a..fc155442ccaa 100644 --- a/libcxx/include/__memory/raw_storage_iterator.h +++ b/libcxx/include/__memory/raw_storage_iterator.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/shared_ptr.h b/libcxx/include/__memory/shared_ptr.h index 0f28bcdfac11..451d74e09ae6 100644 --- a/libcxx/include/__memory/shared_ptr.h +++ b/libcxx/include/__memory/shared_ptr.h @@ -40,6 +40,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/temporary_buffer.h b/libcxx/include/__memory/temporary_buffer.h index 2c6e333eba08..56ac3b27b21a 100644 --- a/libcxx/include/__memory/temporary_buffer.h +++ b/libcxx/include/__memory/temporary_buffer.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/uninitialized_algorithms.h b/libcxx/include/__memory/uninitialized_algorithms.h index fc55b49aef2e..611590582d18 100644 --- a/libcxx/include/__memory/uninitialized_algorithms.h +++ b/libcxx/include/__memory/uninitialized_algorithms.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/unique_ptr.h b/libcxx/include/__memory/unique_ptr.h index 348c90325e6f..37f969f9fd6e 100644 --- a/libcxx/include/__memory/unique_ptr.h +++ b/libcxx/include/__memory/unique_ptr.h @@ -26,6 +26,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/uses_allocator.h b/libcxx/include/__memory/uses_allocator.h index 05c500cd97b1..705dbf1a929d 100644 --- a/libcxx/include/__memory/uses_allocator.h +++ b/libcxx/include/__memory/uses_allocator.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__memory/voidify.h b/libcxx/include/__memory/voidify.h index 3a65c0e83fb7..20249ed7d091 100644 --- a/libcxx/include/__memory/voidify.h +++ b/libcxx/include/__memory/voidify.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__mutex_base b/libcxx/include/__mutex_base index da056b6d1423..ce1101c0ea73 100644 --- a/libcxx/include/__mutex_base +++ b/libcxx/include/__mutex_base @@ -22,6 +22,8 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__node_handle b/libcxx/include/__node_handle index 71309be62f3c..84da7eb31184 100644 --- a/libcxx/include/__node_handle +++ b/libcxx/include/__node_handle @@ -65,6 +65,10 @@ public: #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/accumulate.h b/libcxx/include/__numeric/accumulate.h index fa759872ce77..bcb95c74266a 100644 --- a/libcxx/include/__numeric/accumulate.h +++ b/libcxx/include/__numeric/accumulate.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/adjacent_difference.h b/libcxx/include/__numeric/adjacent_difference.h index 5c712ecdf77d..0a47f3f34e3f 100644 --- a/libcxx/include/__numeric/adjacent_difference.h +++ b/libcxx/include/__numeric/adjacent_difference.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/exclusive_scan.h b/libcxx/include/__numeric/exclusive_scan.h index c0c89b38805d..86d9c229cfc7 100644 --- a/libcxx/include/__numeric/exclusive_scan.h +++ b/libcxx/include/__numeric/exclusive_scan.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/gcd_lcm.h b/libcxx/include/__numeric/gcd_lcm.h index 9a53a001f211..b5d5499c3c53 100644 --- a/libcxx/include/__numeric/gcd_lcm.h +++ b/libcxx/include/__numeric/gcd_lcm.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__numeric/inclusive_scan.h b/libcxx/include/__numeric/inclusive_scan.h index a6b005075835..bc523e51f390 100644 --- a/libcxx/include/__numeric/inclusive_scan.h +++ b/libcxx/include/__numeric/inclusive_scan.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/inner_product.h b/libcxx/include/__numeric/inner_product.h index 6fe18bb2b19e..aace2e8f2cbb 100644 --- a/libcxx/include/__numeric/inner_product.h +++ b/libcxx/include/__numeric/inner_product.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/iota.h b/libcxx/include/__numeric/iota.h index b30e0e0a5484..91eb23e72475 100644 --- a/libcxx/include/__numeric/iota.h +++ b/libcxx/include/__numeric/iota.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/midpoint.h b/libcxx/include/__numeric/midpoint.h index 668030c46bcb..d0db307817b9 100644 --- a/libcxx/include/__numeric/midpoint.h +++ b/libcxx/include/__numeric/midpoint.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__numeric/partial_sum.h b/libcxx/include/__numeric/partial_sum.h index 9acee3afc2b0..db882ea883c4 100644 --- a/libcxx/include/__numeric/partial_sum.h +++ b/libcxx/include/__numeric/partial_sum.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/reduce.h b/libcxx/include/__numeric/reduce.h index 90e4d238d868..830cff07ceca 100644 --- a/libcxx/include/__numeric/reduce.h +++ b/libcxx/include/__numeric/reduce.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/transform_exclusive_scan.h b/libcxx/include/__numeric/transform_exclusive_scan.h index 45b3077f6649..3ccd8da7eb34 100644 --- a/libcxx/include/__numeric/transform_exclusive_scan.h +++ b/libcxx/include/__numeric/transform_exclusive_scan.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/transform_inclusive_scan.h b/libcxx/include/__numeric/transform_inclusive_scan.h index b0d4ab5a88fd..ff8c92f3a36d 100644 --- a/libcxx/include/__numeric/transform_inclusive_scan.h +++ b/libcxx/include/__numeric/transform_inclusive_scan.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__numeric/transform_reduce.h b/libcxx/include/__numeric/transform_reduce.h index da5a77988c38..6ec6149f62b1 100644 --- a/libcxx/include/__numeric/transform_reduce.h +++ b/libcxx/include/__numeric/transform_reduce.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__random/bernoulli_distribution.h b/libcxx/include/__random/bernoulli_distribution.h index cf019519ab7f..6e7488700f3a 100644 --- a/libcxx/include/__random/bernoulli_distribution.h +++ b/libcxx/include/__random/bernoulli_distribution.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/binomial_distribution.h b/libcxx/include/__random/binomial_distribution.h index 77df98cba07a..31a11f7a9965 100644 --- a/libcxx/include/__random/binomial_distribution.h +++ b/libcxx/include/__random/binomial_distribution.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/cauchy_distribution.h b/libcxx/include/__random/cauchy_distribution.h index 288118e1d22d..dead3a25b6ed 100644 --- a/libcxx/include/__random/cauchy_distribution.h +++ b/libcxx/include/__random/cauchy_distribution.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/chi_squared_distribution.h b/libcxx/include/__random/chi_squared_distribution.h index b98488c20d28..2dce18be1987 100644 --- a/libcxx/include/__random/chi_squared_distribution.h +++ b/libcxx/include/__random/chi_squared_distribution.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/clamp_to_integral.h b/libcxx/include/__random/clamp_to_integral.h index 7d44ff9cfcad..2eef04f7b436 100644 --- a/libcxx/include/__random/clamp_to_integral.h +++ b/libcxx/include/__random/clamp_to_integral.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/default_random_engine.h b/libcxx/include/__random/default_random_engine.h index 89792f4f0d43..02d607948e15 100644 --- a/libcxx/include/__random/default_random_engine.h +++ b/libcxx/include/__random/default_random_engine.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__random/discard_block_engine.h b/libcxx/include/__random/discard_block_engine.h index c58d66b58869..83ae20f7a375 100644 --- a/libcxx/include/__random/discard_block_engine.h +++ b/libcxx/include/__random/discard_block_engine.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/discrete_distribution.h b/libcxx/include/__random/discrete_distribution.h index fc19068eb0d7..95e19da0b88c 100644 --- a/libcxx/include/__random/discrete_distribution.h +++ b/libcxx/include/__random/discrete_distribution.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/exponential_distribution.h b/libcxx/include/__random/exponential_distribution.h index e51871dd53bc..f3ff78f54d37 100644 --- a/libcxx/include/__random/exponential_distribution.h +++ b/libcxx/include/__random/exponential_distribution.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/extreme_value_distribution.h b/libcxx/include/__random/extreme_value_distribution.h index 15cebd8e9564..c93f0cfd7a9e 100644 --- a/libcxx/include/__random/extreme_value_distribution.h +++ b/libcxx/include/__random/extreme_value_distribution.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/fisher_f_distribution.h b/libcxx/include/__random/fisher_f_distribution.h index 72f1f40aaa49..cf8705809199 100644 --- a/libcxx/include/__random/fisher_f_distribution.h +++ b/libcxx/include/__random/fisher_f_distribution.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/gamma_distribution.h b/libcxx/include/__random/gamma_distribution.h index a8504961b288..784fc2c5c94d 100644 --- a/libcxx/include/__random/gamma_distribution.h +++ b/libcxx/include/__random/gamma_distribution.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/generate_canonical.h b/libcxx/include/__random/generate_canonical.h index 84efa7803c94..8b0e7a86972f 100644 --- a/libcxx/include/__random/generate_canonical.h +++ b/libcxx/include/__random/generate_canonical.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/geometric_distribution.h b/libcxx/include/__random/geometric_distribution.h index b9cc151b3436..72838176aabf 100644 --- a/libcxx/include/__random/geometric_distribution.h +++ b/libcxx/include/__random/geometric_distribution.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/independent_bits_engine.h b/libcxx/include/__random/independent_bits_engine.h index e80d6eec49cb..6e48d33f4c09 100644 --- a/libcxx/include/__random/independent_bits_engine.h +++ b/libcxx/include/__random/independent_bits_engine.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/is_seed_sequence.h b/libcxx/include/__random/is_seed_sequence.h index a6832f51c1ee..244f564576dd 100644 --- a/libcxx/include/__random/is_seed_sequence.h +++ b/libcxx/include/__random/is_seed_sequence.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__random/knuth_b.h b/libcxx/include/__random/knuth_b.h index f5b31cb64fa4..70330fc7d843 100644 --- a/libcxx/include/__random/knuth_b.h +++ b/libcxx/include/__random/knuth_b.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__random/linear_congruential_engine.h b/libcxx/include/__random/linear_congruential_engine.h index f5aba75d572a..18ce4cb2bbf6 100644 --- a/libcxx/include/__random/linear_congruential_engine.h +++ b/libcxx/include/__random/linear_congruential_engine.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/log2.h b/libcxx/include/__random/log2.h index b077d211cefa..5fe4bbed34c8 100644 --- a/libcxx/include/__random/log2.h +++ b/libcxx/include/__random/log2.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__random/lognormal_distribution.h b/libcxx/include/__random/lognormal_distribution.h index 048d7dade9eb..bfecca0e323c 100644 --- a/libcxx/include/__random/lognormal_distribution.h +++ b/libcxx/include/__random/lognormal_distribution.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/mersenne_twister_engine.h b/libcxx/include/__random/mersenne_twister_engine.h index 8bceac05dce9..250aa501633e 100644 --- a/libcxx/include/__random/mersenne_twister_engine.h +++ b/libcxx/include/__random/mersenne_twister_engine.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/negative_binomial_distribution.h b/libcxx/include/__random/negative_binomial_distribution.h index 01e9c303a7e4..b16e0be7a74d 100644 --- a/libcxx/include/__random/negative_binomial_distribution.h +++ b/libcxx/include/__random/negative_binomial_distribution.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/normal_distribution.h b/libcxx/include/__random/normal_distribution.h index dc4de78e9273..6458d048dd9d 100644 --- a/libcxx/include/__random/normal_distribution.h +++ b/libcxx/include/__random/normal_distribution.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/piecewise_constant_distribution.h b/libcxx/include/__random/piecewise_constant_distribution.h index eec9b7540a96..90b30ef800cc 100644 --- a/libcxx/include/__random/piecewise_constant_distribution.h +++ b/libcxx/include/__random/piecewise_constant_distribution.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/piecewise_linear_distribution.h b/libcxx/include/__random/piecewise_linear_distribution.h index 0d7591af1056..5841d4ea20f5 100644 --- a/libcxx/include/__random/piecewise_linear_distribution.h +++ b/libcxx/include/__random/piecewise_linear_distribution.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/poisson_distribution.h b/libcxx/include/__random/poisson_distribution.h index c54d783b7c52..72173c673301 100644 --- a/libcxx/include/__random/poisson_distribution.h +++ b/libcxx/include/__random/poisson_distribution.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/random_device.h b/libcxx/include/__random/random_device.h index e82b437a3b54..811a5ba177b4 100644 --- a/libcxx/include/__random/random_device.h +++ b/libcxx/include/__random/random_device.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/ranlux.h b/libcxx/include/__random/ranlux.h index e44cece39dfc..ba06750d9f79 100644 --- a/libcxx/include/__random/ranlux.h +++ b/libcxx/include/__random/ranlux.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__random/seed_seq.h b/libcxx/include/__random/seed_seq.h index 8640cd1b4e43..5746a8c8ced6 100644 --- a/libcxx/include/__random/seed_seq.h +++ b/libcxx/include/__random/seed_seq.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/shuffle_order_engine.h b/libcxx/include/__random/shuffle_order_engine.h index c2f76f609ae5..4a4715ca769b 100644 --- a/libcxx/include/__random/shuffle_order_engine.h +++ b/libcxx/include/__random/shuffle_order_engine.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/student_t_distribution.h b/libcxx/include/__random/student_t_distribution.h index dc38a8b3d2f8..5a9caea83849 100644 --- a/libcxx/include/__random/student_t_distribution.h +++ b/libcxx/include/__random/student_t_distribution.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/subtract_with_carry_engine.h b/libcxx/include/__random/subtract_with_carry_engine.h index fdbe2d2e9be3..0d21470fed0d 100644 --- a/libcxx/include/__random/subtract_with_carry_engine.h +++ b/libcxx/include/__random/subtract_with_carry_engine.h @@ -22,6 +22,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/uniform_int_distribution.h b/libcxx/include/__random/uniform_int_distribution.h index 4e961f0c8adc..630d724c20ee 100644 --- a/libcxx/include/__random/uniform_int_distribution.h +++ b/libcxx/include/__random/uniform_int_distribution.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/uniform_random_bit_generator.h b/libcxx/include/__random/uniform_random_bit_generator.h index 99f2e6bc30db..97a75c88f872 100644 --- a/libcxx/include/__random/uniform_random_bit_generator.h +++ b/libcxx/include/__random/uniform_random_bit_generator.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/uniform_real_distribution.h b/libcxx/include/__random/uniform_real_distribution.h index e11222540b47..2ee579012488 100644 --- a/libcxx/include/__random/uniform_real_distribution.h +++ b/libcxx/include/__random/uniform_real_distribution.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__random/weibull_distribution.h b/libcxx/include/__random/weibull_distribution.h index 85bae65096cb..fe8ea37f1e1e 100644 --- a/libcxx/include/__random/weibull_distribution.h +++ b/libcxx/include/__random/weibull_distribution.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__ranges/access.h b/libcxx/include/__ranges/access.h index 2ebdab4eb8cd..9a35d4e76934 100644 --- a/libcxx/include/__ranges/access.h +++ b/libcxx/include/__ranges/access.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/all.h b/libcxx/include/__ranges/all.h index 77396222d63a..b606bd14c348 100644 --- a/libcxx/include/__ranges/all.h +++ b/libcxx/include/__ranges/all.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/common_view.h b/libcxx/include/__ranges/common_view.h index 78911284bbc4..a63062a0f80f 100644 --- a/libcxx/include/__ranges/common_view.h +++ b/libcxx/include/__ranges/common_view.h @@ -26,6 +26,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/concepts.h b/libcxx/include/__ranges/concepts.h index 709f3d80f7ea..4425273a5c86 100644 --- a/libcxx/include/__ranges/concepts.h +++ b/libcxx/include/__ranges/concepts.h @@ -28,6 +28,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/copyable_box.h b/libcxx/include/__ranges/copyable_box.h index e1c08a7ea1c3..615bd49b85bd 100644 --- a/libcxx/include/__ranges/copyable_box.h +++ b/libcxx/include/__ranges/copyable_box.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/counted.h b/libcxx/include/__ranges/counted.h index 0a2d8285788a..0a985107fea5 100644 --- a/libcxx/include/__ranges/counted.h +++ b/libcxx/include/__ranges/counted.h @@ -25,6 +25,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/dangling.h b/libcxx/include/__ranges/dangling.h index 3a200ed96543..2b736e21e4d9 100644 --- a/libcxx/include/__ranges/dangling.h +++ b/libcxx/include/__ranges/dangling.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/data.h b/libcxx/include/__ranges/data.h index dbb4767e53b5..c297af25a187 100644 --- a/libcxx/include/__ranges/data.h +++ b/libcxx/include/__ranges/data.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/drop_view.h b/libcxx/include/__ranges/drop_view.h index 079a74d4b84c..c3f79535e32a 100644 --- a/libcxx/include/__ranges/drop_view.h +++ b/libcxx/include/__ranges/drop_view.h @@ -27,6 +27,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/empty.h b/libcxx/include/__ranges/empty.h index c0b55b221a04..75c2241cb225 100644 --- a/libcxx/include/__ranges/empty.h +++ b/libcxx/include/__ranges/empty.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/empty_view.h b/libcxx/include/__ranges/empty_view.h index 6a087276783c..9675cba186fc 100644 --- a/libcxx/include/__ranges/empty_view.h +++ b/libcxx/include/__ranges/empty_view.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/enable_borrowed_range.h b/libcxx/include/__ranges/enable_borrowed_range.h index b8f809b6ceb1..bca488ef1a4a 100644 --- a/libcxx/include/__ranges/enable_borrowed_range.h +++ b/libcxx/include/__ranges/enable_borrowed_range.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/enable_view.h b/libcxx/include/__ranges/enable_view.h index 4b4b63a42c03..8f6d94419cb1 100644 --- a/libcxx/include/__ranges/enable_view.h +++ b/libcxx/include/__ranges/enable_view.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/iota_view.h b/libcxx/include/__ranges/iota_view.h index b7c099e04900..119edd623d5f 100644 --- a/libcxx/include/__ranges/iota_view.h +++ b/libcxx/include/__ranges/iota_view.h @@ -35,6 +35,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/join_view.h b/libcxx/include/__ranges/join_view.h index 395e5c7ece5a..57162540054b 100644 --- a/libcxx/include/__ranges/join_view.h +++ b/libcxx/include/__ranges/join_view.h @@ -26,6 +26,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/non_propagating_cache.h b/libcxx/include/__ranges/non_propagating_cache.h index d9589ae46c33..41bc714e28c6 100644 --- a/libcxx/include/__ranges/non_propagating_cache.h +++ b/libcxx/include/__ranges/non_propagating_cache.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/owning_view.h b/libcxx/include/__ranges/owning_view.h index 7987c607510b..6fddd3c6e6b2 100644 --- a/libcxx/include/__ranges/owning_view.h +++ b/libcxx/include/__ranges/owning_view.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/range_adaptor.h b/libcxx/include/__ranges/range_adaptor.h index 9c53488ba6ce..cf7ec837d632 100644 --- a/libcxx/include/__ranges/range_adaptor.h +++ b/libcxx/include/__ranges/range_adaptor.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/rbegin.h b/libcxx/include/__ranges/rbegin.h index 20f5489c50bb..3d4e4228030e 100644 --- a/libcxx/include/__ranges/rbegin.h +++ b/libcxx/include/__ranges/rbegin.h @@ -21,6 +21,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/ref_view.h b/libcxx/include/__ranges/ref_view.h index 255a468606f2..be46ed81e249 100644 --- a/libcxx/include/__ranges/ref_view.h +++ b/libcxx/include/__ranges/ref_view.h @@ -27,6 +27,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/rend.h b/libcxx/include/__ranges/rend.h index 4f1597e0738c..9795f6600007 100644 --- a/libcxx/include/__ranges/rend.h +++ b/libcxx/include/__ranges/rend.h @@ -22,6 +22,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/reverse_view.h b/libcxx/include/__ranges/reverse_view.h index c3ab6261f0af..0d4f3d9dfff7 100644 --- a/libcxx/include/__ranges/reverse_view.h +++ b/libcxx/include/__ranges/reverse_view.h @@ -29,6 +29,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/single_view.h b/libcxx/include/__ranges/single_view.h index e0fd4849f44b..42e6fbe946f4 100644 --- a/libcxx/include/__ranges/single_view.h +++ b/libcxx/include/__ranges/single_view.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/size.h b/libcxx/include/__ranges/size.h index 2c5a96e63b7c..7f832b6ecb0b 100644 --- a/libcxx/include/__ranges/size.h +++ b/libcxx/include/__ranges/size.h @@ -20,6 +20,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/subrange.h b/libcxx/include/__ranges/subrange.h index c54f7710fce6..42e0697d31cc 100644 --- a/libcxx/include/__ranges/subrange.h +++ b/libcxx/include/__ranges/subrange.h @@ -32,6 +32,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/take_view.h b/libcxx/include/__ranges/take_view.h index b5f194f9a0e6..59eded0b7d72 100644 --- a/libcxx/include/__ranges/take_view.h +++ b/libcxx/include/__ranges/take_view.h @@ -27,6 +27,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__ranges/transform_view.h b/libcxx/include/__ranges/transform_view.h index 4cc582faebfa..a1dd1bdc1024 100644 --- a/libcxx/include/__ranges/transform_view.h +++ b/libcxx/include/__ranges/transform_view.h @@ -37,6 +37,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/view_interface.h b/libcxx/include/__ranges/view_interface.h index eecc47511139..6bc615a1fe85 100644 --- a/libcxx/include/__ranges/view_interface.h +++ b/libcxx/include/__ranges/view_interface.h @@ -24,6 +24,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__ranges/views.h b/libcxx/include/__ranges/views.h index 8cc5ba3d2aca..e89cd13a09dc 100644 --- a/libcxx/include/__ranges/views.h +++ b/libcxx/include/__ranges/views.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__split_buffer b/libcxx/include/__split_buffer index 9565e16960f3..3b9c674fe7f9 100644 --- a/libcxx/include/__split_buffer +++ b/libcxx/include/__split_buffer @@ -17,6 +17,8 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__std_stream b/libcxx/include/__std_stream index e419e8c03af0..07dd7e7643e2 100644 --- a/libcxx/include/__std_stream +++ b/libcxx/include/__std_stream @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__string b/libcxx/include/__string index 26aa619f2106..4b819e4a799e 100644 --- a/libcxx/include/__string +++ b/libcxx/include/__string @@ -34,6 +34,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__thread/poll_with_backoff.h b/libcxx/include/__thread/poll_with_backoff.h index 0bbafd186657..8532607719c1 100644 --- a/libcxx/include/__thread/poll_with_backoff.h +++ b/libcxx/include/__thread/poll_with_backoff.h @@ -19,6 +19,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__thread/timed_backoff_policy.h b/libcxx/include/__thread/timed_backoff_policy.h index 28fe75d6fd80..fd0effb8632d 100644 --- a/libcxx/include/__thread/timed_backoff_policy.h +++ b/libcxx/include/__thread/timed_backoff_policy.h @@ -18,6 +18,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__threading_support b/libcxx/include/__threading_support index 4f1640ab36d0..b8482824796f 100644 --- a/libcxx/include/__threading_support +++ b/libcxx/include/__threading_support @@ -25,6 +25,10 @@ #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() +# pragma clang include_instead() #endif #if defined(_LIBCPP_HAS_THREAD_API_EXTERNAL) diff --git a/libcxx/include/__tree b/libcxx/include/__tree index 384d3835049b..d22d26c0b193 100644 --- a/libcxx/include/__tree +++ b/libcxx/include/__tree @@ -20,6 +20,8 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__tuple b/libcxx/include/__tuple index 6d13bb24c579..361ded184792 100644 --- a/libcxx/include/__tuple +++ b/libcxx/include/__tuple @@ -16,6 +16,8 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() +# pragma clang include_instead() #endif diff --git a/libcxx/include/__utility/as_const.h b/libcxx/include/__utility/as_const.h index be7dd8c7cf23..47b7f8d3d169 100644 --- a/libcxx/include/__utility/as_const.h +++ b/libcxx/include/__utility/as_const.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/auto_cast.h b/libcxx/include/__utility/auto_cast.h index e9079443959f..65fa8cf47902 100644 --- a/libcxx/include/__utility/auto_cast.h +++ b/libcxx/include/__utility/auto_cast.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif #define _LIBCPP_AUTO_CAST(expr) static_cast::type>(expr) diff --git a/libcxx/include/__utility/cmp.h b/libcxx/include/__utility/cmp.h index f36d53ad4654..3d3a240d640d 100644 --- a/libcxx/include/__utility/cmp.h +++ b/libcxx/include/__utility/cmp.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_PUSH_MACROS diff --git a/libcxx/include/__utility/declval.h b/libcxx/include/__utility/declval.h index 97fd1eba91c6..f8717dac9ec9 100644 --- a/libcxx/include/__utility/declval.h +++ b/libcxx/include/__utility/declval.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/exchange.h b/libcxx/include/__utility/exchange.h index d9b3c151755f..603b3069d9b5 100644 --- a/libcxx/include/__utility/exchange.h +++ b/libcxx/include/__utility/exchange.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/forward.h b/libcxx/include/__utility/forward.h index 6ee1f818baca..467bfd6e3979 100644 --- a/libcxx/include/__utility/forward.h +++ b/libcxx/include/__utility/forward.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/in_place.h b/libcxx/include/__utility/in_place.h index 7a4973fa0407..bc3d68f21f06 100644 --- a/libcxx/include/__utility/in_place.h +++ b/libcxx/include/__utility/in_place.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/integer_sequence.h b/libcxx/include/__utility/integer_sequence.h index 633f1333e247..a4046e5634b9 100644 --- a/libcxx/include/__utility/integer_sequence.h +++ b/libcxx/include/__utility/integer_sequence.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/move.h b/libcxx/include/__utility/move.h index 7d1c8c2522ad..a6f36269f641 100644 --- a/libcxx/include/__utility/move.h +++ b/libcxx/include/__utility/move.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/pair.h b/libcxx/include/__utility/pair.h index 15532f613264..9564ede086d5 100644 --- a/libcxx/include/__utility/pair.h +++ b/libcxx/include/__utility/pair.h @@ -22,6 +22,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/piecewise_construct.h b/libcxx/include/__utility/piecewise_construct.h index 3cc86fef2a0f..e1d157693953 100644 --- a/libcxx/include/__utility/piecewise_construct.h +++ b/libcxx/include/__utility/piecewise_construct.h @@ -13,6 +13,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/priority_tag.h b/libcxx/include/__utility/priority_tag.h index e51ba6bfcc05..339e29bc7e9a 100644 --- a/libcxx/include/__utility/priority_tag.h +++ b/libcxx/include/__utility/priority_tag.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/rel_ops.h b/libcxx/include/__utility/rel_ops.h index 2577e94e91f6..208419017b66 100644 --- a/libcxx/include/__utility/rel_ops.h +++ b/libcxx/include/__utility/rel_ops.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/swap.h b/libcxx/include/__utility/swap.h index f9e7f36678ba..f16d6cd1a78e 100644 --- a/libcxx/include/__utility/swap.h +++ b/libcxx/include/__utility/swap.h @@ -17,6 +17,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/to_underlying.h b/libcxx/include/__utility/to_underlying.h index 3428406e8d3a..24edd966d8ac 100644 --- a/libcxx/include/__utility/to_underlying.h +++ b/libcxx/include/__utility/to_underlying.h @@ -15,6 +15,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/transaction.h b/libcxx/include/__utility/transaction.h index 87e51c0b198e..0d3e93b093ca 100644 --- a/libcxx/include/__utility/transaction.h +++ b/libcxx/include/__utility/transaction.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__utility/unreachable.h b/libcxx/include/__utility/unreachable.h index 485edb227c92..071aef98ddf3 100644 --- a/libcxx/include/__utility/unreachable.h +++ b/libcxx/include/__utility/unreachable.h @@ -14,6 +14,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #endif _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/include/__variant/monostate.h b/libcxx/include/__variant/monostate.h index b389c3b56b36..f4e19d2929ac 100644 --- a/libcxx/include/__variant/monostate.h +++ b/libcxx/include/__variant/monostate.h @@ -16,6 +16,7 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header +# pragma clang include_instead() #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 index 000000000000..00b86ec4f893 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.module.verify.cpp index 26a9e766279b..e445eca75381 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/adjacent_find.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..bb7769989270 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.module.verify.cpp index 5f6b144dc246..94cbcd38d239 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/all_of.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a5c36fd9975c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.module.verify.cpp index dbbebe6ade66..6a7f3066657a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/any_of.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..25df4b4a5084 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.module.verify.cpp index ce749df49c87..c5dc84ca6cad 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/binary_search.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3c2f21c7a0b5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.module.verify.cpp index 646c169e5f0d..85b7ba3e5c06 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/clamp.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..87947942abac --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.module.verify.cpp index 457dc03dc9de..16127b5d37e2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..7318dfb5474c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.module.verify.cpp index 400d354c3c59..3bcfe37a9df4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/comp_ref_type.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d47b3cb8ccd2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.module.verify.cpp index c213de50fbad..9dc3406388f0 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b976a1d3fb46 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.module.verify.cpp index 90861e7fbc9c..22cd8cd653e5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_backward.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..086f241b7e06 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.module.verify.cpp index a8c0e5303d0e..91fff8139151 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_if.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..162de899fb9c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.module.verify.cpp index 94dce2dc5160..88100beac424 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/copy_n.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3a1513b6b7e8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.module.verify.cpp index 0ffe17db37e2..40583e7870bc 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..cca6d6cfe179 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.module.verify.cpp index b30b98e5404e..4465c91ec41f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/count_if.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e7cf52486104 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.module.verify.cpp index 0470090e1150..877b70a7ec25 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..cc7eab0ab806 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.module.verify.cpp index d061ba75acc7..e8217712d8dc 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/equal_range.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0fbfa0121e83 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.module.verify.cpp index 1a565066f084..c5d95121fd74 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e0be00bdef6c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.module.verify.cpp index 42c105c0450d..b0075472caba 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/fill_n.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..82119fedd931 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.module.verify.cpp index b6f8849595fd..5e464846ffb8 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3e7f60efa151 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.module.verify.cpp index a793020545d1..0f8788ca0aac 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_end.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..1864d3e094dc --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.module.verify.cpp index 786a288e72fe..0d92c1fc655e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_first_of.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..afe5ff39cbc9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.module.verify.cpp index 2e658622adf8..123ed3f24e4f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..67077014c159 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.module.verify.cpp index be6678e93b42..af941eede4ff 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/find_if_not.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6dcf52f9167a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.module.verify.cpp index d567e5201d9e..d7d37fb34175 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6b743389d2f2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.module.verify.cpp index b5211213d84c..bb777bb97de5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/for_each_n.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..8fe3ffd77346 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.module.verify.cpp index 58a35f3ab7d8..1d22acb51cef 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6ba2bc266381 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.module.verify.cpp index f4196b418525..67984f067113 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/generate_n.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d317cc62d70b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.module.verify.cpp index 70001c138a3a..1e69336f7cd5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/half_positive.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9a2026f8637c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.module.verify.cpp index 8c6b4acf96e1..7c9a86964f05 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_found_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..42fa062d6a2e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.module.verify.cpp index ff1418326e60..bf55ae3425f8 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_fun_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..80ea593a3cec --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.module.verify.cpp index 887c3078c100..5d1b75682d32 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_out_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..94f2d20681b9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.module.verify.cpp index 3ae3c161ce9f..44b1fca1a299 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_in_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..814d650d7f74 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.module.verify.cpp index e1c0273d4c96..119cc90c6f73 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_out_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ae13001f82e1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.module.verify.cpp index 254aca51128f..590127185c09 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/in_out_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..461ab6f9e8ef --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.module.verify.cpp index babab066f538..16e2b911d8a8 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/includes.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..92e82b54758e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.module.verify.cpp index 5c191c37a32b..2e8ea0a2fbdd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/inplace_merge.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..682787b4f815 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.module.verify.cpp index a67bf39053b5..3bdf3c982e0a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..44c4d3059cca --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.module.verify.cpp index c5cdfeae119f..9545b2d98166 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_heap_until.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9ff6dfdbfcc5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.module.verify.cpp index d1640a227956..685e9c5bcb27 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_partitioned.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..11a4c12b7761 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.module.verify.cpp index 7bdaaaf2a12d..5b3d1ca92cca 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_permutation.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c28d3937dfd5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.module.verify.cpp index dbf4c10f6995..6bdf25d3cbbe 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a0955e0ed4fb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.module.verify.cpp index 60175e4461ae..6f4f12c6f87d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/is_sorted_until.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..401a98f92e38 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.module.verify.cpp index a01438d44a3b..7db68792f945 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/iter_swap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6f0e4bb747de --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.module.verify.cpp index d692be6e45da..7c417f612387 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lexicographical_compare.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/lower_bound.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.header.verify.cpp new file mode 100644 index 000000000000..4a1b509daa30 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.module.verify.cpp index 37622f64352b..5d2347b3acad 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/lower_bound.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b5088854b317 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.module.verify.cpp index d68167513572..2ac533eac94f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/make_heap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c81bed787609 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.module.verify.cpp index ab7555f8262a..51f0e90adc1f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9108d4445156 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.module.verify.cpp index 99244e92044f..e25d1927efb0 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/max_element.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ca07885d64eb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.module.verify.cpp index 3abafd53872c..5f4ca30aa216 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/merge.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9c13996df364 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.module.verify.cpp index a094afd2f21a..26f265b0efc6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..af9054719199 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.module.verify.cpp index 0fdef67e5352..1e4174abd695 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_element.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..940da7f0f542 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.module.verify.cpp index 69270642bdfa..7107c8c61c17 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/min_max_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9d0b43d07989 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.module.verify.cpp index 2afe29b96407..a595d38c9a84 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..58adf28a9467 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.module.verify.cpp index 4f416c6ac7c6..18d7f7d41013 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/minmax_element.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e462477641ef --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.module.verify.cpp index 91ab28b41b54..b5645a27b3b6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/mismatch.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..090b37b8e226 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.module.verify.cpp index c5100b1f2e70..80030e2746d6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6751b9b72aee --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.module.verify.cpp index 67a359c7bf81..ef738d00aeee 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/move_backward.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..61186769701c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.module.verify.cpp index 91b795280f9c..08df0a706eab 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/next_permutation.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..04267595cb6b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.module.verify.cpp index 1cf437608b3d..f421b9d53dd1 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/none_of.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0a63fd6efaf1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.module.verify.cpp index 77ceaf6ca39c..14e69fa16dcd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/nth_element.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0e23bdd12982 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.module.verify.cpp index 4a8b45a82d73..9b189241eb41 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..591795ba6f81 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.module.verify.cpp index 4db8fdaa6560..42242f705a3a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partial_sort_copy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ab82139af718 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.module.verify.cpp index 134b02eedf76..f7e213663adf 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..204748f451be --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.module.verify.cpp index 21cc2a0f9ae3..92462787e7c0 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_copy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c242d401709c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.module.verify.cpp index b2b778d81252..e22856ee2600 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/partition_point.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..38ef5d8dcfdf --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.module.verify.cpp index 726f92ab4777..f5fe44f277cf 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/pop_heap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f41907cd3060 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.module.verify.cpp index a23b26cdd6a6..5d7c7dd72c03 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/prev_permutation.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..7fa261a468bc --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.module.verify.cpp index ff54c01fa773..b1a2d743aa52 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/push_heap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f070ab1d4d8a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.module.verify.cpp index 0b10fb5f5e8e..75ae95a9ca63 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_min_element.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_swap_ranges.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.header.verify.cpp new file mode 100644 index 000000000000..2b76681d4eea --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.module.verify.cpp index edd4c30f5f43..97533d29e417 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_swap_ranges.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.header.verify.cpp new file mode 100644 index 000000000000..bd1880038a34 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.module.verify.cpp index 9f79428bfdf6..cf78bbcaef77 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..86fd2e0046e2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.module.verify.cpp index a4161ef71da7..ff7afca29842 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..35f9003ee54f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.module.verify.cpp index a6b6e17a10ee..55a21c529d41 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_copy_if.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d28a6fe4083f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.module.verify.cpp index a6fdcee78b1e..4309184ae51e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/remove_if.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ea017268baa1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.module.verify.cpp index e81a1aa16ca5..ec81e421e68d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..fc2bddea6221 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.module.verify.cpp index d8989434b43e..cb95f4c97ad7 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4011c6d24e9f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.module.verify.cpp index 30a0db3f1dbd..b67f7fa87fea 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_copy_if.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6dd5374ed360 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.module.verify.cpp index fafc501a66a0..616fe024ae11 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/replace_if.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..bf7fb214783b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.module.verify.cpp index 68230d6d140e..6ead238517dd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4e332f6ae944 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.module.verify.cpp index 197544959ae3..8e174853797f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/reverse_copy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c0d00b480b1e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.module.verify.cpp index ba8f574cd680..2cb958c868f6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3631d603bb7f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.module.verify.cpp index 6befaa9baca3..453c9477691d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/rotate_copy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..28c08c5fa8df --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.module.verify.cpp index 958c6a5781b6..bce9021616a7 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sample.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..8b431651789b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.module.verify.cpp index 8d2d283be05a..965e26e368eb 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..7fe8fd4efbfa --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.module.verify.cpp index a4313cd2c590..1b96ca21ba81 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/search_n.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..fbc10afbb7a5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.module.verify.cpp index 0357fa5899b2..e620e30e5423 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_difference.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f16828051c9f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.module.verify.cpp index de43e0ff0543..760995e23e55 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_intersection.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e86d8beb4226 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.module.verify.cpp index 4c2924c1615b..9d9bdad0e3a0 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_symmetric_difference.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_union.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.header.verify.cpp new file mode 100644 index 000000000000..304247b9ff84 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.module.verify.cpp index ace992504baa..b33fa8af0f10 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/set_union.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4bae3c86018c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.module.verify.cpp index 790612b5e6c9..14f90a22a106 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_left.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..009731df0b1b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.module.verify.cpp index 6dd3204ad22f..3a07bbda76ac 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shift_right.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..2d4e80402b10 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.module.verify.cpp index 4c45a2fc156b..3273d9024376 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/shuffle.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..1f7d88457853 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.module.verify.cpp index 675cb4bb7dc1..d4ed87fcfcc6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sift_down.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..dde99e316501 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.module.verify.cpp index acf53bdcbf12..42e369b23efb 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..766900df834e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.module.verify.cpp index b62c34a699f6..fbb405c8f7ea 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/sort_heap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b217e0ebfd28 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.module.verify.cpp index c84549885396..74edd3851534 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_partition.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..22708f7b9e1d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.module.verify.cpp index 082a0f3633b3..999a0878a7a8 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/stable_sort.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a150c471bbb3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.module.verify.cpp index 63b9afdcfd80..294a06b2cda0 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/swap_ranges.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b4a5176ccb5b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.module.verify.cpp index 1fc4b822fe41..b9f59dc17ad9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/transform.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..83098e580e8e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.module.verify.cpp index 15794807f064..c1ee21884b45 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ca1e44debcb0 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.module.verify.cpp index 6aab92c88bcf..b589e88d3561 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unique_copy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..002c8b541bcb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.module.verify.cpp index 9dbf1b371fa1..f6a80e217846 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/unwrap_iter.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..788c81e07162 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.module.verify.cpp index 12045bbe43ca..25b065f2e983 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/algorithm/upper_bound.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- C++ -*- //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/availability.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/availability.module.verify.cpp index 3082b0fc7dfa..4f966e736a87 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/availability.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/availability.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f1e1999cc47b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.module.verify.cpp index 11a90eca4499..c5fb85d2e05e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/bit/bit_cast.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..58cf3051939a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.module.verify.cpp index 08dc7f36c21f..2b64b4561afe 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..2d360ecceb6b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' or '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.module.verify.cpp index 160895420b94..3676f7ad5c50 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/bit_reference.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..2033f5cd2af4 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/bits.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 {'', '', '', '', '', '', '', ''} instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/bits.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/bits.module.verify.cpp index c3a99dd283f5..fa9f78495f91 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/bits.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/bits.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..714cc4e43478 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.module.verify.cpp index 3324c24d70c6..09586b2d0b57 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/chars_format.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a7ade3c7530b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.module.verify.cpp index ac53be0bf61a..00e0927c0ed9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/from_chars_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..332e6841b9e4 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.module.verify.cpp index 2d1805e4338b..6d704cd47e50 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/charconv/to_chars_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e0a7e1ef7aec --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.module.verify.cpp index 5e8cf1638fe6..c07f51216e6a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/calendar.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..547285d67eb0 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.module.verify.cpp index 664ccd72f20a..33e902d12901 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/convert_to_timespec.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..24de1c23f99f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.module.verify.cpp index 943e10c2035b..2a109355655c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/duration.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5428b6347bf9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.module.verify.cpp index e8b17ab632c0..08193699eeb8 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/file_clock.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9a81c5364fb5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.module.verify.cpp index 6eda673f1c62..3a18af5f85c4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/high_resolution_clock.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/steady_clock.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.header.verify.cpp new file mode 100644 index 000000000000..35c6250f46ec --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.module.verify.cpp index ef30dd14da9e..3cfbb1619549 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/steady_clock.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..1185862b23c8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.module.verify.cpp index 7a007d8710be..402af44e9660 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/system_clock.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..65eb6c0259fd --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.module.verify.cpp index fa9de3a5860c..c8a9d9886ae7 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/chrono/time_point.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d2b129b093ce --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.module.verify.cpp index d32f1bf26b6a..21b15b4dfe84 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/common_comparison_category.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_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 index 000000000000..22c40f48daf5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.module.verify.cpp index 2fce55e31b18..a6badd2280cf 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_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 index 000000000000..d42b0022648d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.module.verify.cpp index 6d8d1b925285..5b0eb301147f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.header.verify.cpp new file mode 100644 index 000000000000..8532c63eff55 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.module.verify.cpp index e6428cec2c43..127dc1f1f02b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d61e6f52f927 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.module.verify.cpp index 0e544ee7b330..f9e705d331cf 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_three_way_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_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 index 000000000000..42baefc47b05 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.module.verify.cpp index 1a2db89d45ea..0b10238682cc 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/is_eq.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.header.verify.cpp new file mode 100644 index 000000000000..997c92e082b2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.module.verify.cpp index 4936b175f2bc..2bc316ef44ca 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/is_eq.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..591e28aadac4 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.module.verify.cpp index 2c0580c2154a..b1950f9aa784 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/ordering.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..2ca9892abd21 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.module.verify.cpp index 28b84a6849fd..2fae8df5af33 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/partial_order.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ead014336482 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.module.verify.cpp index 65141389d8a7..37bd26391f20 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/strong_order.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..32575c8365db --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.module.verify.cpp index 3fc2db9d6729..b2e41dcc30e9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6513adcd5c9c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.module.verify.cpp index 293d1e03cfba..f7481d655379 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/three_way_comparable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/weak_order.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.header.verify.cpp new file mode 100644 index 000000000000..b320f5bd4b81 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.module.verify.cpp index b4881734e76e..5b969fb1c2ec 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/compare/weak_order.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ea075862a420 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.module.verify.cpp index 47efebd9d428..790de84d4504 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/arithmetic.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..11428f004eff --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.module.verify.cpp index 9b43bd2d03ff..c3c93c681721 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/assignable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..68184229bee7 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.module.verify.cpp index 210c614d3ff9..e49593cda2a7 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/boolean_testable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..dbb065c1a01e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.module.verify.cpp index 8f421ab5fa88..131cb6262a83 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/class_or_enum.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9e665748a3e5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.module.verify.cpp index 243403be7cdf..f5f72c573873 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_reference_with.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_with.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.header.verify.cpp new file mode 100644 index 000000000000..eb25f5aa5073 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.module.verify.cpp index 2683319677a5..b14f6a8097ee 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/common_with.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..fefb326aecc8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.module.verify.cpp index bb81a2a491c8..03e6e659319c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/constructible.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..22ef84b2c90c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.module.verify.cpp index 7ac3fb62d9b9..81cbb69942c2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/convertible_to.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..31f164eb1120 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.module.verify.cpp index 9aaf8e5d2804..1f1b63f799a2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/copyable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a34159ec95c8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.module.verify.cpp index 6ef8f2bbdecb..71a4be3a47ab 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/derived_from.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a24511b8350c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.module.verify.cpp index 877e5e796567..32b187a7405d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/destructible.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..86792d26bc68 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.module.verify.cpp index 2eb42322beb7..01a0a7b7f1da 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/different_from.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3ccd89cf47c8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.module.verify.cpp index 9c6e3bd0b443..a36514668392 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/equality_comparable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/invocable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.header.verify.cpp new file mode 100644 index 000000000000..3aa9f08e95eb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.module.verify.cpp index b34e615834a3..b1b844363df2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/invocable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..cb310b1ab772 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.module.verify.cpp index a8f4efdf0c14..6527ff6ff2cd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/movable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..49b0db57b2be --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.module.verify.cpp index 2c4db9d85b46..482e73f8c297 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/predicate.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a2750fb4e1d2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.module.verify.cpp index 0a1186a9ecfd..91c5ebfa6288 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/regular.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6a9ee6e40b67 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.module.verify.cpp index ae6b13c6a6e1..6da37861a6cd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/relation.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c5bf25f94d61 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.module.verify.cpp index 561643b9be77..39e8eb243d55 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/same_as.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6acec4451d69 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.module.verify.cpp index add480ebf745..ed56ed767d17 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/semiregular.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e7a11a2b5b8b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.module.verify.cpp index dae0de3b089b..e8da3af8c8fe 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/swappable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ad9b83f1db64 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.module.verify.cpp index 0e07ad79b03f..3c046b91a58d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/concepts/totally_ordered.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..29583e59610e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.module.verify.cpp index e78f90e64602..5f7b2b40c596 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_handle.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3dbed44862d0 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.module.verify.cpp index 4af6ec50ba03..64cda6ca7102 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/coroutine_traits.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e8a0c6685e88 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.module.verify.cpp index 6dc58c451512..4bbfbdb0dda9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/noop_coroutine_handle.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/trivial_awaitables.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.header.verify.cpp new file mode 100644 index 000000000000..151f8374b201 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.module.verify.cpp index 0f5e6b1229df..05fb2b5919aa 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/coroutine/trivial_awaitables.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- C++ -*- //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/errc.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/errc.module.verify.cpp index 16dbd962458b..8489223bce61 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/errc.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/errc.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..36dba7c74e09 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.module.verify.cpp index 064a034a9dd2..282930eb4a20 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/copy_options.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c35cbb9da96e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.module.verify.cpp index 6fef616cd53b..2e8dc7c52994 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_entry.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4cbcb480ccb2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.module.verify.cpp index 6d01cd743d85..44261b743544 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_options.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.header.verify.cpp new file mode 100644 index 000000000000..a03a3da02014 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.module.verify.cpp index 2316023813f0..40a4ee219167 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/directory_options.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_status.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.header.verify.cpp new file mode 100644 index 000000000000..5bb5cee9c0d3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.module.verify.cpp index 9419bdb2d573..5e839a2794df 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_status.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f03a76815e67 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.module.verify.cpp index ac940261c096..664424325c30 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_time_type.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6b6a2f9e6ea5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.module.verify.cpp index 70b5d9792c45..8a2427acdf30 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/file_type.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0d586625f74f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.module.verify.cpp index 095a71569ff5..f82dda31d547 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/filesystem_error.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f0f841e34cb9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.module.verify.cpp index dc156cd5145b..9a7c743b3731 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/operations.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..49cc42ddd043 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.module.verify.cpp index f232bf7b98f8..b83560e05d0d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b6ad11c3d5eb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.module.verify.cpp index 71e1928d2508..21e98a7a7d15 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/path_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a7643248b42e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.module.verify.cpp index 8a8c25edea98..6b81e20bc819 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perm_options.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c33352994d1a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.module.verify.cpp index 0df582305e8a..80e5d35fef40 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/perms.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..79db5766377d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.module.verify.cpp index 73b7de8f8196..6c28e5957965 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/recursive_directory_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/space_info.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.header.verify.cpp new file mode 100644 index 000000000000..5f3e297eae7d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.module.verify.cpp index d5f7586ca5d2..598a200c41d3 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/space_info.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e62833aa2853 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.module.verify.cpp index 5f54ab6908f2..107b00a02b92 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/filesystem/u8path.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..80ac96bbfd13 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.module.verify.cpp index 24175de24ab2..907d41c19acb 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_arg.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..1c70397febf1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.module.verify.cpp index bbf74ba48e69..975e45b4fd9d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_args.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d0f5cebaeca6 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.module.verify.cpp index beb48ea9237c..68aa967058c4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_context.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..151835c7b5d2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.module.verify.cpp index d1efdc16d634..f6af9432c8ea 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_error.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3b6cca65b21b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.module.verify.cpp index f52877da2eaa..8037c4d9603b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_fwd.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5bdaef58ae7d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.module.verify.cpp index 24c08941b62a..308f66e8c570 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_parse_context.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..de571ad9e6bf --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.module.verify.cpp index a8856c5543f1..c331785f3677 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a471a7fe246c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.module.verify.cpp index 86903a605696..5f2797da6ea1 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/format_to_n_result.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..828df06fbbcb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.module.verify.cpp index 1c0b1cb86d54..4a5b4b380f6b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f484f3f414e3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.module.verify.cpp index 7fcb99b683cd..9cd9dfa37a16 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_bool.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5642298e9ae8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.module.verify.cpp index cc07ae4ed7cb..14f631df85ef 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_char.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6405f32be06b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.module.verify.cpp index 35f19dcf76a7..f8d44c457895 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_floating_point.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_integer.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.header.verify.cpp new file mode 100644 index 000000000000..221a9f4e9859 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.module.verify.cpp index 44890215c181..33e937a62e5a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integer.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..521cd0c59c65 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.module.verify.cpp index 0ad52c7e316b..b7d5e11127d1 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_integral.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6a5a7e646d1f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.module.verify.cpp index abb82de85f37..6ade61b41849 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_pointer.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..592733028115 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.module.verify.cpp index 019de969168c..fac1465d028e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/formatter_string.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9349e041e7f1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.module.verify.cpp index 5936589d8c0f..e846e765e89b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_function.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.header.verify.cpp new file mode 100644 index 000000000000..401c0ff5118a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.module.verify.cpp index 47e3fe1baf28..46be85ab992d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_function.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..7f6d5404520e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.module.verify.cpp index b444182fab86..4c9210165b66 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binary_negate.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..8d9b3c13676f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.module.verify.cpp index ac8ad2516ea9..b8616081b7ea 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..adc83b6111fc --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.module.verify.cpp index a05c0d0307e7..8e2c5e494dfb 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_back.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..2faadd588448 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.module.verify.cpp index 121bc6cd6b76..4b2f25f93b94 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/bind_front.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..56afd7760874 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.module.verify.cpp index 302b63b86488..c639813b9785 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder1st.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0ab1d945b676 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.module.verify.cpp index 4f9b1df5507a..4f2ba8091872 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/binder2nd.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ececb2d1cc49 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.module.verify.cpp index e4e665f8f631..019b19edb806 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/compose.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5e3f5f872500 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.module.verify.cpp index e749a57f2f0c..7fe174a3f4a5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/default_searcher.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d9f9cec779eb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/function.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/function.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/function.module.verify.cpp index fab65edbd4f5..16bd1ddeb09c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/function.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/function.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..eb110560a801 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.module.verify.cpp index 73ed2dc9e702..ecb2c0a39fa0 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/hash.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..54c96015e8a2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.module.verify.cpp index 986c3c04ff6c..b795b5ddc6e1 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/identity.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6b611f254421 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.module.verify.cpp index 21d2dca9f375..a368dc1ce035 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/invoke.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..997940455e89 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.module.verify.cpp index 602a00a7fd99..3f226199bae5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/is_transparent.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d63b9648fc23 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.module.verify.cpp index 5935fe230ddf..0d8e9c481686 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fn.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c744aba697e5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.module.verify.cpp index 17d32c30d51b..f28a1670f7dd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/mem_fun_ref.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..cf4a9f6b61c5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.module.verify.cpp index 809cd79203f1..d0c50107d512 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/not_fn.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..cd6afcfa7583 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.module.verify.cpp index 15f76c3adc6c..5f377080cb74 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/operations.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..43310be8c17b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.module.verify.cpp index 7663d902955b..a08a3cf1943c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/perfect_forward.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b1a6c605f2b7 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.module.verify.cpp index 3d7f4e8658fe..f98e81925cc6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_binary_function.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_unary_function.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.header.verify.cpp new file mode 100644 index 000000000000..1f6c9bcf6fb2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.module.verify.cpp index 2b6d36bbc8f1..7196117d08e3 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/pointer_to_unary_function.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/ranges_operations.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.header.verify.cpp new file mode 100644 index 000000000000..eea6415a8bc2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.module.verify.cpp index 17c81528fee6..17cb624fc70f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/ranges_operations.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/reference_wrapper.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.header.verify.cpp new file mode 100644 index 000000000000..d7119c921597 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.module.verify.cpp index 2b9da6b9c726..06b3bdd76d5e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/reference_wrapper.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_function.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.header.verify.cpp new file mode 100644 index 000000000000..e77b5bba206f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.module.verify.cpp index ed23b26f812a..aa2b688d277a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_function.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..fefcde18130a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.module.verify.cpp index fb7fd889d09c..0b1a9761f639 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unary_negate.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..93225a669049 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.module.verify.cpp index 174000fd4f95..804b2fb2221d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/unwrap_ref.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d8cf4e5ecf54 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.module.verify.cpp index 415389298418..8cc289342d26 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/functional/weak_result_type.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..92043df34851 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.module.verify.cpp index b89409820c57..e93049958cdd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ios/fpos.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d7f8a43f17ad --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.module.verify.cpp index 4b18d93d1b13..c0caedb4a402 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/access.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f19c2400a7a0 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.module.verify.cpp index 4742547c1e05..9c2836c03c22 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/advance.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6b328bd28b1b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.module.verify.cpp index 2997b5f83beb..a1a49b9c9adb 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/back_insert_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/common_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.header.verify.cpp new file mode 100644 index 000000000000..b0f7305a390b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp index c4b59a321f19..db1f3083876e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f90fbb0b5089 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.module.verify.cpp index 4890495a7a99..6e34ff0c3bd1 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/concepts.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4b6b4386f64d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.module.verify.cpp index 61cd06f92d6e..a8aedc699908 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/counted_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..645aa54f7958 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.module.verify.cpp index 0bda463ec045..eabd8e712ba2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/data.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9728d9c2f6d9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.module.verify.cpp index 88cf57a911f3..1f0f817c0ae1 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/default_sentinel.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..8ad2c3f631de --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.module.verify.cpp index 9618675f8e57..b9df11c96866 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/distance.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..987f564357e1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.module.verify.cpp index 316c9b71a729..5543561643d5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/empty.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..8d429ae86f70 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.module.verify.cpp index 10583ba8cb71..b1ac8ff12955 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/erase_if_container.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..411189d26b18 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.module.verify.cpp index bf3bdb3c3368..b18066442fd4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/front_insert_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/incrementable_traits.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.header.verify.cpp new file mode 100644 index 000000000000..5e3a85f67c3e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.module.verify.cpp index c0e0177f86da..c42bc62a2a69 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/incrementable_traits.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/indirectly_comparable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.header.verify.cpp new file mode 100644 index 000000000000..9962589092bc --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.module.verify.cpp index 7115f7241e89..4470825d7826 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/indirectly_comparable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/insert_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.header.verify.cpp new file mode 100644 index 000000000000..f4b6b8f9b498 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.module.verify.cpp index bcf7d5c1adcf..b9a307c50b33 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/insert_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..06d220ee6a08 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.module.verify.cpp index 5bc167d0a797..df7989fd7b32 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istream_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6c68114ad582 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.module.verify.cpp index f54ad3cb7ccc..8572c81aa92d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/istreambuf_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_move.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.header.verify.cpp new file mode 100644 index 000000000000..62dfbc629f7a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.module.verify.cpp index 6dde172849d8..ef98fd535e0f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_move.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5f9f17a0ea1e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.module.verify.cpp index 8e55c55c73be..110324b77b4f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iter_swap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..be447938250c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.module.verify.cpp index 605e2208f17a..cb565d969ccd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..657045b05ade --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.module.verify.cpp index 43d4f78523a1..9e4c0c42d88b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/iterator_traits.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c2cd5211cff1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.module.verify.cpp index b8f15dcbd6d1..d93479c8a36a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/mergeable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..323b7fb7e6b6 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.module.verify.cpp index 560ce301fb92..a73b44a65b3c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/move_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4e1c9fa5a1c9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.module.verify.cpp index 6f61e3c0054d..4098301762b5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/next.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b9474b5c43c0 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.module.verify.cpp index a55f5f0bde86..9f522aa8d828 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostream_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f42717916707 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.module.verify.cpp index d6e0a276937e..ce9c257f5475 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/ostreambuf_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/permutable.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.header.verify.cpp new file mode 100644 index 000000000000..952e39cf4522 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.module.verify.cpp index ad550d151ec0..76a687b79892 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/permutable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..edd574fa0761 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.module.verify.cpp index 1c44682025a2..01ef28172d41 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/prev.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..15d0c5a7a3bb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.module.verify.cpp index a5021efd41ee..69f445fbe6f3 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/projected.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..9463be933b2f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.module.verify.cpp index ad97fb322e21..0c4c367a45f1 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/readable_traits.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..7dea1f90fc89 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.module.verify.cpp index ad87e2fdf68f..1dd372bf634a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_access.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ff5b23a3f137 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.module.verify.cpp index 98ca79b8af59..eb0517abb03c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/reverse_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..da8fcd901a1e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.module.verify.cpp index 730583149cc8..8d7d496a5906 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/size.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..35f053a6caee --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.module.verify.cpp index 47ed326bccc5..242ac0897eba 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/sortable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3a2a33911a09 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.module.verify.cpp index be10ca6fb9cc..d71b9e336bb5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/unreachable_sentinel.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/wrap_iter.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.header.verify.cpp new file mode 100644 index 000000000000..408b32e0e533 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.module.verify.cpp index d8c26821a714..d151d7264f65 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/wrap_iter.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6a678610ff66 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/locale.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/locale.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/locale.module.verify.cpp index 98bb452313b7..b880842c0f44 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/locale.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/locale.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- C++ -*- //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/mbstate_t.h.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/mbstate_t.h.module.verify.cpp index a656832feb07..054e58f9237b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/mbstate_t.h.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/mbstate_t.h.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e7f610bc9671 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.module.verify.cpp index 3ea2d3b6c53f..d596c7660857 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/addressof.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4f52d4579086 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.module.verify.cpp index ac2ec60deb97..715ebff8c04b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocation_guard.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..522f252b8772 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.module.verify.cpp index f6e8de6abc84..9d20a0f61fa9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d86e145fe7bd --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.module.verify.cpp index f530e849e54b..d7d5e6993894 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_arg_t.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e44cedde7f69 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.module.verify.cpp index ec9483d8935b..ab0a5758918f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/allocator_traits.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..01e757de2b4d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.module.verify.cpp index cc143a1430ec..b46f06db44c2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/auto_ptr.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0ffec783cea9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.module.verify.cpp index 15fb22b09e74..0c54b9158ba8 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/compressed_pair.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c4578e8bdd55 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.module.verify.cpp index ff6bb7a50127..46e47260aa24 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/concepts.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a303e3276db5 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.module.verify.cpp index 28461b3fad95..957636014204 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/construct_at.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6ac66dd0a6a3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.module.verify.cpp index 501152877792..000ef0f3ebba 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/pointer_traits.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..82ce8db650f2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.module.verify.cpp index 1aca1e47f6dd..b9cbffaf9dd2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..7e65805d5a88 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.module.verify.cpp index df36bbf54934..a50b6ac995b9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_uninitialized_algorithms.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/raw_storage_iterator.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.header.verify.cpp new file mode 100644 index 000000000000..26423591bb64 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.module.verify.cpp index aa7737697135..6f575bc2e19c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/raw_storage_iterator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..43021617e597 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.module.verify.cpp index b69fef8c5397..63edce9b9865 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/shared_ptr.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..bd55f630b4e1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.module.verify.cpp index c4680251d5b7..e9d343b34866 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/temporary_buffer.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..50cffcd62b14 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.module.verify.cpp index 48bab53acc85..a20d34e78071 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/uninitialized_algorithms.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/unique_ptr.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.header.verify.cpp new file mode 100644 index 000000000000..34980f07b5fc --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.module.verify.cpp index 7cd7116cefc4..b9a6bf514cd6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/unique_ptr.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6e64dfb34d03 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.module.verify.cpp index c7f86b224997..b7804aa026da 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/uses_allocator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..7eb494dc1f0e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.module.verify.cpp index a8fa2dd39913..532952d749a9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/memory/voidify.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..abc0e9f1e2eb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' or '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.module.verify.cpp index 13d60b319596..0dd39407f738 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/mutex_base.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..67549af89fd0 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/node_handle.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 {'', '', '', ''} instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/node_handle.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/node_handle.module.verify.cpp index 97dd3fa80447..01b9fa5e809a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/node_handle.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/node_handle.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3063b85906b1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.module.verify.cpp index 6034f8cbc082..6f3e6ef42964 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulate.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..44f0c2154b77 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.module.verify.cpp index 8b2a503ef89a..a9c273f26449 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_difference.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3b18cf368fe2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.module.verify.cpp index 853f2cac22ba..6ad73df479e4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive_scan.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..87122121f646 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.module.verify.cpp index b04e76f3220d..cf34ea707e52 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..11d6faa6725f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.module.verify.cpp index 613f28afe533..6ac92c8b4d02 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive_scan.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..55c2b9168e0d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.module.verify.cpp index c4d414e43193..5e3add6bb3db 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_product.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ad56b5052fea --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.module.verify.cpp index ec50347739bf..2d47231abac8 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..af21f274c6a2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.module.verify.cpp index 03bddaf3cf04..0f8fe811fda4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a8e3fe169977 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.module.verify.cpp index d4746039309a..850568366fb2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_sum.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6cdc8d8592f8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.module.verify.cpp index 4f7cb07f5fd5..70fcb27e77b5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4935bd2670ba --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.module.verify.cpp index d4df0a0ae5e5..93f334450d45 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_exclusive_scan.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_inclusive_scan.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.header.verify.cpp new file mode 100644 index 000000000000..f75468ac8de7 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.module.verify.cpp index 4b2df7a355f0..37b7f662013a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_inclusive_scan.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_reduce.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.header.verify.cpp new file mode 100644 index 000000000000..e311bd9e5469 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.module.verify.cpp index 36968208703b..2339c37bca38 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform_reduce.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6c02fb24eba8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.module.verify.cpp index f7bd7c108d53..3eefa66cc178 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/bernoulli_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/binomial_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.header.verify.cpp new file mode 100644 index 000000000000..348894f408db --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.module.verify.cpp index 813f81f6d9ec..eadb55d9ef92 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/binomial_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/cauchy_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.header.verify.cpp new file mode 100644 index 000000000000..11a90e00345e --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.module.verify.cpp index cf08b044db28..7ff05ce48243 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/cauchy_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..2d7e959fd6a2 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.module.verify.cpp index 6905fc5103b3..9491aede94f3 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/chi_squared_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/clamp_to_integral.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.header.verify.cpp new file mode 100644 index 000000000000..a58cd17b80cb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.module.verify.cpp index 9909f48b0c6f..280410e9dd8e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/clamp_to_integral.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a818a4db0f0a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.module.verify.cpp index 7d8d1c8dbcbc..19431b7a8386 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/default_random_engine.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/discard_block_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.header.verify.cpp new file mode 100644 index 000000000000..f6de63f3d586 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.module.verify.cpp index b11758a19950..6fa02addc880 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/discard_block_engine.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c90154a497a3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.module.verify.cpp index 3720cfdb76a3..f7a2fb3539c5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/discrete_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/exponential_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.header.verify.cpp new file mode 100644 index 000000000000..14d585aa9e11 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.module.verify.cpp index 269f2440233b..544a04c7de6b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/exponential_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/extreme_value_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.header.verify.cpp new file mode 100644 index 000000000000..d98e23ba19cd --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.module.verify.cpp index cb0c654c4788..a4cc63566e71 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/extreme_value_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/fisher_f_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.header.verify.cpp new file mode 100644 index 000000000000..44fd734f7505 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.module.verify.cpp index 9cb139942258..8d1e6d2f26a6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/fisher_f_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/gamma_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.header.verify.cpp new file mode 100644 index 000000000000..7bbad397a6ad --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.module.verify.cpp index 89a931af819c..9b865c688de7 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/gamma_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..447d514e1eb6 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.module.verify.cpp index f471463c5220..36dbaee643af 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/generate_canonical.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e39f9674849a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.module.verify.cpp index 98891557e5cb..1a770f36fb6c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/geometric_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/independent_bits_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.header.verify.cpp new file mode 100644 index 000000000000..7f53c66abd7a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.module.verify.cpp index d413a81ae2e9..d6e5413775c5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/independent_bits_engine.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/is_seed_sequence.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.header.verify.cpp new file mode 100644 index 000000000000..bb8639a25805 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.module.verify.cpp index 7977563430a7..8d7af0ca8cb2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/is_seed_sequence.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..95f3251cf029 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.module.verify.cpp index de4898071eae..db858b55d714 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/knuth_b.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e1ab98ba36f3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.module.verify.cpp index ca686e4aa000..1f011252e0dc 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/linear_congruential_engine.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/log2.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/log2.header.verify.cpp new file mode 100644 index 000000000000..9aa08ba58c40 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/log2.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/log2.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/log2.module.verify.cpp index c56c02f4add7..872c53f89035 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/log2.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/log2.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..276a8bf3ff1a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.module.verify.cpp index fc4819e91386..f2cbbe9e6e19 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/lognormal_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/mersenne_twister_engine.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.header.verify.cpp new file mode 100644 index 000000000000..da197b399900 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.module.verify.cpp index 36e3ef84355b..ba68d208adb7 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/mersenne_twister_engine.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/negative_binomial_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.header.verify.cpp new file mode 100644 index 000000000000..9a78f9d408b6 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.module.verify.cpp index f3844cca1b1e..0e8b1e410af3 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/negative_binomial_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/normal_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.header.verify.cpp new file mode 100644 index 000000000000..27bef73a802d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.module.verify.cpp index f1daa42c3e86..d1174f043cb4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/normal_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..215794833176 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.module.verify.cpp index 34ab70808709..93c340ecd46d 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_constant_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_linear_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.header.verify.cpp new file mode 100644 index 000000000000..d4c3f675b7b3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.module.verify.cpp index 50c29b8fb96a..55e8fd1fe394 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/piecewise_linear_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/poisson_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.header.verify.cpp new file mode 100644 index 000000000000..d94936339bb8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.module.verify.cpp index 70e84489feb3..ea69593044b5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/poisson_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..2a840e53cc10 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.module.verify.cpp index a4fd93e934e7..6c8284ad6d05 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/random_device.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..51e0948989fc --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.module.verify.cpp index 225d7d4acc2f..4bf96d4d4f66 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/ranlux.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0787cad8f71c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.module.verify.cpp index c08dddb0087c..998887f96a58 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/seed_seq.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..48bc6a85ebf9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.module.verify.cpp index 0cc5fd56df69..54897cfd4556 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/shuffle_order_engine.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f2712a69dda9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.module.verify.cpp index 3b08fc55b941..0c0e7407857b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/student_t_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/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 index 000000000000..952ffd5ac5b8 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.module.verify.cpp index 27a352a399fa..dd334349e3a4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/subtract_with_carry_engine.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/uniform_int_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.header.verify.cpp new file mode 100644 index 000000000000..f534fdbde07f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.module.verify.cpp index 70f5a52d2f8f..df36fd28cf73 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_int_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/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 index 000000000000..79053f17e5e6 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.module.verify.cpp index 13cbe53da413..416bff4789a6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_random_bit_generator.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/uniform_real_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.header.verify.cpp new file mode 100644 index 000000000000..156c951f6cbd --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.module.verify.cpp index 6ad314449ffc..6ff4d89db960 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/uniform_real_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/weibull_distribution.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.header.verify.cpp new file mode 100644 index 000000000000..b5498cc40ac3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.module.verify.cpp index b1897147f159..bea3885b0afa 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/random/weibull_distribution.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d8db3c88c401 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.module.verify.cpp index b63968a7905e..d7ed40686389 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/access.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4d8beaa9ed02 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.module.verify.cpp index a72d58c8e370..b052cec21785 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/all.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b3ae487e8db7 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.module.verify.cpp index 2847cc842c60..49bd520439cd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/common_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..575222335af4 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.module.verify.cpp index 1cf0635f7620..9e2a7eead669 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/concepts.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5d4bb1d919b6 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.module.verify.cpp index 3059a113b473..b1749eb3921e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/copyable_box.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..cdf91dc79d4a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.module.verify.cpp index 9492562093bb..748706b81820 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/counted.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a7e99a061093 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.module.verify.cpp index 6585847afafa..5f4fa40cac61 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/dangling.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..27de95e5b1a9 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.module.verify.cpp index 27bce19cc69b..2ffc98b1874a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/data.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..960b8e591948 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.module.verify.cpp index ff10370b520c..4ae85f5e2b30 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/drop_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..dc2e08a38d49 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.module.verify.cpp index a4e63ab1d948..9edeb03fb2be 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c394b204ecd1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.module.verify.cpp index 4e068d3c603b..c4c8fce38f72 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/empty_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..cbd782e3accf --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.module.verify.cpp index 947b3c898d1f..4d83c0928822 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_borrowed_range.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.header.verify.cpp new file mode 100644 index 000000000000..16523d644985 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.module.verify.cpp index 9cbbd313f175..1e0920b7dd12 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/enable_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d7845dc6f602 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.module.verify.cpp index a66c7ca19117..8b2d4cad2da2 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/iota_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..f557420f8758 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.module.verify.cpp index 19bada4336bf..ff48b744d5d9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/join_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6de2117f97dd --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.module.verify.cpp index 6d7be86d79e6..4f42d17cfd08 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/non_propagating_cache.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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/owning_view.header.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.header.verify.cpp new file mode 100644 index 000000000000..2a9209114311 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.module.verify.cpp index e68237cc5b68..5625f48b3708 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/owning_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..d8cbed2451df --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.module.verify.cpp index 33de132ed15b..b1bdc0d1e687 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/range_adaptor.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6fd31a247661 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.module.verify.cpp index c91765bba565..860c6813053a 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rbegin.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0f314eb49e80 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.module.verify.cpp index f62283d88278..5c7169bdd689 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/ref_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..124fa21a960d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.module.verify.cpp index 460c5a9594a9..fbb5b567e892 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/rend.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..39123900e7b1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.module.verify.cpp index f0d35242828e..66c8f84ee44e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/reverse_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5acac5c64f9a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.module.verify.cpp index a23b911c2d72..eb6e276d0a45 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/single_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..53c46eb251fb --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.module.verify.cpp index 9d02d7dc7b35..39fab7ea0b31 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/size.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..fdae18b76d0a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.module.verify.cpp index ad1ddc44ea6b..53bf897a34bd 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5a2b62db3e1c --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.module.verify.cpp index f59a0a3c08e8..39b1231cc3c9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/take_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a1a4168d5e4b --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.module.verify.cpp index f39fc1af6475..d014f30e87a6 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/transform_view.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..14f6a03cda3d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.module.verify.cpp index 55b8d2e0db98..92cea7c2f7e5 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/view_interface.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a4bdf4fabaac --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.module.verify.cpp index 3b5b61709687..1c91cc61b1c1 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..23457a3a0fe3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' or '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.module.verify.cpp index f658ee540ec2..b0136c85c8e4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/split_buffer.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5e04a6bd6427 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/std_stream.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/std_stream.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/std_stream.module.verify.cpp index eb360d48a7e1..fe8b52e0962e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/std_stream.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/std_stream.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..776d82ba8ea1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/string.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/string.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/string.module.verify.cpp index cdd9a21006f3..b368079cf93f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/string.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/string.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c23b9852637f --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.module.verify.cpp index ea2e7729df74..d85fdd0ca20c 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/thread/poll_with_backoff.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a41264b61692 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.module.verify.cpp index 45e04f4cb86c..8e04eee74f4e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/thread/timed_backoff_policy.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..e245d138f076 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/tuple.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' or '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/tuple.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/tuple.module.verify.cpp index a2808546cdcc..d20d348b0478 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/tuple.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/tuple.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..182af7884174 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.module.verify.cpp index 5a5020c1ee7b..afa0a116b088 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/as_const.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4129fb5b7e88 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.module.verify.cpp index cf012c3d17e0..48e64cb1072b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/auto_cast.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..32abf54442fd --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.module.verify.cpp index abf979b5f632..0f491b538c22 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/cmp.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..b3d71ba33d0a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.module.verify.cpp index 065590a28b07..8c9feed63a04 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/declval.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..c75cd130ea82 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.module.verify.cpp index 5cbe3bdc0c41..047b8aeed12b 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/exchange.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..00ed259f3a72 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.module.verify.cpp index 27b3f1b74574..ed4af64de985 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/forward.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a25d80097fc3 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.module.verify.cpp index 0c811afe9131..ebf2019197e4 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/in_place.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..a74f432cf382 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.module.verify.cpp index eecef46728c0..36208e7df162 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/integer_sequence.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..6a04a8a5baee --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/move.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/move.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/move.module.verify.cpp index 46b74153184f..e410bdb6da63 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/move.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/move.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..72a2ee5dcc31 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.module.verify.cpp index 7aa7846b7117..b847833a3e38 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/pair.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..3d0b0286b708 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.module.verify.cpp index 764a52a50a08..a804894bde90 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/piecewise_construct.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5541c19582b1 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.module.verify.cpp index 485fca07cd3b..b2210f3588f9 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/priority_tag.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..4d278eeef583 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.module.verify.cpp index a94572327873..94b198ea76b7 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/rel_ops.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..ba41270af502 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.module.verify.cpp index 0e69e9050dbb..0b5208f1a17f 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/swap.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5c6a745dae8d --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.module.verify.cpp index c3da6cd3abb2..553c29c582fa 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/to_underlying.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..8ca98e287076 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.module.verify.cpp index d453fa52f732..53c1babe8b74 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/transaction.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..5da882ad7b9a --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.module.verify.cpp index bbbf0e1b4a57..7041cc48e066 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/utility/unreachable.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- 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 index 000000000000..0dfef2237851 --- /dev/null +++ b/libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.header.verify.cpp @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: modules-build +// UNSUPPORTED: clang-11, clang-12, clang-13 +// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13 +// UNSUPPORTED: gcc-11 +// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads +// ADDITIONAL_COMPILE_FLAGS: -U_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 '' instead}} diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.module.verify.cpp index 5a94927d566b..bb20cbbede3e 100644 --- a/libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.module.verify.cpp +++ b/libcxx/test/libcxx/diagnostics/detail.headers/variant/monostate.module.verify.cpp @@ -1,3 +1,4 @@ +// -*- C++ -*- //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. diff --git a/libcxx/utils/generate_private_header_tests.py b/libcxx/utils/generate_private_header_tests.py index 810657ea4f41..eef03439f74f 100755 --- a/libcxx/utils/generate_private_header_tests.py +++ b/libcxx/utils/generate_private_header_tests.py @@ -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 "''"), 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 '' or ''", + 'bits': "one of {'', '', '', '', '', '', '', ''}", + 'hash_table': "either '' or ''", + 'locale': "''", + 'mutex_base': "either '' or ''", + 'node_handle': "one of {'', '', '', ''}", + 'split_buffer': "either '' or ''", + 'std_stream': "''", + 'string': "''", + 'threading_support': "one of {'', '', '', ''}", + 'tree': "either '' or ''", + 'tuple': "either '' or ''", + } + 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 index 000000000000..3e533f91ee7f --- /dev/null +++ b/libcxxabi/include/threading_support.h @@ -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 diff --git a/libcxxabi/src/cxa_exception_storage.cpp b/libcxxabi/src/cxa_exception_storage.cpp index 3a3233a1b927..ce44c3a176a4 100644 --- a/libcxxabi/src/cxa_exception_storage.cpp +++ b/libcxxabi/src/cxa_exception_storage.cpp @@ -12,7 +12,7 @@ #include "cxa_exception.h" -#include <__threading_support> +#include "threading_support.h" #if defined(_LIBCXXABI_HAS_NO_THREADS) diff --git a/libcxxabi/src/cxa_guard_impl.h b/libcxxabi/src/cxa_guard_impl.h index 72940cc7e869..b3c32028dc5a 100644 --- a/libcxxabi/src/cxa_guard_impl.h +++ b/libcxxabi/src/cxa_guard_impl.h @@ -56,7 +56,7 @@ #include #include -#include <__threading_support> +#include "threading_support.h" #ifndef _LIBCXXABI_HAS_NO_THREADS # if defined(__ELF__) && defined(_LIBCXXABI_LINK_PTHREAD_LIB) # pragma comment(lib, "pthread") diff --git a/libcxxabi/src/cxa_thread_atexit.cpp b/libcxxabi/src/cxa_thread_atexit.cpp index 665f9e55694a..1a04dddb34be 100644 --- a/libcxxabi/src/cxa_thread_atexit.cpp +++ b/libcxxabi/src/cxa_thread_atexit.cpp @@ -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") diff --git a/libcxxabi/src/fallback_malloc.cpp b/libcxxabi/src/fallback_malloc.cpp index 1d6c3808b217..9db431ee8297 100644 --- a/libcxxabi/src/fallback_malloc.cpp +++ b/libcxxabi/src/fallback_malloc.cpp @@ -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") diff --git a/libcxxabi/test/test_exception_storage.pass.cpp b/libcxxabi/test/test_exception_storage.pass.cpp index 934cc4b6a7cb..4f1121bc7f39 100644 --- a/libcxxabi/test/test_exception_storage.pass.cpp +++ b/libcxxabi/test/test_exception_storage.pass.cpp @@ -9,7 +9,7 @@ #include #include #include -#include <__threading_support> +#include "threading_support.h" #include #include "../src/cxa_exception.h" diff --git a/libcxxabi/test/test_fallback_malloc.pass.cpp b/libcxxabi/test/test_fallback_malloc.pass.cpp index cc59129bf660..886b9a5f895a 100644 --- a/libcxxabi/test/test_fallback_malloc.pass.cpp +++ b/libcxxabi/test/test_fallback_malloc.pass.cpp @@ -9,7 +9,7 @@ #include #include -#include <__threading_support> +#include "threading_support.h" typedef std::deque container; diff --git a/llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn b/llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn index 74541e6b3122..d2b6bc4422d2 100644 --- a/llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn +++ b/llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn @@ -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}}" ] } -- GitLab