From: Christopher Di Bella Date: Fri, 25 Feb 2022 18:59:32 +0000 (+0000) Subject: [libcxx][modules] protects users from relying on detail headers X-Git-Tag: upstream/15.0.7~15210 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5aaefa510ef055e8f044ca89e352d4313f3aba49;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/libcxx/cmake/Modules/HandleLibCXXABI.cmake b/libcxx/cmake/Modules/HandleLibCXXABI.cmake index d69405d..5b92ebb 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 83d8c26..e892ff4 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 3af32a5..7b4a52c 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 6fe6a0b..193f9bd 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 15a17e1..60f91f2 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 b3762b8..79eab53 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 62c06ae5..beb2b68 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 ed0ed59..70993d1 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 b4045cd..7c0ccb7 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 9754f0c..cd21620 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 9c3cd29..8960ce2 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 8b915af..93bcea6 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 e18128c..e29a84b 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 1ec2d83..b6432e9 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 ca1bc6b..bfd3bf1 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 37a2c29..f4654a0 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 be5b474..ecbdc50 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 590c8f3..3a0aca7 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 641b85e..b9ed3c8 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 0220c09..294f09e 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 b968329..1d3f0e9 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 aa98171..8fc59b5 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 61ddab0..58fc6c3 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 bfbd37c..4d869ea 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 2552b40..75245c3 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 dacbd8c..0b49f36 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 2650e9e..0184c1f 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 7666ef1..a3d7e18 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 08ebf2f..9cbcd31 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 d5186e1..d971bc3 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 f7cb698..5b17226 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 1590921..0de12db 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 9788fbf..d429d4f 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 fd394a3..6edd15d 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 4c87e8d..ec7d831 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 90ca152..d22c26d 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 fe44e63..cf57ef1 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 39f313e..f39cf9d 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 b4f421c..849fdab 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 cdd7420..2a58dcf 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 56de95b..b4bc21b 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 338d285..c920073 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 038859e..8963325 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 30ddf24..26ae99d 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 26b64ec..6bac873 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 acac0aa..7e1b9a2 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 345b235..f41a29c 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 795ec8e..ce1dfae 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 48360ed..82855fa 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 3d8c73d..7a092fe 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 129833d..b8da52b 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 1d56a74..9d0226a 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 30a1194..fddfcc6 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 80afbdf..38e280d9 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 f2011fa..d919e14 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 72bf3d7..7769225 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 a56f6b8..38d361d 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 05e56f4..1ea0b0d 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 b34b1e0..d9dbec0 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 0f9f66d..fb754fb 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 8adf5b2..9714e4f 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 7ed1e53..5a11963 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 73d9483..d2ed4b4 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 cacde0b..a53916e 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 c2fa841..24fd5d8 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 2a69f6e..6680369 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 9dbc1da..2f127ea 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 66973e0..8ff6df4 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 82aaeea..218cfce 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 59a875a..b05bff2 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 c00f96f..88bf9b4 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 a29a385..411723f 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 36ddba4..0dbe6fd 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 0ae1314..5974643 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 d0ae8f6..3454403 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 7c8a5a0..f260c81 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 9d8a68f..2dc6f6b 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 37c719a..c5a06f8 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 0202cd7..1bde1b0 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 1583907..9db7379 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 344c2f8..61e5cf1 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 ab569ef..7dc29dc 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 5234961..e8b9ebf 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 d89ec2b..6d1d77f 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 4c083de6..5e563b5 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 5e2dca2..23eae01 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 c4163fc..563ee66 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 2dbfb35..1e0d325 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 0ec6b09..78ee9e2 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 33f06d57..5171009 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 14bc761..65d52d3 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 647aa3f..123a6a7 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 b636da7..b617153 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 27ce647..3159452 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 3a63d74..9ab129a 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 1233cc1..9e13234b 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 33df6e8..8658069 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 0422265..4d7844d 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 f9db806..2983b71 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 264d727..cb80ee37 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 f585177..4cb861d 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 e738cb2..bbadd53 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 cfa021e..a4963cf 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 fbb70b3..589594b 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 970074e..6bb1980 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 423acee..7c0f332 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 1eee8f5..56508e1 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 0875079..59e17df 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 2cc3c11..e281567 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 b4bc6ac..c0e3a9a 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 9e5642f..f9feab8 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 e8631d1..23c6415 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 f520759..1097412 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 b8e08e7..f2bbdb3 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 778ff44..36c9d3f 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 657e5ee..9827601 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 2922b78..972da25 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 ac2d347..3ac44e7 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 deab171..9538f3f 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 b1fd5e8..a403403 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 9365a1e..fdcd60a 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 25563bb..5445afa 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 7b03597..bdcce13 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 160e45e..d72c1ee 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 4964892..fcf9e6c 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 1d466d6..7913129 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 ad29701..f3d8e63 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 49a6106..6e1e2858 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 f55edd4..1d15342 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 f17382e..7fdf9fe 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 725ac83..c02011f 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 f86908c..b9a1d2a 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 4d8a230..7f28afc 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 89f6620..222c35f 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 729e444..e3c0f6f 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 bb5801a..a16a59b 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 2b7cb83..f1661a6 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 f537108..7d97490 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 6bf1922..2e5d8a6 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 8d5f28a..bfde923 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 b91ce13..12aa88b 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 429e82e..54941fb 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 f882205..fdeef642 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 36ac870..86078026 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 8a669f1..193e813 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 53e36eb..bb95690 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 04cdd97..5e11205 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 63c9fb3..870b254 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 1d68755..2bfeacd 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 1337193..12057a2 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 eac5ec2..6654ae1 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 866e9f7..dc185cf 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 5ede92a..853b490 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 4bf3237..d166601 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 0a5229b..1acca38 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 839d66f..7ec0cb9 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 31399ab..e09c0b2 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 2e03740..411cec2 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 3db2445..0684140 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 87bbbfa..8994427 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 d3f8cc1..6a72146 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 ac3f6cb..5adcc33 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 7c4932e..7c4b025 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 c756a05..24e5930 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 e32b14c..0e76f39 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 85c71f0..2f92922 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 6b4b1ae..c353738 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 6f2baf8..8be8101 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 f7580a2..7484f75 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 0e5c7ed..3d6d1b9 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 9536037..e17c6f8 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 d7dc03a..c220e50 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 ee25521..82dcf89 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 5e1565b..7953903 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 2739d11..84cb51b 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 d4bc35d..71d6c1c 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 67ff41c..ee0cd9c 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 9421aa8..e590f5f 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 3147be8..1110f0e 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 32af660..b26fc48 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 b973dc5..11edcec 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 f9e0b6c..1ca4160 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 f428683..d4218ee 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 f565135..07d408a 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 aa32815..557aeb7 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 e6143a4..256ff8a 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 8360826..1657713 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 83d21e1..ce7af24 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 54aa121..850cf2e 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 92c8986..1ec87ea 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 51135ef..74aa70e 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 17c5c20..c085856 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 c352406..8a2d0b3 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 d64981a..93cdecb 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 22fb3a6..f3f96ff 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 13b2459..8327010 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 ff0f5f0..56a3b08 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 25213f2..41a81f9 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 05fb23d..4ad333d 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 4698c8c..ee51a07 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 2b3b96e..029ba04 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 646325a..1a181a3 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 b4c3e76..cb38c0f 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 74326c7..f102bb5 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 10967a8..36fef44 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 81f48e6..9d61c4d 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 b5c415c..89f2d37 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 9df6d77..4824583 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 9acaa7e..92811e0 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 187e309..437b518 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 a0f98c1..8984217 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 e8cf519..2578c55 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 b7d2f87..6fc8182 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 af2a0b9..aa091d3 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 7ff1f6e..c09ec84 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 f720793..8367b5f 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 e1c553e..2799f0b 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 36f2ef7..4ea55c7 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 87f0135..870cc8a 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 7abd4c5..fb5e881 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 da6bf05..766adce 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 9a4b057..27df535 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 505e4f1..a1f0fc6 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 92ef781..8f4d201 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 826d5de..76499ac 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 88eb752..6f7469c 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 669032a..7734027 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 78b8177..61e4157 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 748ca9e..7b55ddd 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 d7c71a9..d44d006 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 69b2d32..b7b6bc3 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 f36b417..2a66874 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 9002b21..b14ae7d 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 aba197ec..dc260ab 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 9ee0a98..d5241a9a 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 3b16f79..3f2bb4f 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 4a89662..3510773 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 291558f..dec8ce7 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 b417eeab..e7f7436 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 6ffb2ab..58aef84 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 08022aa..4c2d104 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 e157b71..e8ba0a7 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 fae5989..c3b75ef 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 f6601b2..fde1a7f 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 16ddb65..b21c78b 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 85834a2..d823df6 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 5839621..ebe0abc 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 2edbe0d..4d025d7 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 5bc59a8..07cf17c 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 40c2663..98a3f05 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 90bc2d7..3af6939 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 bf40207..90f57dc 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 77a553d..94337b4 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 b94ca53..5aa5b55 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 d91a25e..e964cc5 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 ad97be0..cabc578 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 75e3dd0..8377a8f 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 424598c..4e7846d 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 915ff7c..9dbf616 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 2d63b1f..bacea75 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 5215556c..bc5ce77 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 163a46b..1e97f67 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 852031f..a2349bf 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 816c553..fe9ca2e 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 8a7bf40..229cd50 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 f1e8070..351f34d 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 3064f81..90d3cad 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 e036c18..c025e4f 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 f25f7b1..fc15544 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 0f28bcd..451d74e 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 2c6e333..56ac3b2 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 fc55b49..6115905 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 348c903..37f969f 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 05c500c..705dbf1 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 3a65c0e..20249ed7 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 da056b6..ce1101c 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 71309be6..84da7eb 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 fa75987..bcb95c7 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 5c712ec..0a47f3f 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 c0c89b3..86d9c22 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 9a53a00..b5d5499 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 a6b0050..bc523e5 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 6fe18bb..aace2e8 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 b30e0e0..91eb23e 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 668030c..d0db307 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 9acee3a..db882ea 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 90e4d23..830cff0 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 45b3077..3ccd8da 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 b0d4ab5..ff8c92f 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 da5a779..6ec6149 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 cf01951..6e74887 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 77df98c..31a11f7 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 288118e..dead3a2 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 b98488c..2dce18b 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 7d44ff9..2eef04f 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 89792f4..02d6079 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 c58d66b..83ae20f 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 fc19068..95e19da 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 e51871d..f3ff78f 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 15cebd8..c93f0cf 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 72f1f40..cf87058 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 a850496..784fc2c 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 84efa78..8b0e7a8 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 b9cc151..72838176 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 e80d6ee..6e48d33 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 a6832f5..244f564 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 f5b31cb..70330fc 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 f5aba75..18ce4cb 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 b077d21..5fe4bbe 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 048d7da..bfecca0 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 8bceac0..250aa50 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 01e9c30..b16e0be 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 dc4de78..6458d04 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 eec9b75..90b30ef 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 0d7591a..5841d4e 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 c54d783..72173c6 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 e82b437..811a5ba 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 e44cece..ba06750 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 8640cd1..5746a8c 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 c2f76f6..4a4715c 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 dc38a8b..5a9caea 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 fdbe2d2..0d21470 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 4e961f0..630d724 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 99f2e6b..97a75c8 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 e112225..2ee5790 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 85bae65..fe8ea37 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 2ebdab4..9a35d4e 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 7739622..b606bd1 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 7891128..a63062a 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 709f3d8..4425273 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 e1c08a7..615bd49 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 0a2d828..0a98510 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 3a200ed..2b736e2 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 dbb4767..c297af2 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 079a74d..c3f7953 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 c0b55b2..75c2241 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 6a087276..9675cba 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 b8f809b..bca488e 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 4b4b63a..8f6d9441 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 b7c099e..119edd6 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 395e5c7..5716254 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 d9589ae..41bc714 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 7987c60..6fddd3c 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 9c53488..cf7ec83 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 20f5489..3d4e422 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 255a468..be46ed8 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 4f1597e..9795f66 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 c3ab626..0d4f3d9 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 e0fd484..42e6fbe 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 2c5a96e..7f832b6 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 c54f771..42e0697 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 b5f194f..59eded0 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 4cc582f..a1dd1bd 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 eecc475..6bc615a 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 8cc5ba3..e89cd13 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 9565e16..3b9c674 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 e419e8c..07dd7e7 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 26aa619..4b819e4 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 0bbafd1..8532607 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 28fe75d..fd0effb 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 4f1640a..b848282 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 384d383..d22d26c 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 6d13bb2..361ded1 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 be7dd8c..47b7f8d 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 e907944..65fa8cf 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 f36d53a..3d3a240 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 97fd1eb..f8717da 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 d9b3c15..603b306 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 6ee1f81..467bfd6 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 7a4973f..bc3d68f 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 633f133..a4046e5 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 7d1c8c2..a6f3626 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 15532f6..9564ede 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 3cc86fe..e1d1576 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 e51ba6b..339e29b 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 2577e94..2084190 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 f9e7f36..f16d6cd 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 3428406..24edd96 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 87e51c0..0d3e93b 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 485edb2..071aef9 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 b389c3b..f4e19d2 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 0000000..00b86ec --- /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 26a9e766..e445eca 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 0000000..bb77699 --- /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 5f6b144d..94cbcd3 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 0000000..a5c36fd --- /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 dbbebe6..6a7f306 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 0000000..25df4b4 --- /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 ce749df..c5dc84c 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 0000000..3c2f21c --- /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 646c169..85b7ba3 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 0000000..8794794 --- /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 457dc03..16127b5 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 0000000..7318dfb --- /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 400d354..3bcfe37 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 0000000..d47b3cb --- /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 c213de5..9dc3406 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 0000000..b976a1d --- /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 90861e7..22cd8cd 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 0000000..086f241 --- /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 a8c0e53..91fff81 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 0000000..162de899 --- /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 94dce2d..88100be 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 0000000..3a1513b --- /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 0ffe17d..40583e7 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 0000000..cca6d6c --- /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 b30b98e..4465c91e 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 0000000..e7cf524 --- /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 0470090..877b70a 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 0000000..cc7eab0 --- /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 d061ba7..e821771 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 0000000..0fbfa01 --- /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 1a56506..c5d9512 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 0000000..e0be00b --- /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 42c105c..b007547 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 0000000..82119fe --- /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 b6f8849..5e46484 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 0000000..3e7f60e --- /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 a793020..0f8788c 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 0000000..1864d3e --- /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 786a288..0d92c1f 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 0000000..afe5ff3 --- /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 2e65862..123ed3f 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 0000000..6707701 --- /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 be6678e..af941eed 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 0000000..6dcf52f --- /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 d567e52..d7d37fb 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 0000000..6b74338 --- /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 b521121..bb777bb 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 0000000..8fe3ffd --- /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 58a35f3..1d22acb 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 0000000..6ba2bc2 --- /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 f4196b4..67984f0 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 0000000..d317cc6 --- /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 70001c1..1e69336 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 0000000..9a2026f --- /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 8c6b4ac..7c9a869 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 0000000..42fa062 --- /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 ff14183..bf55ae3 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 0000000..80ea593 --- /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 887c307..5d1b756 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 0000000..94f2d20 --- /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 3ae3c16..44b1fca 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 0000000..814d650 --- /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 e1c0273..119cc90 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 0000000..ae13001 --- /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 254aca5..5901271 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 0000000..461ab6f --- /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 babab06..16e2b91 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 0000000..92e82b5 --- /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 5c191c3..2e8ea0a 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 0000000..682787b --- /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 a67bf39..3bdf3c9 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 0000000..44c4d30 --- /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 c5cdfea..9545b2d 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 0000000..9ff6dfd --- /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 d1640a2..685e9c5 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 0000000..11a4c12 --- /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 7bdaaaf..5b3d1ca 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 0000000..c28d393 --- /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 dbf4c10..6bdf25d 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 0000000..a0955e0 --- /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 60175e4..6f4f12c 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 0000000..401a98f --- /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 a01438d..7db6879 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 0000000..6f0e4bb --- /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 d692be6..7c417f6 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 0000000..4a1b509 --- /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 37622f6..5d2347b 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 0000000..b508885 --- /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 d681675..2ac533e 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 0000000..c81bed7 --- /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 ab7555f..51f0e90 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 0000000..9108d44 --- /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 99244e9..e25d192 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 0000000..ca07885 --- /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 3abafd5..5f4ca30 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 0000000..9c13996 --- /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 a094afd..26f265b 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 0000000..af90547 --- /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 0fdef67..1e4174a 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 0000000..940da7f --- /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 6927064..7107c8c 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 0000000..9d0b43d --- /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 2afe29b..a595d38 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 0000000..58adf28 --- /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 4f416c6..18d7f7d 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 0000000..e462477 --- /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 91ab28b..b5645a2 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 0000000..090b37b --- /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 c5100b1..80030e2 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 0000000..6751b9b --- /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 67a359c..ef738d0 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 0000000..6118676 --- /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 91b79528..08df0a7 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 0000000..0426759 --- /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 1cf4376..f421b9d 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 0000000..0a63fd6 --- /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 77ceaf6..14e69fa 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 0000000..0e23bdd --- /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 4a8b45a..9b18924 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 0000000..591795b --- /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 4db8fda..42242f7 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 0000000..ab82139 --- /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 134b02e..f7e2136 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 0000000..204748f --- /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 21cc2a0..9246278 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 0000000..c242d40 --- /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 b2b778d..e22856e 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 0000000..38ef5d8 --- /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 726f92a..f5fe44f 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 0000000..f41907c --- /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 a23b26c..5d7c7dd 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 0000000..7fa261a --- /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 ff54c01..b1a2d74 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 0000000..f070ab1 --- /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 0b10fb5..75ae95a 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 0000000..2b76681 --- /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 edd4c30..97533d2 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 0000000..bd18800 --- /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 9f79428..cf78bbc 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 0000000..86fd2e0 --- /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 a4161ef..ff7afca 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 0000000..35f9003 --- /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 a6b6e17..55a21c5 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 0000000..d28a6fe --- /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 a6fdcee..4309184 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 0000000..ea01726 --- /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 e81a1aa..ec81e42 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 0000000..fc2bdde --- /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 d898943..cb95f4c 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 0000000..4011c6d --- /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 30a0db3..b67f7fa 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 0000000..6dd5374 --- /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 fafc501..616fe02 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 0000000..bf7fb21 --- /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 68230d6..6ead238 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 0000000..4e332f6 --- /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 1975449..8e17485 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 0000000..c0d00b4 --- /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 ba8f574..2cb958c8 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 0000000..3631d60 --- /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 6befaa9..453c947 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 0000000..28c08c5 --- /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 958c6a5..bce9021 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 0000000..8b43165 --- /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 8d2d283..965e26e 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 0000000..7fe8fd4 --- /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 a4313cd..1b96ca2 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 0000000..fbc10af --- /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 0357fa5..e620e30 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 0000000..f168280 --- /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 de43e0f..760995e 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 0000000..e86d8be --- /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 4c2924c..9d9bdad 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 0000000..304247b --- /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 ace9925..b33fa8a 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 0000000..4bae3c8 --- /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 790612b..14f90a2 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 0000000..009731d --- /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 6dd3204..3a07bbd 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 0000000..2d4e804 --- /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 4c45a2f..3273d90 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 0000000..1f7d884 --- /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 675cb4b..d4ed87f 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 0000000..dde99e3 --- /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 acf53bd..42e369b 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 0000000..766900d --- /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 b62c34a..fbb405c 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 0000000..b217e0e --- /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 c845498..74edd38 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 0000000..22708f7 --- /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 082a0f3..999a087 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 0000000..a150c47 --- /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 63b9afd..294a06b 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 0000000..b4a5176 --- /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 1fc4b82..b9f59dc 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 0000000..83098e5 --- /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 1579480..c1ee218 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 0000000..ca1e44d --- /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 6aab92c..b589e88 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 0000000..002c8b5 --- /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 9dbf1b3..f6a80e2 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 0000000..788c81e --- /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 12045bb..25b065f 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 3082b0f..4f966e7 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 0000000..f1e1999 --- /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 11a90ec..c5fb85d 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 0000000..58cf305 --- /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 08dc7f3..2b64b45 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 0000000..2d360ec --- /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 1608954..3676f7a 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 0000000..2033f5c --- /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 c3a99dd..fa9f784 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 0000000..714cc4e --- /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 3324c24..09586b2d 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 0000000..a7ade3c --- /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 ac53be0..00e0927 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 0000000..332e684 --- /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 2d1805e..6d704cd 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 0000000..e0a7e1e --- /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 5e8cf16..c07f512 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 0000000..547285d --- /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 664ccd7..33e902d 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 0000000..24de1c2 --- /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 943e10c..2a10935 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 0000000..5428b63 --- /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 e8b17ab..0819369 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 0000000..9a81c53 --- /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 6eda673..3a18af5 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 0000000..35c6250 --- /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 ef30dd1..3cfbb16 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 0000000..1185862 --- /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 7a007d8..402af44 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 0000000..65eb6c0 --- /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 fa9de3a..c8a9d98 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 0000000..d2b129b --- /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 d32f1bf..21b15b4 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 0000000..22c40f4 --- /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 2fce55e..a6badd2 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 0000000..d42b002 --- /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 6d8d1b9..5b0eb30 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 0000000..8532c63 --- /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 e6428ce..127dc1f 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 0000000..d61e6f5 --- /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 0e544ee..f9e705d 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 0000000..42baefc --- /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 1a2db89..0b10238 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 0000000..997c92e --- /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 4936b17..2bc316e 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 0000000..591e28a --- /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 2c0580c..b1950f9 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 0000000..2ca9892 --- /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 28b84a6..2fae8df 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 0000000..ead0143 --- /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 6514138..37bd263 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 0000000..32575c8 --- /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 3fc2db9..b2e41dc 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 0000000..6513adc --- /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 293d1e0..f7481d6 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 0000000..b320f5b --- /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 b488173..5b969fb 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 0000000..ea07586 --- /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 47efebd..790de84 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 0000000..11428f0 --- /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 9b43bd2..c3c93c6 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 0000000..6818422 --- /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 210c614..e49593c 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 0000000..dbb065c --- /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 8f421ab..131cb62 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 0000000..9e66574 --- /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 243403b..f5f72c5 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 0000000..eb25f5a --- /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 2683319..b14f6a8 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 0000000..fefb326 --- /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 bb81a2a..03e6e65 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 0000000..22ef84b --- /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 7ac3fb6..81cbb69 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 0000000..31f164e --- /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 9aaf8e5..1f1b63f 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 0000000..a34159e --- /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 6ef8f2b..71a4be3 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 0000000..a24511b --- /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 877e5e7..32b187a 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 0000000..86792d2 --- /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 2eb4232..01a0a7b 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 0000000..3ccd89c --- /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 9c6e3bd..a365146 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 0000000..3aa9f08 --- /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 b34e615..b1b8443 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 0000000..cb310b1 --- /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 a8f4efd..6527ff6 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 0000000..49b0db5 --- /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 2c4db9d..482e73f 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 0000000..a2750fb --- /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 0a1186a..91c5ebf 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 0000000..6a9ee6e --- /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 ae6b13c..6da3786 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 0000000..c5bf25f --- /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 561643b..39e8eb2 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 0000000..6acec44 --- /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 add480e..ed56ed7 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 0000000..e7a11a2 --- /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 dae0de3..e8da3af 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 0000000..ad9b83f --- /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 0e07ad7..3c046b9 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 0000000..29583e5 --- /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 e78f90e..5f7b2b4 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 0000000..3dbed44 --- /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 4af6ec5..64cda6c 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 0000000..e8a0c66 --- /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 6dc58c4..4bbfbdb 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 0000000..151f837 --- /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 0f5e6b1..05fb2b5 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 16dbd96..8489223 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 0000000..36dba7c --- /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 064a034..282930e 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 0000000..c35cbb9 --- /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 6fef616..2e8dc7c 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 0000000..4cbcb48 --- /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 6d01cd7..44261b7 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 0000000..a03a3da --- /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 2316023..40a4ee2 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 0000000..5bb5cee --- /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 9419bdb..5e839a2 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 0000000..f03a768 --- /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 ac94026..6644243 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 0000000..6b6a2f9 --- /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 70b5d97..8a2427a 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 0000000..0d58662 --- /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 095a715..f82dda3 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 0000000..f0f841e --- /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 dc156cd..9a7c743b 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 0000000..49cc42d --- /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 f232bf7..b83560e 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 0000000..b6ad11c --- /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 71e1928..21e98a7 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 0000000..a764324 --- /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 8a8c25e..6b81e20 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 0000000..c333529 --- /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 0df5823..80e5d35 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 0000000..79db576 --- /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 73b7de8..6c28e59 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 0000000..5f3e297 --- /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 d5f7586..598a200 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 0000000..e62833a --- /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 5f54ab6..107b00a 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 0000000..80ac96b --- /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 24175de..907d41c 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 0000000..1c70397 --- /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 bbf74ba..975e45b 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 0000000..d0f5ceb --- /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 beb48ea..68aa967 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 0000000..151835c --- /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 d1efdc1..f6af943 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 0000000..3b6cca6 --- /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 f52877d..8037c4d 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 0000000..5bdaef5 --- /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 24c0894..308f66e 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 0000000..de571ad --- /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 a8856c5..c331785 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 0000000..a471a7f --- /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 86903a6..5f2797d 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 0000000..828df06 --- /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 1c0b1cb..4a5b4b3 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 0000000..f484f3f --- /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 7fcb99b..9cd9dfa 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 0000000..5642298 --- /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 cc07ae4..14f631d 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 0000000..6405f32 --- /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 35f19dc..f8d44c4 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 0000000..221a9f4 --- /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 4489021..33e937a 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 0000000..521cd0c --- /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 0ad52c7..b7d5e11 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 0000000..6a5a7e6 --- /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 abb82de..6ade61b 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 0000000..5927330 --- /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 019de96..fac1465d 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 0000000..9349e04 --- /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 5936589..e846e76 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 0000000..401c0ff --- /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 47e3fe1..46be85a 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 0000000..7f6d540 --- /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 b444182..4c92101 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 0000000..8d9b3c1 --- /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 ac8ad25..b861608 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 0000000..adc83b6 --- /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 a05c0d0..8e2c5e4 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 0000000..2faadd5 --- /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 121bc6cd..4b2f25f 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 0000000..56afd77 --- /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 302b63b..c639813 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 0000000..0ab1d94 --- /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 4f9b1df..4f2ba80 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 0000000..ececb2d --- /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 e4e665f..019b19e 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 0000000..5e3f5f8 --- /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 e749a57..7fe174a 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 0000000..d9f9cec --- /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 fab65ed..16bd1dd 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 0000000..eb11056 --- /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 73ed2dc9..ecb2c0a 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 0000000..54c9601 --- /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 986c3c0..b795b5d 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 0000000..6b611f2 --- /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 21d2dca..a368dc1 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 0000000..9979404 --- /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 602a00a..3f22619 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 0000000..d63b9648f --- /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 5935fe2..0d8e9c4 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 0000000..c744aba --- /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 17d32c3..f28a167 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 0000000..cf4a9f6 --- /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 809cd79..d0c5010 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 0000000..cd6afcf --- /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 15f76c3..5f37708 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 0000000..43310be --- /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 7663d90..a08a3cf 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 0000000..b1a6c60 --- /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 3d7f4e8..f98e819 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 0000000..1f6c9bc --- /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 2b6d36b..7196117 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 0000000..eea6415 --- /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 17c8152..17cb624 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 0000000..d7119c9 --- /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 2b9da6b..06b3bdd 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 0000000..e77b5bb --- /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 ed23b26..aa2b688 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 0000000..fefcde1 --- /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 fb7fd88..0b1a976 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 0000000..93225a6 --- /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 174000f..804b2fb 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 0000000..d8cf4e5 --- /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 41538929..8cc2893 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 0000000..92043df --- /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 b894098..e9304995 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 0000000..d7f8a43 --- /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 4b18d93..c0caedb 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 0000000..f19c240 --- /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 4742547..9c2836c 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 0000000..6b328bd --- /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 2997b5f..a1a49b9 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 0000000..b0f7305 --- /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 c4b59a3..db1f308 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 0000000..f90fbb0 --- /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 4890495..6e34ff0 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 0000000..4b6b438 --- /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 61cd06f..a8aedc6 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 0000000..645aa54 --- /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 0bda463..eabd8e7 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 0000000..9728d9c --- /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 88cf57a..1f0f817 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 0000000..8ad2c3f --- /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 9618675..b9df11c 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 0000000..987f564 --- /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 316c9b7..5543561 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 0000000..8d429ae --- /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 10583ba..b1ac8ff 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 0000000..411189d --- /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 bf3bdb3..b180664 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 0000000..5e3a85f --- /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 c0e0177..c42bc62 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 0000000..9962589 --- /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 7115f72..4470825 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 0000000..f4b6b8f --- /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 bcf7d5c..b9a307c 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 0000000..06d220e --- /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 5bc167d..df7989f 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 0000000..6c68114 --- /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 f54ad3c..8572c81 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 0000000..62dfbc6 --- /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 6dde172..ef98fd5 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 0000000..5f9f17a --- /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 8e55c55..110324b 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 0000000..be44793 --- /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 605e220..cb565d9 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 0000000..657045b --- /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 43d4f78..9e4c0c4 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 0000000..c2cd521 --- /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 b8f15dc..d93479c 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 0000000..323b7fb --- /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 560ce30..a73b44a 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 0000000..4e1c9fa --- /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 6f61e3c..4098301 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 0000000..b9474b5 --- /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 a55f5f0..9f522aa8 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 0000000..f427179 --- /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 d6e0a27..ce9c257 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 0000000..952e39c --- /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 ad550d1..76a687b 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 0000000..edd574f --- /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 1c44682..01ef281 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 0000000..15d0c5a --- /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 a5021ef..69f445f 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 0000000..9463be9 --- /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 ad97fb3..0c4c367 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 0000000..7dea1f9 --- /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 ad87e2f..1dd372b 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 0000000..ff5b23a --- /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 98ca79b..eb0517a 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 0000000..da8fcd9 --- /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 7305831..8d7d496 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 0000000..35f053a --- /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 47ed326..242ac08 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 0000000..3a2a3391 --- /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 be10ca6..d71b9e3 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 0000000..408b32e --- /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 d8c2682..d151d72 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 0000000..6a67861 --- /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 98bb452..b880842 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 a656832..054e58f 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 0000000..e7f610b --- /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 3ea2d3b..d596c76 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 0000000..4f52d45 --- /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 ac2ec60..715ebff 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 0000000..522f252 --- /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 f6e8de6..9d20a0f 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 0000000..d86e145 --- /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 f530e84..d7d5e69 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 0000000..e44cedd --- /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 ec9483d..ab0a5758 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 0000000..01e757d --- /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 cc143a1..b46f06db 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 0000000..0ffec78 --- /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 15fb22b..0c54b91 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 0000000..c4578e8 --- /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 ff6bb7a..46e4726 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 0000000..a303e32 --- /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 28461b3..9576360 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 0000000..6ac66dd --- /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 5011528..000ef0f 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 0000000..82ce8db --- /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 1aca1e4..b9cbffa 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 0000000..7e65805 --- /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 df36bbf..a50b6ac 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 0000000..2642359 --- /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 aa77376..6f575bc 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 0000000..4302161 --- /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 b69fef8..63edce9 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 0000000..bd55f63 --- /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 c4680251..e9d343b 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 0000000..50cffcd --- /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 48bab53..a20d34e 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 0000000..34980f0 --- /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 7cd7116..b9a6bf5 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 0000000..6e64dfb --- /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 c7f86b2..b7804aa 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 0000000..7eb494d --- /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 a8fa2dd..532952d 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 0000000..abc0e9f --- /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 13d60b3..0dd3940 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 0000000..67549af --- /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 97dd3fa..01b9fa5 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 0000000..3063b85 --- /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 6034f8c..6f3e6ef 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 0000000..44f0c21 --- /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 8b2a503..a9c273f 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 0000000..3b18cf3 --- /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 853f2ca..6ad73df 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 0000000..8712212 --- /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 b04e76f..cf34ea7 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 0000000..11d6faa --- /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 613f28a..6ac92c8 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 0000000..55c2b91 --- /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 c4d414e..5e3add6 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 0000000..ad56b50 --- /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 ec50347..2d47231 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 0000000..af21f27 --- /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 03bddaf..0f8fe81 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 0000000..a8e3fe1 --- /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 d474603..8505683 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 0000000..6cdc8d8 --- /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 4f7cb07..70fcb27 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 0000000..4935bd2 --- /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 d4df0a0..93f3344 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 0000000..f75468a --- /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 4b2df7a..37b7f66 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 0000000..e311bd9 --- /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 3696820..2339c37 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 0000000..6c02fb2 --- /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 f7bd7c1..3eefa66 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 0000000..348894f --- /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 813f81f..eadb55d 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 0000000..11a90e0 --- /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 cf08b04..7ff05ce 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 0000000..2d7e959 --- /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 6905fc5..9491aed 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 0000000..a58cd17 --- /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 9909f48..280410e 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 0000000..a818a4d --- /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 7d8d1c8..19431b7 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 0000000..f6de63f --- /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 b11758a..6fa02ad 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 0000000..c90154a --- /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 3720cfd..f7a2fb3 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 0000000..14d585a --- /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 269f244..544a04c 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 0000000..d98e23b --- /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 cb0c654..a4cc635 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 0000000..44fd734 --- /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 9cb1399..8d1e6d2 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 0000000..7bbad39 --- /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 89a931a..9b865c6 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 0000000..447d514 --- /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 f471463..36dbaee 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 0000000..e39f9674 --- /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 9889155..1a770f3 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 0000000..7f53c66 --- /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 d413a81..d6e5413 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 0000000..bb8639a --- /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 7977563..8d7af0c 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 0000000..95f3251 --- /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 de48980..db858b5 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 0000000..e1ab98b --- /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 ca686e4..1f01125 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 0000000..9aa08ba --- /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 c56c02f..872c53f 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 0000000..276a8bf --- /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 fc4819e..f2cbbe9 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 0000000..da197b3 --- /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 36e3ef8..ba68d20 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 0000000..9a78f9d --- /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 f3844cc..0e8b1e4 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 0000000..27bef73 --- /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 f1daa42..d1174f0 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 0000000..215794833 --- /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 34ab708..93c340ec 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 0000000..d4c3f67 --- /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 50c29b8..55e8fd1 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 0000000..d949363 --- /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 70e8448..ea69593 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 0000000..2a840e5 --- /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 a4fd93e..6c8284a 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 0000000..51e0948 --- /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 225d7d4..4bf96d4 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 0000000..0787cad --- /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 c08dddb..998887f 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 0000000..48bc6a8 --- /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 0cc5fd5..54897cf 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 0000000..f2712a6 --- /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 3b08fc5..0c0e740 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 0000000..952ffd5 --- /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 27a352a..dd33434 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 0000000..f534fdb --- /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 70f5a52..df36fd2 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 0000000..79053f1 --- /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 13cbe53..416bff4 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 0000000..156c951 --- /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 6ad3144..6ff4d89 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 0000000..b5498cc --- /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 b189714..bea3885 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 0000000..d8db3c8 --- /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 b63968a7..d7ed406 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 0000000..4d8beaa --- /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 a72d58c..b052cec 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 0000000..b3ae487 --- /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 2847cc8..49bd520 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 0000000..5752223 --- /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 1cf0635..9e2a7ee 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 0000000..5d4bb1d --- /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 3059a11..b1749eb3 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 0000000..cdf91dc --- /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 9492562..748706b 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 0000000..a7e99a0 --- /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 6585847..5f4fa40 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 0000000..27de95e --- /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 27bce19..2ffc98b 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 0000000..960b8e5 --- /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 ff10370..4ae85f5 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 0000000..dc2e08a --- /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 a4e63ab..9edeb03 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 0000000..c394b20 --- /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 4e068d3..c4c8fce 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 0000000..cbd782e --- /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 947b3c8..4d83c09 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 0000000..16523d6 --- /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 9cbbd31..1e0920b 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 0000000..d7845dc --- /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 a66c7ca..8b2d4ca 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 0000000..f557420 --- /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 19bada4..ff48b74 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 0000000..6de2117 --- /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 6d7be86..4f42d17 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 0000000..2a92091 --- /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 e68237c..5625f48 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 0000000..d8cbed2 --- /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 33de132..b1bdc0d 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 0000000..6fd31a2 --- /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 c91765b..860c681 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 0000000..0f314eb --- /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 f62283d..5c7169b 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 0000000..124fa21a --- /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 460c5a9..fbb5b56 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 0000000..3912390 --- /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 f0d3524..66c8f84 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 0000000..5acac5c --- /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 a23b911..eb6e276 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 0000000..53c46eb2 --- /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 9d02d7d..39fab7e 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 0000000..fdae18b --- /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 ad1ddc4..53bf897 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 0000000..5a2b62d --- /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 f59a0a3..39b1231 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 0000000..a1a4168 --- /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 f39fc1a..d014f30 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 0000000..14f6a03 --- /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 55b8d2e..92cea7c 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 0000000..a4bdf4f --- /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 3b5b617..1c91cc6 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 0000000..23457a3 --- /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 f658ee5..b0136c8 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 0000000..5e04a6b --- /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 eb360d4..fe8b52e 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 0000000..776d82b --- /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 cdd9a21..b368079 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 0000000..c23b985 --- /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 ea2e772..d85fdd0 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 0000000..a41264b --- /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 45e04f4..8e04eee 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 0000000..e245d13 --- /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 a280854..d20d348 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 0000000..182af78 --- /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 5a5020c..afa0a11 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 0000000..4129fb5 --- /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 cf012c3..48e64cb 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 0000000..32abf54 --- /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 abf979b..0f491b5 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 0000000..b3d71ba --- /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 065590a..8c9feed 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 0000000..c75cd13 --- /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 5cbe3bd..047b8ae 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 0000000..00ed259 --- /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 27b3f1b..ed4af64 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 0000000..a25d800 --- /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 0c811af..ebf2019 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 0000000..a74f432 --- /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 eecef46..36208e7 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 0000000..6a04a8a --- /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 46b7415..e410bdb 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 0000000..72a2ee5 --- /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 7aa7846..b847833 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 0000000..3d0b028 --- /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 764a52a..a804894 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 0000000..5541c19 --- /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 485fca0..b2210f3 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 0000000..4d278ee --- /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 a945723..94b198e 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 0000000..ba41270 --- /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 0e69e90..0b5208f 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 0000000..5c6a745 --- /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 c3da6cd..553c29c 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 0000000..8ca98e2 --- /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 d453fa5..53c1bab 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 0000000..5da882a --- /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 bbbf0e1..7041cc4 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 0000000..0dfef22 --- /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 5a94927..bb20cbb 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 810657e..eef0343 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 0000000..3e533f9 --- /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 3a3233a..ce44c3a 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 72940cc..b3c3202 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 665f9e5..1a04ddd 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 1d6c380..9db431e 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 934cc4b..4f1121b 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 cc59129..886b9a5 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 74541e6..d2b6bc4 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}}" ] }