diff --git a/libcxx/cmake/Modules/HandleLibCXXABI.cmake b/libcxx/cmake/Modules/HandleLibCXXABI.cmake index d69405ddeeacf06670f212a48cbd7fd6824e857a..5b92ebb765a8152aba122f4444d0fb09fc9a8687 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 83d8c260f27a2236b3d42ffd3519cac5d59fe08c..e892ff46218dfd5e9a19fbc9d6ec41621da9fc21 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 3af32a5775048cb5d79f4abdbef8f3499d167e81..7b4a52cb2287827d7fd35a77fc69e9df472d8b09 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 6fe6a0b6b3c428f268dd6bee9361083917496624..193f9bd121e04daf1cc15d544022bdc10b82464a 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 15a17e1cde99ab06857763171a512090ee775ff6..60f91f26271024048b972176ffbc983f6e985638 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 b3762b85a0bc9f1a4ddb0036556a725831ddb4b0..79eab5388e1b6d49226412f53dfac5a52fa75ed3 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 62c06ae57f23ca3a0e5113afc5d520878d679cbe..beb2b6802b3855786011fc6691f41d749d28acc7 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 ed0ed5904a44c25b5f4e1de6929033030deb0036..70993d19cefdd6b2d0960e4a9de578d3a14cd57f 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 b4045cd06a2bb49974e0b16fce086c32b184f1b7..7c0ccb78da8870803d10f5ecac5cf5dddf3382ca 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 9754f0c95b01fbc8b2790cf4ce39cb95f324087e..cd216207928e67e8ddc550ac759a3027d7e394d9 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 9c3cd29e24134c3c4fbadb96c45e67a2bc37b589..8960ce28cc47eb00e4a5bdf70a861945a5976585 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 8b915af63c0dbcf85eb02792e1deea3c602c62ef..93bcea60f2039d030e4e6cd1db17606c67fb9afa 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 e18128cae8a80751222fe7f194d2092ca66681fb..e29a84b97ee41a1e3567a997cd04016c04319925 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 1ec2d83394e127e9b6402aa975754e5f978eb690..b6432e9c25515d093ccd6123470630bf8c4ab230 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 ca1bc6bc5665a78873d3f5628f6c8f24e8df77ff..bfd3bf15f00c9496528cb00915a51b612957205e 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 37a2c299f0b93703ef6d72a9026f811763be2163..f4654a08485baf9fb17c12a82d731cb1f80a6719 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 be5b4740a52a75f54c8a9bb598963c50e7d57126..ecbdc502329fe78adfed167e982c377895425a41 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 590c8f38f3fdd34a5d8633cd82aa8b0b1e7c476f..3a0aca7a365f4f6042a589c7646cc50c21ff9ede 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 641b85e2f64565d3b64aee262dcdb4d415691d84..b9ed3c8295ab87ae7b63a5eddba007d0bf260a12 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 0220c093971105320a14a0e5eb2e905026989994..294f09ed46ffb1a9e47c14988e2ed5102bec84f9 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 b968329fc31866c68fbaaf7e8f2c76767f0f4072..1d3f0e9606c1bed8a56420f3ee2350bdedbbd216 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 aa98171a1f61a340b99194208e7d2a7bacb39c48..8fc59b5a322e1477ea5e68cc7fee70e025154ccd 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 61ddab0b9805d39ac0db4959b74f45dfb5efb653..58fc6c3a9c9dd4bcddfe68ff0068231ba09d2f08 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 bfbd37c3a3a44715e66b9d9255606b447be6dc48..4d869eaf9c93d2d84e4bee37c65cbfb5625bde58 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 2552b40c2781cee4979b66ccb9b58dffdea7b1eb..75245c39b75795fc7ed2199d26d445445bbab741 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 dacbd8c681955f5bd72724b1e31d500c8e3f537c..0b49f36dc8da55ce66edec7affaf286d364f3593 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 2650e9e5d8b70853075e50648e3b97041c42ba6c..0184c1f490fd3850ec78fbac240d9b93af5a14c0 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 7666ef1449c6733a99d67b387dc81cd33c83d0c8..a3d7e18959b63952125a8363408bc4ce9e2ef579 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 08ebf2fbcc1aca8b530b4fb595be5181c5eea902..9cbcd319babcbb88f2b0f6f987351a5efce4af23 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 d5186e11b7ea411379dc279473c5afc4ae43cc2f..d971bc3000c3532b3fa5b46cbdbf51ef450c8ee7 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 f7cb698472fb67710aed80ce4f090a0f270696a8..5b172260746186c3fcbd5a0e674760566fbbecdf 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 159092189a532e42430b6bd3769161c6694a88fe..0de12db28b734516edd8aa0defcf0a30bbcdef93 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 9788fbfa2e74ee96e8db9da9a42d63a1fdfa7d6b..d429d4fea443dfb1e2ba82651e36204f0edbef96 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 fd394a36211b131173f727d9929893f9da2e73a0..6edd15dfe7890f99157e8250b135e578bf1c3fd8 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 4c87e8d221168b532ca93ad7c3ec1e3ce5f60130..ec7d83119a9f9b3d04804180422184d6bd6c2ecd 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 90ca152c5b3a8f9a9997c5e83c63cf7d8d573f7d..d22c26dde00f55fb1eff97f828ed5a351390f213 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 fe44e634f6ddda45a5344038b28844575cea5e52..cf57ef1b37974547ed4f54fba2af8061a3ae3216 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 39f313eb0d3fcee0b2b50fca1cd0f706105781bf..f39cf9dcc84602b7bcf181ca1af90c43d50f961e 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 b4f421cfc05380d6f4ed8546506b247a4be98aa7..849fdabe1481a7f0be086acc4dabeffe4addc5de 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 cdd742048412ae813c088c339c2f5ccba876d0b3..2a58dcfb21eb5d1e0fe625d1de0c3491deb8bfc4 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 56de95bb31b73e8ff724c17746fbc2f767399f19..b4bc21b54eaa65f010651471755bb5f14bfea691 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 338d28508c173a17ba423b5cae248ebeb5ad4118..c9200737b524fc7c1718f744e2c1ed90bd271afd 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 038859e1361d20270a20da1733012fc35da77f54..89633252630eaf04f238d06fd8fe1b4ae243d059 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 30ddf24081202bf04fb0db79952c5a57948a489a..26ae99da7bbbb5feb4dbd75f1b684473b9075d80 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 26b64ec12d3041fc1c20e379b0309da5f0341f12..6bac873693bb9e75892b9fb4a763e10b0ed43bd3 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 acac0aabf1e43028fa621513b938dee152c2ed7e..7e1b9a2a5df722b8e84bb1fad4c99bc25714815e 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 345b235a21933ef40385e5f8b15d8ad259af8990..f41a29ce4f4a228484e91db36f3708ec999e87cb 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 795ec8e1ddc1689f37c683a9b7c2b9ebd4bae588..ce1dfae37448055429704cc704449886d5cbd4b3 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 48360ed5b445138bbefc38110fc96821daa7c436..82855fac992c9539d28fe0fd773928af82000e5a 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 3d8c73d78f118b10284da13af62f64d1aa61e36c..7a092fe97a1b15482066e5404819b24fd15365c8 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 129833d42bda83470366000dbb43ff243c5e95d9..b8da52b236f87d9b0118fa8f3c97a53bf26a7b91 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 1d56a741f5bc5c21f2ea425e1526ff4e306d2330..9d0226af63321b10934b665cf53cadd93a96ca3b 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 30a119491a36e6919c27f50c8391b201dbff1442..fddfcc64f6988413a6e8c35414e83c3eb8507a34 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 80afbdf87abea0adf7de845ee48c4208b5c198e6..38e280d97dbf7e4cc157ae120cd4fed4156a32fd 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 f2011faf2f9a001f14709420ebc1e2890a48dbb2..d919e142cb0f60eb1caa36ae11e3be20aac0c4f4 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 72bf3d76ea5be47c3f241148d97a683910efa2a2..77692255e213a495e2a73ce1e11cd99e1873c63b 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 a56f6b826ce33daf7c537cf889d5d08c8039157a..38d361d15a476f0dc5f627265c3062184249c896 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 05e56f4a17ff6ba13e0eeb0ca30f8aff6c3e28ab..1ea0b0db68f67dcff905d78dc90c51ebda574bd5 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 b34b1e00ddb84d1bc2f52f4f756e44c6a835e8ce..d9dbec0cefcde58526e09280142f415d647eab8f 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 0f9f66d3ca66fe2ac655b8aa25eae9580b9473b1..fb754fbd68d9f6a5c1090a57dd78e952da595906 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 8adf5b2f4f459585851500277008ea305a2e70c1..9714e4ff45dd16c0dd36c6e41c469f5322ac5254 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 7ed1e538e9b8358d58a92ceeb9e60787ba19ade9..5a11963d675fd246f6674c7b802ee0e6584af9ab 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 73d94831ed8763611aafb1f308570144e2a649d7..d2ed4b419d86a4d1b9671ed1d6039ab5aa8cf8ec 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 cacde0bfd47bb74f5cc15d8aa93f27fa73cf3a5a..a53916eedcbff5570b779ffce5ca1e99c15083c1 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 c2fa841edc6d0d4017d2bc44439a5a7b13878383..24fd5d88ba2ba6d1dfd77e7fa6b9ecd245009227 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 2a69f6ee47f0ddac92e3518c77a2d170e5e1771e..6680369477a4466741e3a13af6603b2545e064d0 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 9dbc1dad012444a317147cdd4d6094ec0cdc2370..2f127eab4583ea15cc29832153beb12305c970cd 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 66973e082f14acaaede7d6a210b867bbfd173abc..8ff6df4784d9de9d9baed84c5d372111ef6165a5 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 82aaeea1c846bbf74b18cc3ee74e9a11dadefb35..218cfce1f19625bec0422cbec4f27a0e9f090fb1 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 59a875ae3bb21354a82c8651e66391178e502312..b05bff2e3dc67600be99e3142ade3b00f69ebb1b 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 c00f96f78a63460a94f8be022cd8b7fc20532825..88bf9b43b7dbbed85d2c945bca20c51faa47232c 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 a29a385af9acc49b2a23a7ca4a858b4790185526..411723f2d09801953453d6bb3c7f4ee0b8535bd3 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 36ddba4883ab9f14b72ee1aebb7a8089c924a48e..0dbe6fd5aadacf3cf44fb6a9074418f11eba9590 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 0ae131498d22ddd9f3630123d26994827dd414e7..59746434c1bc3c84a7a49a2d11e1c2561f65a303 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 d0ae8f65d4a28f28d22c568ef801ae7479c08eed..345440305bd4dd370703363fd7c9ae6156b882ab 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 7c8a5a0b93cbbee381d2c3f5eb60804147d78e7a..f260c819382e2390e8756a6758a8979a7e07fccd 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 9d8a68fdc0f39ba3a65a161fc40788349ff70757..2dc6f6bba5040d6660b62f3c818af3de9d01ead6 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 37c719a34c8484be37deddc55973cddf61b8d035..c5a06f8140753db1c56d48e50e455e45a82763ca 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 0202cd74083324f0e5bedb3a38098164f2b5fb20..1bde1b0dc791509d79ab6a0c119f4d40b05dd749 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 158390707803105601bd7801563de638ad54dc64..9db7379545a368711436d0cd342e11a426f0e2d5 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 344c2f8cc9ff9d002a4aa705703c94b9fc2a37cd..61e5cf1db081944ae0809b61dd8b428b9216eca7 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 ab569ef7c6be961dc9fc439acf2258dea8b1afd8..7dc29dcda589af25f475645c8ff94f7be3597f48 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 523496108217ae1d07992e0f98f2b27aed8cd7bf..e8b9ebfbb6be4e06843ae3b41d00513c3e7f8edf 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 d89ec2b1c5bce0d7461bfc3a9ca77a52cfb8ad91..6d1d77f8da67acda5109e326815e06a17745841f 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 4c083de65ee2094172c685c4599a0bddee631e35..5e563b580184aa9495649cfc23d023246e509e35 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 5e2dca24e446cf608b3e6a47f142120e3be13d95..23eae01a9dee403730008b4fe8ef1e31a8e79854 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 c4163fcd4c3cc69b77c54d198a3985f6c03e744e..563ee66e78d6b59155b611a9386152a240ee3b51 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 2dbfb35d7be6e4105b84ba8febdbf64ea56dcb00..1e0d3257a236a3f1159e3a08e9fc7390e81acb24 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 0ec6b09380ed2805a55053aa5180665024446c22..78ee9e27fc74808ca7b34cda587c23c56de62bea 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 33f06d57e23a4e63182afe0b6c3768516766a589..51710094a7a378307fd830545307970bcee3c04a 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 14bc761598b26007542548fb587a47f9ae3637fb..65d52d3d53958e599bc4a2a82c8e4a2bdd8c11e4 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 647aa3f067181af5d76578d3251eedd4961060a8..123a6a7b62e0aa94ee9db82387ae1df00cbd18ba 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 b636da78b0ccdbf895dbd233b1c627f19f531aa9..b61715344608a54659c8316bae544189f5ca0e53 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 27ce647c8129cda448a19d042df32c5d87b16fdb..315945273c3aaa8228d626650e71fc2a41ffad28 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 3a63d744fc1c73a58a01108428060cbd199b23e9..9ab129ad2dd5fdbd09e70159a1554f94632215df 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 1233cc157fb5e68de95fbed0c0e10a97c53330d4..9e13234bd698e2e03d285a19c011f978aaec94fb 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 33df6e8ba75f37444240fea29fa72227a4725460..86580695908418c68b05286f738434e8b9bf5953 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 0422265bb4be42217afb727ecc8f9e4db4296040..4d7844ddd18ab7653464f9d46db3399d0a0c2492 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 f9db806f5b94dede4b4d1ca149941645a4d94874..2983b7176352c6ed575b5eed1b4bb969dec769ca 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 264d727d93c88cfe2364f23ff432ef80278d55c8..cb80ee3765fa5d72136b91fcc10eb61cea747aa5 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 f58517749f514429bd38e23ed58959f0ac8235f0..4cb861dc8374827e5415c43bfe8649f66e41bea2 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 e738cb26fcd89d2e906a7cb07ad444b6c5fec79b..bbadd53aa9392d9a7fec580aeec70f2ef4ceecc5 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 cfa021e142479627da8dc1d01a58a7d79474e3ca..a4963cf9ecb61c6a5b67a38be79072a93dc954bf 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 fbb70b3b46f67d1cefca9a51cd6bb2b1831f659b..589594b06fe255e33b18226316ccb5f0f19fc27d 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 970074ed98cea1c497f7b6ad40cd6546ac77fb64..6bb1980b53abf4eb415506b51abf861cb8ed8904 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 423acee4aa7ce84353c071a0b06bb16fb84fa6cd..7c0f332fa88100769ebdad593d25a74efc1f1745 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 1eee8f576e9e116cb53efbb4efb32315452b6906..56508e169ad724b7e9df7e021b3f5ff83c3b5863 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 0875079e6c7ab9a3959d5ac50b00862a2d4a2d68..59e17dffaa243d0a4d932535e4d1b94c1fb461c9 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 2cc3c11ef64fa37507f59809f98d4c7beccc9147..e2815670e18931e836b7fb9570b928474e2d01bf 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 b4bc6ac2635b08aef7c42a14fe19b8219d8ca813..c0e3a9a0c17bf9ff54ca727d62a7c02325b7b909 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 9e5642f7581142f939ad6e52c672e8104ba4bdf2..f9feab8e299bfff9aa07f484ebdfe710f69e7303 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 e8631d135fee55536713c6daf4ef5807f74c4d2b..23c6415f6303e860e88ef212dec194128a787a48 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 f5207594291eb55e1ad6d93712fb82e28db6977b..1097412ee6b49dd55b59a867012acbd31b798899 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 b8e08e78ba72056689269a9bb1bd136345617674..f2bbdb31d094938a16d89957bddfacef2118750e 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 778ff44f3d09b89279ce65fe5cdc341e1244f625..36c9d3ff808fada349c77ca879ffcc652116a1c5 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 657e5eef6c370e8faedcd7dc81f1288d70cac5fa..9827601f2308f5f78e7ab53048de3578c3738431 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 2922b78a74cb5deaec93240f7d56e92c6fab272e..972da259cf40548cf8a2e9cbd510110f48fd6887 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 ac2d347a0dcad4fa87441c757ff58a5ed954472b..3ac44e71663abfacd085aaf891e456a209db4aa9 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 deab171846e244f76218804b73213d351ce30d73..9538f3ff956830e0eea6f3c9fa9ed5cee5a181ec 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 b1fd5e82bb46e0889cc1dba574b3740d2e8fd208..a4034030974798b2912ae81a3311ca6a920a81a9 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 9365a1ef036cebbd6da4960974afffa3ed43ebd8..fdcd60aa213714e9a6ec0b51eabecddedfbb419b 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 25563bb7fec032fdd1afdcb4008f93647c85cc38..5445afa4dd0dd30628c1ef1b298445e587e7153f 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 7b03597ab1c12ae9e98c34a9ca0c2b99dc1845f7..bdcce13369c719834333f7c1e47c7dbe3b6052ec 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 160e45ecb5498c56ce1b1f8ab8996093732db6d1..d72c1eee9d73ae11578de8f137b88791d99a49fe 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 49648924e81f7279262314f2f35521b71e238f78..fcf9e6cc32f5b68958b3e72ac5838232af6ef1e4 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 1d466d669eec1806b9081d67acaada4f7ad63bf6..7913129768cb593264a41148aaf450c32896c3d6 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 ad29701875b916df411933412bab62412120c4e1..f3d8e633dd81e7491965ecd3503fa50b5306647a 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 49a61066635473689135a6948956c9766e8daee3..6e1e285852393ebc865ed0cd33e9875293cbf5a9 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 f55edd4876b5ea487df079a37d21fe962d6e8d37..1d153420bf557dcc00a3770a2a38b67295a97711 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 f17382e430787d721661d40e158a5357c3b8b28e..7fdf9feaac286b55b7d26a40a7bad4add86953db 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 725ac831e66bc3547a2e245afccf4aa637e3a271..c02011fbb29a74cfab2496ab43e3f97aa601ea03 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 f86908cfdff31af0b8fef92aff158b9105c249cb..b9a1d2a7cd97d93b1241ccf7a7140fa06ddf8093 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 4d8a230ff4e9d9829d2638f5a30fbe897fbcfa6f..7f28afceea6e46e94c04ec45f7278240a9d17e73 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 89f66201e644a97f4b42fc95b1b330a8bac40a23..222c35fc469fa66cccd6b1a887c7d6e6a74bc52c 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 729e444b39ada599d3855c06ca0dd03a8bf71a4a..e3c0f6f6f2736d54d41397b438c746033610389a 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 bb5801a8c1ace84c7ba4ee73eb217e1b19b39db8..a16a59bf2bd1c441b0953bf1af4bb42cd38dede8 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 2b7cb836d63febe746429767f45f0a16a5dd4501..f1661a67b46401b3a69b3c8fae1c2c7235ff3d5a 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 f5371086233c3bd51128377604617370b30dc857..7d97490d313fc25d6a0cd16bbceb38c53e7ec956 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 6bf19228a491de2edee9a3ba0aef168bf20ee1f1..2e5d8a62b8a416c7956821496be11dc4b8f37eaa 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 8d5f28abc4247b32de71b33047afe44ee08d2a5c..bfde9233da77dde989c99f452cc1ed4076a7923a 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 b91ce13fe40906abd57a694bbd53eae2f75ec337..12aa88bb1b16896969e004a3be155b9b6c7d951a 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 429e82ee93fea5106bcf24bb331dd39f03a8fc31..54941fb000da62d3f31b3dbcc3c911ce4b62b060 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 f882205d4a44dab5409efffb6d26b06a7dfe9443..fdeef6422852e2f109c6831102e9d13da7b35574 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 36ac870b6bce1a1173349e385a9e9b37b2a8c443..860780265684f3e80cb10bfdfa9ee8319943a382 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 8a669f1f18e6f84d7bb08b9114e07b15c1dc062f..193e813bfe09744ffaecc241ef13373827590810 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 53e36ebc3fadcfa9bcb71d6842829261b8d4e0af..bb95690732382165a9957bbcce5ebee6e4fd8112 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 04cdd97f9557fecb0ba877bdd9644c316654e2cc..5e11205ade48b1a13c4f772a7c96cdfd2d20df0b 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 63c9fb3ce3cfc7d82779f9c39a3cecec1a7e6b4c..870b254408fb472260b91e891303971dd3e38c97 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 1d687559e415e56c2b11d2315dd4251eda8a7e79..2bfeacdb36bbdf793c4bdf51d1eb951edb6dd735 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 1337193c93cc056c6987be841f8864b0c51b8653..12057a25a657dda1645d3a1a9bb0c3c01f6b1012 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 eac5ec28724f608b108ce9fd41ecfba84b6b32e5..6654ae1204cf2b21e1a91520510321b9a47c5a1b 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 866e9f7dfd4adfa9dd33b96ee3f4833b3cfe2273..dc185cfd5d9d9d6a71061c56fff8c6cd3be01731 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 5ede92ad086c41cf2d0b0dab951a41abd01456f6..853b490622c7d5710bdc64fbd64fc0d93b66933c 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 4bf323789217e0722a49063fd6d18300c63a6c6c..d16660128e30627e213c07eb7436dbfd3360e448 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 0a5229b4594540314ff57d20a35f43ff3d54f43a..1acca38e8a1c2d0416b2f933c00527a8297ecb84 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 839d66f601a63e434bc11e889d3d62ce78fe887c..7ec0cb97c97dd204f965805eb5e35ae3f130b98a 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 31399ab29a0001174e027f8575b57e38be84e82d..e09c0b275fb4c51404cc9effbdfc4aefab1dedf5 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 2e037403f6f272127d36a23b2af9e9374e328e05..411cec2b0bcfedee92e9b1a7d6743b1b8a2054a1 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 3db244556cfd8ac2cd1a582f4d8ff9e7c5e6ecff..068414089554ec497394102e953bc73e4bcb6ea8 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 87bbbfac717bb295f6db172e8b2e5817183f7966..8994427b56a99b93cd9d7dad744b44bb6624c765 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 d3f8cc1deb21ff61e82d62e888c29053ba97e8ad..6a721466b5cfd2a1b4474be88084df17f5752733 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 ac3f6cbed9d789f3d533f26b73d855cf478598de..5adcc339b4191dfc3bd7b84daea2c1aff789c363 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 7c4932e603bc1dd250d4020671b3c80d4fed48b4..7c4b0254af4cb1e6867c9381df03dce8aac408e9 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 c756a05c848b0979f6b04e2b7a3535a3eb39b08c..24e59302e229bb2c1d50b3a5ab6a22e7daf01660 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 e32b14c1b7bf9b9a35b966f75254afbbcf2448a5..0e76f397b75b13fe79439d2e6ad3da72a56e672e 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 85c71f017f3461fa57eb7e823aad04744febca88..2f92922b36e6d806df70dc4a2b977b1ca9da87a8 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 6b4b1ae9baa20b93f50c104dcdb54d0d7fca9eec..c3537382f8db97c2136eb343db1628f61bae8ea2 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 6f2baf8f7a298bcd75b1372b0d8df6c684e2eb62..8be8101bb9dc74a36e4db1a0f133b78c8ffe611b 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 f7580a2473d069f9cecf716273acd8d33c2da69a..7484f75076db269360e056956753830b4752c8ce 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 0e5c7ed8d2e9dde986c4f64fa48fe49f7fc6876a..3d6d1b9c1af63d4e46440a372f8bcb0e62e661d9 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 95360376fc2890cef4803e6f082b811ae1bcca82..e17c6f81d099a3eb979c22bd1f53a792b063e83c 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 d7dc03af75a7fc13cce74d9d2ce4e22cd9887b12..c220e506efdc6d56eb2975c7dee51cc458c547d3 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 ee25521f2898f211f49674f42661626a894d637e..82dcf8949dddec12642f8b8003949422c7ff52d7 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 5e1565bf15956445644c2901dace8843338cdf93..79539034d651da8491069a1fe4269fed3a39e815 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 2739d1131bcbe42ffcf471f8faafc96f77c888e7..84cb51bdabe1ce65130731d9736285370367e736 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 d4bc35decda64536c321d1a55b96c10320efe9b7..71d6c1cfac4d42dcdbc44e55a6afdfea219a3123 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 67ff41cbc3d8317b59784406ce229f973db15874..ee0cd9c6ec6366ea3a4b8e3e4962a13236b4d5bb 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 9421aa878850fed805a81d10752f64d78a38d4ab..e590f5fe1b86a7d77df7dee594bdf2716bad1c92 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 3147be8372a72d3b950ad0bb443260d64cf24a32..1110f0e29672bfd7a833eeaae7eded4c20c28f4a 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 32af6609e7b7d26835daf5bc748e3e61c2d19f28..b26fc484533a363b608b0fcc57cb4f62c2b915c1 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 b973dc5c1dfe0f4aeabb5c886eda2bf8e9a19ab9..11edcecf5bf890586e2305c95360cbf994ba5b0f 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 f9e0b6c84b7b74b471d4c8f4c7be09b7a4c0af0a..1ca41606a6c6bddb91a249b96c8f5a86625291f9 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 f42868365771afd616fdb057f7bf74f3de33ef46..d4218eebd10a123b71aef19f0cc4f48fba3c45a1 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 f565135821e8fa6df4f9bb424d2044d11d35b9fd..07d408a509bd30defd62b3a0b7b534f535ece1ff 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 aa32815af2a48f5ee0f52c3664761d96de619321..557aeb73e6beb307dcacc8026104bbd17b6bc5cc 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 e6143a47450ff3173ee6ff16ab652c6cc1f0da42..256ff8ad0f7aba125cb548cd38eac6ca3d68cfe0 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 836082671c5aa1eccba945e1de6e4697aa52166f..16577136410a54b0d4b6d9254b16443ceed74474 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 83d21e1c50e6ccd2b9b36811128d1f416663e9bb..ce7af24b2db8ff2306e490bb4a4d6320395a8271 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 54aa1215d99e5b64114429ca16a6515fe13957df..850cf2ecd82c43a85a0d7d09ccd464aad13ea602 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 92c8986e760c2fdee7d28342ae0080ff8f7503dc..1ec87ea811512dec1c7b57846cde0d7dd7586943 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 51135ef51e12dfd0118811ca1de9600bfcb8cf76..74aa70ea6e7d7518c2b63596766e0501f1dec912 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 17c5c20668f38012366d1e82e28e163451f11240..c0858567f612b60222c496e5d8953091fe018d42 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 c352406f85613d82ae75617f0d6678ebdd8a8b98..8a2d0b3003e09dc1316767605b38d7a16c53b4bc 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 d64981aa9eb86ab622ee2a619492aa4c55a9af52..93cdecbbb9b9574f5e021e38b23f73a039f78c56 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 22fb3a69dc75e69d546090ac9e437bc84f1a8dd7..f3f96ff1cbd41fa2139edb927c49ba8dd8a1f8b7 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 13b2459dff4d0c692549eaee3d5120179e9294b4..83270100bc298b0b6f21c0af94d8d5931cae9acd 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 ff0f5f08169281fa05e643b7d02aafdab1d02083..56a3b08ad1dc46c9afafd9043219bb40410118a9 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 25213f28b1f284d1db85b602b8415cd10436a1b0..41a81f9c20838a7bb5eb08aa4348242b4d1f3f36 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 05fb23d7c3c412bcc6f0f083f955ba8ebde193a9..4ad333d52885eb805c2912c7221ba948c14f89f4 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 4698c8c2d42e084f50d658cc8bdf91c9f733969a..ee51a07207d19884bba038952a2ff6041acbc2ff 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 2b3b96e53421665ca88798c710d2339471306c6d..029ba048b15284fbc2d7350fde4926f62ec8d41d 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 646325aca496f84c31b3d0fb18f561d5ed09abb2..1a181a37af0926f81fe11c213ed813405fc4cc09 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 b4c3e76562a8624148b90a0d5431538dc5257709..cb38c0fe271942cf0946a243d7212ba53e1cdac0 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 74326c76c12f8a732de548ef5b34b6c14a74bbdd..f102bb5c6b9fcd785996468449cf5b4e4e82a15e 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 10967a8a14ec3134108f30761217deddc837ba6d..36fef444ce860d889868578bb92911fdd900b0fa 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 81f48e66e7829ea7f6a1c3fa86278336963bf397..9d61c4dd28ea6d02b432f75f3432ba36cbd2f7c2 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 b5c415c25c446bc8bb2dd5b74dc14d524b28c7c5..89f2d3752532e8ef1fb50b6a12f8fd3ef7d139c3 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 9df6d773fea7ca9fb87c8f6670836f855bf7dcaf..482458348cccdcb15d837d201a9cb33cb978dbce 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 9acaa7e98f005060a39acb283f60a5aa63d69658..92811e00cf9b3642caea8d01d76a2e77b204744a 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 187e3098c48834ebd9d03b46038ff20d81320575..437b5186089edd4121c9ad0cd51334a9176d8b30 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 a0f98c1a55225230bcaecdd7c72f7cb68cc6f8fe..8984217afe7f103b7369ae228e9287b7476544d4 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 e8cf51981ad8503f0167e79b94ba2efc5e7a59c5..2578c552e1d98858acf14deb40e05b2979a39451 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 b7d2f873022ede472fd0b066eea586e01d487704..6fc8182f97b609bb0dea84c690137384151a5a7b 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 af2a0b967c5d4d37558143248329c154fca5f67a..aa091d3fd964d980e92fa8be8d11e85e514600ae 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 7ff1f6e8791d8ea651dce98fa9acd159223a897d..c09ec84ab3ce97a7376f6686e3076123801f2a05 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 f7207934e1b48330d5a33b7f5efb712e4d53d685..8367b5fb098591a51d18e2c91e38483ce86bc80f 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 e1c553e6f0cdb3ead6424b362deb17f23a25df0e..2799f0b76c769818a52606a8568dc327e46c5e9f 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 36f2ef7a2c7aceeeb3995bfb5dfab16de78cd03c..4ea55c7911d385d1aaf01c47461470ce0f276548 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 87f0135fc3ea2ee52da22766c6ac67a2a490d276..870cc8a9128ea704044bb047e9a4f9125ead851c 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 7abd4c5573d66acfe2b4d6f507ef42f1f2d5224b..fb5e8816911618590a5afb6b0a6bef1464e464c9 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 da6bf052525c7ac0b75ceaf327e6e6df689ab2c4..766adcee76208b480ff10f2b05cec7ac8ec0cbd8 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 9a4b05703b3c3464e70d7b85716bdc5b1dc6ffea..27df53524799889d1dbe321fc530baebfe9078f9 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 505e4f1f3f0dbacb78b1df9781fd8343ce4d6788..a1f0fc6e1f69c7047de7c1332d8cdb7a7f92422c 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 92ef781457de24a37f407aa9587ea2ac3625eac3..8f4d201d4ae9fee9085eb984f296d981c5dd7a73 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 826d5de51f972bae2b7985bc06b74c10efbafca1..76499ac7a32d8f74ec55fad333df537fb81e5bdf 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 88eb752b642e15630321bb00a5fc9b7a7e257309..6f7469ccfe395fc16130dc1e395c1ee5f1bb4e09 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 669032aa9729751b1b596bfbc8bbae3a0aae589b..7734027c3faecbe5778070854d53d34594edab12 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 78b8177fae64e7ce004a53e1ed9e6f6a5bc49937..61e4157ffa8da435c26e32dc3859e37c2144bcb2 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 748ca9ecbd59951bd8c430e2776c8fdd7c4c1342..7b55ddd8c2429d018fbf7f7705b21e624bce3e9b 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 d7c71a947a2b168aee93f6957b2ae33cad4e2712..d44d00656d0db3466df19f166503da10c8a683de 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 69b2d32d077a16f509f248479e24848c4cdcd2ae..b7b6bc318240d1f5a3e40c37881b24e6f3322574 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 f36b417bf8a0e5a8250a953409b986b9bc8770a0..2a668740875be89d80af270e4c7d4f60004b6c16 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 9002b21fd5268c3871645403f188e762977905ff..b14ae7d50cac64853b14ccb8f7cfa3bf0bf523a4 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 aba197ec2190bb2e77af68e391513676f022ecec..dc260abf4a8e4b9e34a3a240da7f4f9daa019fe6 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 9ee0a989b8f6b64e8f296ef6dc2ac215a16c458d..d5241a9aab6bc1459f8a4587a0a3f5b981292773 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 3b16f794767839c4e1eaca6c61860656ad0d0941..3f2bb4f532c52c63c4da3f10530262a80a65ddb2 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 4a896629278602342fd7569cb84e8b9e1ebb4f92..351077380ea05e94a40a1772c093eee899d19487 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 291558fadc0611b6683b3380b7cdceaf48258f7c..dec8ce79be2927b422bf345b2f1756094605f174 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 b417eeab79bfe66b9bc2773423547e307b960704..e7f74368efe8bfb52f14cfc38a6c7836afd2401b 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 6ffb2ab806ff3a5c9898e1dfafa69348052ca530..58aef847fc74c08fce8aca0b69b31de498701f2e 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 08022aab6d2722049a31f0217096f8eba9787900..4c2d1047d12998f6f935375fc2ba17ee544bfc7e 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 e157b71a2f281bfd36e283859fe8c63c2526bd27..e8ba0a7b0c760ad6aa16ac8fcbc5beffdc6d4383 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 fae5989c2aaf4412c6e0b2fc8c33769e11d681ed..c3b75ef5df3ff948c1a61d81a6621a4ac5d736c4 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 f6601b23d6ef18dc623eac14401b24bd7ee6cda0..fde1a7ff2a7395d52386114230d0ff6eed9cc257 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 16ddb6525ae8ef360d22c9e255b52db26c2ba28c..b21c78b04dc376990b38fd4fb2d6a0cada0222d3 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 85834a23c8fca73e29ddbfe14304106c5711a8dd..d823df68cf169257d312aab00304bce938abe128 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 5839621eefe1e52fd29413a2ba44f2daaaf69e9a..ebe0abc08f33f7bb6ea35e26a93f9f7341bb41c5 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 2edbe0da61fc4ceaa6479c3b829ba4f243383952..4d025d7948880e8e18075dec319526951d1e3cf2 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 5bc59a89f34590200bf01e9d27ee5b79b7a0ac82..07cf17cfeaa1970a89b81c1344e99a95d0226b6f 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 40c266378d365b11f81ca0d9b068b8fd3d3e8fef..98a3f05b5f2932a11c675f88fb448072f8fe8ba7 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 90bc2d752e0efd32331bb92defe82a7fe96a9b0e..3af69393efacd1e2c745ca6890accbcac9e5f28a 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 bf40207a8628fcd959fb7ba544d3a42d485c43fe..90f57dc25fd40eef3196ab0f827fc351f7e4666f 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 77a553d3ec30e7a2b1c9e9799896ae10bfbb3899..94337b4540d36feab5894efa08253b24213c76ed 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 b94ca53f4000b3aec5c758f431a245bbd5fab00c..5aa5b55a30d164d54231d67ff4fde4972447d8d3 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 d91a25ee6c8e7827c76a7ecead049ff6a972f3f5..e964cc5b6f6daf7fa2b97180ef6422c8d7c40ecd 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 ad97be0f66c82e5416d69e81f4643bceb0ab0daa..cabc578268de17cc0f94c5482436d3ef497e3bf8 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 75e3dd0647b2d0e4569ce0af341a0398bb934fe2..8377a8fb65f38deabdf73ba0e158d2141cf0a608 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 424598cc815855e74eff5b2784c3e25019f66d20..4e7846d49e6cbac8517e75f53eb75cb86aaec898 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 915ff7c3a516ac509080d4e05abe98f116c136af..9dbf616f126d67f8f3e2d09cb5db7da65d81a0e6 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 2d63b1f905e59774245153d6c9dd72d3a4f35f30..bacea754365d98efdf84bbfaeadaebcfb6882bc0 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 5215556cdf3cb957882fa97ae5cb93139a44300e..bc5ce775096596a1e821425a29c2dc90ebbf52d4 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 163a46b631f0c071491cdf01a1d20503e685ea53..1e97f67ad9e9c1df89e3dfaeddc0fd8b9dfe5928 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 852031f17d2f5e2e42828516a268ca0d0c3352d2..a2349bf65a82b3d1d3b81177b5a69c845f199c40 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 816c553e85548aad676a73cb209e1fe1cc387ec6..fe9ca2e5f47f569aaef07e461c358876b6694fa4 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 8a7bf40d7f7161053ebec047aada490b6bf8ff7c..229cd50a7e40de9eafa94df317903ea66eebb426 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 f1e80706843957b27f2816b5735e6e3bb185b9a3..351f34d74e6c081694eb93700d1186ba97c49d2a 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 3064f811e94e4e50331bbf42391681dfdc7bfb31..90d3cadab8a303efb340fa1b78d58d578dc3c0b0 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 e036c1858b522dad9c085708b0fa802a950b714d..c025e4fe5f0266acda6c15ef7ee6ae55e68c672e 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 f25f7b1a728ad85ad04948e87828db40db087e23..fc155442ccaa1955ff841b4be86d676bc6dd80e3 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 0f28bcdfac11b3adf2a4c4a7314d5a77200c3e6e..451d74e09ae6d6aeb862b3a689c848b5b3576a5e 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 2c6e333eba081650f4b1687c9209687f68b7a3c7..56ac3b27b21a4e9f5ad43a45447cd9ba7515f518 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 fc55b49aef2eb1cf4e70ae0fb771eb9562ff291d..611590582d18e285be64a420f9757734b967b26e 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 348c90325e6ffdeda0076e12c6b7b766978d7df6..37f969f9fd6e1faddd063a3a1c85bab63e4853b5 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 05c500cd97b138ebecea14b5672606113fe89025..705dbf1a929d21a70c3171a2ff84e705af72802f 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 3a65c0e83fb7f995177626db7b240ace686c8e10..20249ed7d091e1ae1ca21d48bc458c9045668a97 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 da056b6d14237a85cfea4c2ccb09f12bbeaeb91c..ce1101c0ea73b1661415de6b52f5130b14496258 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 71309be62f3ca5a5585a17317765f3030c45696a..84da7eb31184f0cbe9daae229006049cde927f47 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 fa759872ce77132b40531f4b4d1f3fdd7eadfb68..bcb95c74266a6e16333a3eaec46dfb5da0bda58e 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 5c712ecdf77df6713119dcb27e3bd8d51a6b23af..0a47f3f34e3f79dbae825630bd6b84fc479b727a 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 c0c89b38805d8f8bae9b6c82aa088df357b53a6f..86d9c229cfc7651a4cf2baf6041a562db0f8c132 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 9a53a001f2114948979ae40cde23b687e857f519..b5d5499c3c5320d71cb18b43809d3d0ed57d0316 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 a6b005075835d124d90f59737f3d2806c56e3460..bc523e51f3909c3407000aab4819f45f28e871c6 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 6fe18bb2b19e59ac23a49354ecaf1a64f56847c3..aace2e8f2cbb16b61dc3e2287f34d6f717704ab5 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 b30e0e0a5484496a7ca31e922b92589af6fccd7d..91eb23e72475692f802a58366f131cfd1ba5bb4b 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 668030c46bcbacc5acc7cf3f255eebefde45fc45..d0db307817b9f2d1ba98e1e33f024b93cb5cab50 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 9acee3afc2b0d81d816122ea6fa4ae1dc3ae7909..db882ea883c44d35a3841ec7f810c78c042a023b 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 90e4d238d868e57432b4fb9b3a5082486760502d..830cff07ceca9492cf9f8ca56da117f72a4ff78d 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 45b3077f6649d9899552c04d257858400ee291f5..3ccd8da7eb3423ca35931212395ddb1464310104 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 b0d4ab5a88fdc4753ae9033887db510f03377924..ff8c92f3a36dd39490e690946a0239f2217b3ef2 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 da5a77988c382befaef909de5d2dd38def2d7645..6ec6149f62b1d48ffc07b70c02f1872c89114cf5 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 cf019519ab7f41f762b38f7b0a1030ded81e01be..6e7488700f3aedfa0c2367fd7cdc8d3440df3075 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 77df98cba07a905edca1ca27fd70e13b9d468f2c..31a11f7a996553a0e2fc731632545c21b7f1c04c 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 288118e1d22db8765f5e0b30cc880d630895f500..dead3a25b6ed1636fa2326b7a2a1de15c1627e40 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 b98488c20d2803b977836d972f9acdf66473202a..2dce18be1987abc2078eecd49dcc3f73328fe87e 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 7d44ff9cfcadc1b4a93fe177419d20549bb3dcd6..2eef04f7b436ddf1b951a1968baa466758c600d2 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 89792f4f0d43ead869058b3fa347d37bfd2ec5c6..02d607948e1534252ba2cb814df8ad8a84dcce60 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 c58d66b58869630263a88491c9eb819b2214bb97..83ae20f7a3756afd1e97d63026517fd3b2e3b2e3 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 fc19068eb0d713a3f25a89fb261bc657be35144b..95e19da0b88c8e2bff4949ae9330181c44533aad 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 e51871dd53bc3bab24d24ae0a3050adafc62ef95..f3ff78f54d372cf6c26976198aeefaa5bfdf5ef9 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 15cebd8e95649ad60a799821faa001b3a28c1341..c93f0cfd7a9ea682259413035d715549738538d4 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 72f1f40aaa493385f86d00cb6edefbc9826ea1b7..cf8705809199b0674e3d505fd78c12bbbe1f34e1 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 a8504961b28811f2691905716de1bc311dd8cb97..784fc2c5c94d6cc73e8473076ad8bf1a2ed1ec9f 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 84efa7803c94539b30d8a6242964ca14b0f4c1f1..8b0e7a86972f9e6a2b6d7b47c6d34f0ccd23245c 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 b9cc151b3436caeacd288b244b7079614d599ba0..72838176aabfc9e4794a4010c71d6a584f31b08c 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 e80d6eec49cbc89a4eab994bc1f3d941deccb923..6e48d33f4c0968b0f758b21fbc45118116d171c3 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 a6832f51c1eeaa55eb4e306c2d9c2c48f199cf6b..244f564576dd737cdafbb6692e60312fbca0bbd1 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 f5b31cb64fa4ae0b34c03ab7c892ecd0fbf67d8d..70330fc7d8439f2532f37c1434f7229e8fdeae53 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 f5aba75d572a2942d493619eae0e22c82be29f5f..18ce4cb2bbf6a4b68f7501a62e95cd93e98c300c 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 b077d211cefae01ed18a4555c4f6d3a3604528b8..5fe4bbed34c8578946c817d18d382a65a3e8e352 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 048d7dade9eba8b98fa19b7d5a03d6bd9c0ff1c3..bfecca0e323c3734ac3d69ae5941791f496d677c 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 8bceac05dce99f86b6d9654769303a45b25f89c4..250aa501633e02897dc280e4425dcee62314ee7a 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 01e9c303a7e4c5d472b5f6b772571d95b9e9b728..b16e0be7a74df083e71e4fb57b00af7cbaeeabd5 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 dc4de78e9273c5953c37f4092331f4c8d7d8496c..6458d048dd9d09594a65931b31774027149ee5a0 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 eec9b7540a9684f5f00cd06e062c348854a85bf5..90b30ef800cce4480d1cb138995ef4fbdca2ebbe 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 0d7591af10565e2eb24907801173a21e16e8ab21..5841d4ea20f5628ebf5465860e59d4f8cf195afc 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 c54d783b7c5246e902a28aa30a2708b88d1aecec..72173c67330184c4d9bd377d278295052019f4a4 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 e82b437a3b5404dce519e87731a7c1dcaf5d2ebf..811a5ba177b40b3e0b082d7303ca6a4a88c3747f 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 e44cece39dfc018da6adec3f301a27310aa49f93..ba06750d9f795055feee98031dbf81af1759b8d2 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 8640cd1b4e43a4dbdcbf537f76bec1b441ef5c4e..5746a8c8ced68d8ef025ad363a14320924751bc3 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 c2f76f609ae571477a88f07fc770c2df624c3d01..4a4715ca769bf0877bce80592e80e6dc511da855 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 dc38a8b3d2f8ea5382875b9d08218d29f3b7f293..5a9caea83849db78391b5a25a476479184a85b3b 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 fdbe2d2e9be348e27b96abe9ea29006be501a97a..0d21470fed0d7754f20c3d6ee4bfbd81a7fd2719 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 4e961f0c8adccaefeb43e22ac6e8d1a92d393a87..630d724c20eefeb64b29a670c5bfb5cba5b4ea58 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 99f2e6bc30dbdd60939fd5e31786d9a4788902e9..97a75c88f872d8b0d9017244b659d56d727cab28 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 e11222540b47e6d885e261e5271ca41ff226aa37..2ee579012488bc280493982a57eab35e6ce3c36a 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 85bae65096cba449e83ab65d0e869b1a13f6caa4..fe8ea37f1e1e06d5462c5a5b3796fd2131400fe8 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 2ebdab4eb8cd9f309ab43a149da9b5acd53fd1cf..9a35d4e7693485e54df4dcfb221c4c95d166aada 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 77396222d63acec3631eef525715512c4d5e2a56..b606bd14c34802a5e072011eb7fd27f5bcfe82d3 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 78911284bbc44296888917671b7ca5878bd58afb..a63062a0f80f6ea08895fdd0a02f7a37aa85a4c5 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 709f3d80f7eae7fc745488b0d589b5b433e19798..4425273a5c867a1d9b43fc51295c944c3562c287 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 e1c08a7ea1c3ed4bae8568cfddc795a30a972a70..615bd49b85bd73d0193df542431cfcacccc056c1 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 0a2d8285788a387e73f2f3d47667d3258e831fed..0a985107fea5c52bd4be57add6401aeabaaab95c 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 3a200ed96543e5adfec159f95de2f2060d949789..2b736e21e4d9deeda1248b2c27ebf91afefa0800 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 dbb4767e53b512ff12ef93f9264864c76a5905f4..c297af25a1879e7cbb4feca3ff9d05b84b5fe4dd 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 079a74d4b84c2050c8ba851e51064e84c379e0fe..c3f79535e32a3e7d7a82ad92c3ae1fb8d75dece2 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 c0b55b221a049e5f096495a223166f296eb6fa45..75c2241cb22571c1a9ad814f07aaa8894cb3444e 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 6a087276783cb77d93f71191cd5f6e3647325739..9675cba186fcb8c8fa554212c421bdb544cb4b5f 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 b8f809b6ceb12a055a88fefbcceac0eff1e2ae4d..bca488ef1a4a399385424fa7d3c4588acdf6e542 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 4b4b63a42c036dcc21ddfb505e91dfe5ae0ee4f8..8f6d94419cb12203f78e263a32dc1056345aad95 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 b7c099e049007f9b4f3549d48f22dafb9e7328bc..119edd623d5f40f10841d2e3495680e97840e6b8 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 395e5c7ece5a66fc1e4e945de9298aab2f356d46..57162540054bdb97193dbe615e08c9ae74def90b 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 d9589ae46c33e8bd11854d9917e5d4291df61cf8..41bc714e28c629da85208bab221d63ad0e82c63b 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 7987c607510b6a1e8d1c4f3111309a16e9410d52..6fddd3c6e6b2b2470382504817451a53a967afd9 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 9c53488ba6ce314beb40715503a72eb653199376..cf7ec837d6325c2ff944cc5571d88b3b7ef24154 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 20f5489c50bb67a07df8385ffe75d58f1a5085d6..3d4e4228030e95ab5a4695d0b73ddb7dcd6f831c 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 255a468606f2b197ebc5c28578c508edca6c03fc..be46ed81e249940f017747fa7595c8a577366bfc 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 4f1597e0738cfaa004b71dd0775900ee48657df7..9795f6600007f270d0bc6ec6b0382cea6da1ef39 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 c3ab6261f0af9223927cd91930a87ab09f0d065f..0d4f3d9dfff7b5414535c3111886b5a30d3df3bf 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 e0fd4849f44bcaeecdb1c1fe980073ff10f81a63..42e6fbe946f421af416214bb071ca7d5615b0ef5 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 2c5a96e63b7c0d6f28c2e5271109c7d291133e19..7f832b6ecb0bb942b0d983dd8526221b41f9802e 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 c54f7710fce6467875280101a27ca181b1e41c96..42e0697d31ccdccb7c80e214c27778a8be838748 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 b5f194f9a0e6163516fa4ef1eacf68984c5e0bc2..59eded0b7d7294f60d17129b30559cd28dde6491 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 4cc582faebfa83b9cbd5b6921de0f5bd05b4ec67..a1dd1bdc10246ecb858392aab26bcb91e58fbb36 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 eecc47511139e8a4811cda0e61a3284b5c5c6097..6bc615a1fe85d8b2ca241102072e8726b1f93221 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 8cc5ba3d2aca57a68eb6a156d4e673bdb58c8e18..e89cd13a09dcb4f2d5454f2faefe58d64586375d 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 9565e16960f3dba8024e95493ed9c32cd0b80f50..3b9c674fe7f9b2244d683e522a15a29bcf7f5f67 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 e419e8c03af079bbef8b2c210f43c7bb8a01e4ef..07dd7e7643e298d765c6a0877d463077733a0435 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 26aa619f2106818809ccd542ed080a7012dd701d..4b819e4a799ef68e36a6ac79f2ac815713899bd8 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 0bbafd186657c20e49139e168393606690a46c24..8532607719c1514d48181a33124df21e9fa942be 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 28fe75d6fd8054ee48321954f84c390a016a54e9..fd0effb8632d3b440cd1560432cc0803d7c43c41 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 4f1640ab36d0c7727a3c68a9e7e9fecc2945d61d..b8482824796f3a2095c8766bf23774132211a96b 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 384d3835049bb92dd02d082b8b3b98179c853cf4..d22d26c0b1930c985fb2b34d4034cad02d8d0d40 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 6d13bb24c579502ce469e577761de1a2a5892487..361ded184792bff17ba6845c8870a1b8a2d2bb6c 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 be7dd8c7cf23ae0481f48222ca817530d70b09a0..47b7f8d3d169bae2d0355aece4939face6ecfed7 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 e9079443959f12b456a15ac43e2a3879bbc920e6..65fa8cf479027f929adf99f4ac41d96142140efe 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 f36d53ad4654d010113182ebd0d2842e3bb14604..3d3a240d640d17b2c8893107a4e6ae76e09ea7ef 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 97fd1eba91c68b16d9b67f8b3638eaf8ec2e05dc..f8717dac9ec904a3b0979fa326da7203ce420d51 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 d9b3c151755fad570e9174fb3e033e7f4232dcdb..603b3069d9b5ac92d266538cc9ffea90aeca195b 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 6ee1f818baca3dd6c14a59395a4904da31eb77aa..467bfd6e39795dbedfb4bf6bcad91883404defb6 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 7a4973fa040761de190d549e764e2afef4adeb73..bc3d68f21f06ea4291ee458d56509d0c5b85c449 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 633f1333e24793e9de86b128b911e8cba4bacbe3..a4046e5634b9eaef49eb0a564fce62960daf4417 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 7d1c8c2522ad9023248cd025d65066b73df4cd5a..a6f36269f641d791a7738103b57b6e2ad4adb215 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 15532f613264652a3304cfc2342f6c47a7a37ba5..9564ede086d5aa0af7de7ac024638b7658fcf8bb 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 3cc86fef2a0fb1e60c2f0d63dc9b36763b3f1ff3..e1d157693953ff893ce02e96e03ea7e3629b0e5a 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 e51ba6bfcc05045f2111c05b6eba2e4ac39ed05d..339e29bc7e9a3c3e5334b66a4908328061e9d471 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 2577e94e91f60d911c37b296bb9e3beddd36f688..208419017b66c18bb88d1cd02a3d6b5f0bd5b53a 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 f9e7f36678ba4ee1f6e29e06bcfdb61c2b1a16f5..f16d6cd1a78e86b5e0c71e8f4e3b89ce5f0b6ffa 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 3428406e8d3a2e36219ce3ae91edd0e5c5aaf678..24edd966d8ac77bd72f300e8a24ec87af20910bb 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 87e51c0b198e018ef083cd72ba60c9f13364134d..0d3e93b093ca38534ab805cef193f1c8472aa7f1 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 485edb227c92ce28648b9adabee923fbf9ae8595..071aef98ddf38862248abd3ec1a5d58885d283fd 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 b389c3b56b36e79e467cda575ebc3c0e58095b7d..f4e19d2929ac3f3a7d8865f4596bb637ea6c4800 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 0000000000000000000000000000000000000000..00b86ec4f8938daddc97bd2ff2b52647acb5d279 --- /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 26a9e766279b924bf229436050926690c6f264a5..e445eca7538170453208324750dcbcf654eb6f10 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 0000000000000000000000000000000000000000..bb77699892704d3a7ddb5191158b5a1472877a1d --- /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 5f6b144dc246968b5b99c1368a8fa635eaab0424..94cbcd38d2399a39685a661084ebe17944b1b724 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 0000000000000000000000000000000000000000..a5c36fd9975cc49694499beb18235bb1961c5a7d --- /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 dbbebe6ade667285425de5e1f0fd4b9dfa8a1aab..6a7f3066657a0b231a502abaf44f0b80116ac0e7 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 0000000000000000000000000000000000000000..25df4b4a50841d344261103a5b3cb7eee6768920 --- /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 ce749df49c873af7c575d71b5be3b66a03319684..c5dc84ca6cad3985aa90d33fc3d14205a6df0b1b 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 0000000000000000000000000000000000000000..3c2f21c7a0b59fb567424f2e2a814e2ce387e776 --- /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 646c169e5f0d103c2ebfb58d8824e80f7a96b678..85b7ba3e5c06b29980210456a7841c483a7505dd 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 0000000000000000000000000000000000000000..87947942abace1db5fd712b319a6664f897054bb --- /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 457dc03dc9de3c3a82a17e42a533c7099bdcbef3..16127b5d37e2f6eb4ee97bf1178d16a605803b45 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 0000000000000000000000000000000000000000..7318dfb5474ce68b6620f203863346d620fbce1f --- /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 400d354c3c597b386728a44bd2fe782d4860e3e6..3bcfe37a9df4f751e8753638f02ca8ce9272b755 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 0000000000000000000000000000000000000000..d47b3cb8ccd25db2ba2ab38c60d4977c12c9fa47 --- /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 c213de50fbad9dd0b19e2637b31e992cd7065b9f..9dc3406388f0b86265247a5806bc3a683282acd1 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 0000000000000000000000000000000000000000..b976a1d3fb46837af5fab81c524c7f34e9c55352 --- /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 90861e7fbc9c2fb4698d59f9db6e4558b628a040..22cd8cd653e57d63858394db65f71bf49297dafe 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 0000000000000000000000000000000000000000..086f241b7e06db553d52cb0229e9dc4e3fa72d22 --- /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 a8c0e5303d0e74191de70cfdc15634742e55e4db..91fff8139151dbede18c42b1af844add51749459 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 0000000000000000000000000000000000000000..162de899fb9cb96ab7faeae9db91211e37ff0065 --- /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 94dce2dc5160ecd3cb2c0cfb6dced5300017069d..88100beac424dc2a1ad50d6a306b7eae579f1fe2 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 0000000000000000000000000000000000000000..3a1513b6b7e8bb54c2a1f2466e28ff81f8992138 --- /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 0ffe17db37e269406c33ab171cfcc23323fe6921..40583e7870bcbd5b9ae6c732a7d906c040ab280f 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 0000000000000000000000000000000000000000..cca6d6cfe1792509a94f253906a850d1dc6da7b6 --- /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 b30b98e5404e7597e89664638535ff3e7744f5fc..4465c91ec41f1e93f7836d90cef0364ed9c29740 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 0000000000000000000000000000000000000000..e7cf52486104cd7f91f1895e32bf812abd50bfed --- /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 0470090e1150d67d6520f3fbf7ecfe74be356ac5..877b70a7ec25b781f74acff7458d30fda033d41c 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 0000000000000000000000000000000000000000..cc7eab0ab806b5c70ce76e17dd0f624d9e3a102b --- /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 d061ba75acc7680a6a65e518154d75b2ba9d44b7..e8217712d8dc34485dfc8c2a7d17610f4ce54090 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 0000000000000000000000000000000000000000..0fbfa0121e83aabc4af874f6d6e556791f7cedb3 --- /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 1a565066f0843310551910702b786c9d159a7a23..c5d95121fd74026b1139fb6fd73558cee59bf751 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 0000000000000000000000000000000000000000..e0be00bdef6c97ebfeb5a48c13c38450be476eaa --- /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 42c105c0450d7ecfe5255cbe342872e5cd33fe42..b0075472caba8f3ff2cb68ca79d348d9e1c68fef 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 0000000000000000000000000000000000000000..82119fedd931d170cdcf316887bd76631a2f7b9d --- /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 b6f8849595fd02a61b9b1be8564d7583c6c5a69c..5e464846ffb88cfcfe0c97c8284941a0e5649409 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 0000000000000000000000000000000000000000..3e7f60efa151adae75225f631c8801c9dd1e9d84 --- /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 a793020545d139335f53a3d9bdb8b670f5b652f0..0f8788ca0aac3f400e4414420f1ee355cc20454d 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 0000000000000000000000000000000000000000..1864d3e094dc2da8b6a86e18135c0d6e761d4fee --- /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 786a288e72febd0e28363e96f10d88e8f53fc399..0d92c1fc655e8eabdf07cc3e2f8e062a2f1e69f1 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 0000000000000000000000000000000000000000..afe5ff39cbc9dd5efac809fb904a89c66d4bd76f --- /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 2e658622adf8b9da6354479b1267d68e6886d4f4..123ed3f24e4fdba31bc373c32d9c34e6c92e55cd 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 0000000000000000000000000000000000000000..67077014c1591cd890cda788965e8460fc95ad43 --- /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 be6678e93b42ecd3d8f57645f16680319ebcc63f..af941eede4ff0dc57c76e50ba3fc1670235e5c13 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 0000000000000000000000000000000000000000..6dcf52f9167a5dbd05909f5d8ca9ebb3d2fd6d35 --- /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 d567e5201d9e371564519646ee28ee54f0739da4..d7d37fb341755e8448baf9eee44125142000babb 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 0000000000000000000000000000000000000000..6b743389d2f212b4530abaf6d1a44bf249e0e42f --- /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 b5211213d84cd47ad1ae4d8d49461461d7febc3b..bb777bb97de57a8632059eaeb3f7f83e0dd65123 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 0000000000000000000000000000000000000000..8fe3ffd773461873de7915162049a11fca2f3da9 --- /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 58a35f3ab7d8cf83c2967318b6a1088954e887e4..1d22acb51cefb8125c238edb2d2cf5a5b0bd0d0a 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 0000000000000000000000000000000000000000..6ba2bc2663817f012d4a3fd52daaad1d3e75257a --- /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 f4196b418525bd9c6843bab5f286c5876f6cd534..67984f067113b22a6fdfe46fd3fa2aaa22cc5432 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 0000000000000000000000000000000000000000..d317cc62d70b8183f414c324e4eb3007264933c7 --- /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 70001c138a3ab25a119cf3db743eea66be6a0885..1e69336f7cd5556b5d90f6bc2a2e6e179a8d956d 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 0000000000000000000000000000000000000000..9a2026f8637cdc152286108b8066249dab48126c --- /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 8c6b4acf96e1c482541cb99ba92960e3b0f6d0da..7c9a86964f059c8f9acb8796d4190d45b0ed3444 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 0000000000000000000000000000000000000000..42fa062d6a2eb21afedbb0cf469c623d0f1f0db4 --- /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 ff1418326e606b891857f9c2eabbf2c94e54ac62..bf55ae3425f8825738fd1f32973eed6e53a155e3 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 0000000000000000000000000000000000000000..80ea593a3cecff0edda2c22fce535f16806765ed --- /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 887c3078c100fc4055054ca6f738f2a0653f844a..5d1b75682d32e8730d48997bc10b76a664a14aec 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 0000000000000000000000000000000000000000..94f2d20681b92340fec95d8a31be522c62ee11ce --- /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 3ae3c161ce9f8e42a8ee78d8009cfe8e226db169..44b1fca1a2998be9a8777a185b05fc7c20ac3e57 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 0000000000000000000000000000000000000000..814d650d7f7412e1e126c5476bc1e18ddef93153 --- /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 e1c0273d4c969c788cd80b3ebca0cb87ac3b5fed..119cc90c6f7301b778492325929e5035b1851b1d 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 0000000000000000000000000000000000000000..ae13001f82e12d4a7ae808c9c902939c5f85f3ca --- /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 254aca51128f4d9239fe06010e3c53eb1580338f..590127185c09c9172838a779c16bc2aae65e390b 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 0000000000000000000000000000000000000000..461ab6f9e8eff83997f0d42d3650f64d5568c41f --- /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 babab066f538cefb5514f0e66bc9dcc6b7c6f8eb..16e2b911d8a88b7005951da98a3bceb241e06c64 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 0000000000000000000000000000000000000000..92e82b54758efd33b8e34763badda316093d282b --- /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 5c191c37a32bf3d618249ac346a638c580c82cc5..2e8ea0a2fbdd3d593f7dd5a4285cf8cd9a309553 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 0000000000000000000000000000000000000000..682787b4f81590dbc782dfedc4ca154fc723f8ed --- /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 a67bf39053b595c15d76cadddde97a38d9c85d4c..3bdf3c982e0afc694e38c075f0d886ea97b53630 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 0000000000000000000000000000000000000000..44c4d3059cca38f16ebbdd0b7e59d179c9b1a8c4 --- /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 c5cdfeae119f2df7155bcb4ce63ab16c02878d17..9545b2d98166f2df7498e7c4aa708bdc1035fe28 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 0000000000000000000000000000000000000000..9ff6dfdbfcc56cba1ada791a53991228a72aa829 --- /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 d1640a227956a0518f3ce5b7a0b283b9ec41fff9..685e9c5bcb27e91f34d231d512341349e9ed8a77 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 0000000000000000000000000000000000000000..11a4c12b776129f8fdce0b428d0dad85db470654 --- /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 7bdaaaf2a12d04a501002128ed1b4212b9df7bf6..5b3d1ca92ccaef1fef159d146a976b4eed2c0f58 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 0000000000000000000000000000000000000000..c28d3937dfd557cd75dc75c940e293c0b6ce5fc3 --- /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 dbf4c10f699544ef0f3b568f58a7f1273f682f93..6bdf25d3cbbe9f5264799341cbee8b6f58e492c3 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 0000000000000000000000000000000000000000..a0955e0ed4fbbef2e1b106d214e137182e569667 --- /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 60175e4461ae2cb7dc43f400597a5735885efa55..6f4f12c6f87d8c047349f95f31aa3e592d41841e 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 0000000000000000000000000000000000000000..401a98f92e38283ef93b7b48011b74d30615a909 --- /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 a01438d44a3b6a01b48848179a3f7f60744b861a..7db68792f94567dc420eecc2a9aff4b7d7e5ecb4 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 0000000000000000000000000000000000000000..6f0e4bb747de887e5330ded9e43566e6d3c42665 --- /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 d692be6e45dabd69585948a72aa7b6058a8bf4c6..7c417f61238776e487da9bf768825e6a451cf2ba 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 0000000000000000000000000000000000000000..4a1b509daa301b0ec6e74ed01930c66cb74fa859 --- /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 37622f64352b0de66027657a747b03d5499891be..5d2347b3acadf3836c3b7c558f56cc84304322d1 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 0000000000000000000000000000000000000000..b5088854b3170d08decb5b5bf2eeb9c2b3d03a4e --- /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 d681675135723c51049a12ffe4617d72ad00c8e7..2ac533eac94fba20e0338e139e088d69e09a4137 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 0000000000000000000000000000000000000000..c81bed78760995034ab59aebf3dac101cf992c15 --- /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 ab7555f8262a5902bf3f8a40b516be9e1839819e..51f0e90adc1f785a7b242e04721f3d7c27cbc842 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 0000000000000000000000000000000000000000..9108d4445156dcdaf41080800b0e41d36eece016 --- /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 99244e92044f113893ec4568cb6116567e448de7..e25d1927efb0b13293dbb2246d7f8bf1f2bae847 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 0000000000000000000000000000000000000000..ca07885d64eb159d63e77bd06122597dde7f268a --- /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 3abafd53872cc50a8a04963fb4712c030f0f1b0b..5f4ca30aa2163e0a6bfeff8aa895cbaa8f2a3e5a 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 0000000000000000000000000000000000000000..9c13996df364a9f3e8c9f68a1b467892634bc91c --- /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 a094afd2f21a1078cfc020a2d7ab241d6fa2a2e2..26f265b0efc69a7f81faa58ab35b878e8e9454a1 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 0000000000000000000000000000000000000000..af9054719199f89039cb9cfe7d46e96c5b64f9e9 --- /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 0fdef67e5352e9f0e122576b3db7a7749fc361d4..1e4174abd695229156eba562e13ede33bca09463 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 0000000000000000000000000000000000000000..940da7f0f542cd0bdbde9f46cbd400e379f6d133 --- /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 69270642bdfacf6778768651e86f581329585a6e..7107c8c61c17dd14a7b4fc69e62458683c10153e 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 0000000000000000000000000000000000000000..9d0b43d07989e4b07d375c68b8903b98d3bcfb41 --- /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 2afe29b96407cd8fd8b66c516ad087013ba8be7c..a595d38c9a84bd6aac39345d3c5440628f78d1b3 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 0000000000000000000000000000000000000000..58adf28a9467bcacf36b5d1312682b8d2b161fb9 --- /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 4f416c6ac7c628f65eb49a1caa106327c90c842e..18d7f7d410134809e6816a3a17a80ed565a47475 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 0000000000000000000000000000000000000000..e462477641ef615084d9d8be3e97d70f14e22a55 --- /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 91ab28b41b543439604f9ed22363a5a231162884..b5645a27b3b6d0627913c522490340a8a9cf3f54 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 0000000000000000000000000000000000000000..090b37b8e2266a0ec635d96a4c7380928ae4a167 --- /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 c5100b1f2e706a949742fb7ac538b286f2594197..80030e2746d6909cc2f6bd3674f71c4c9b05b499 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 0000000000000000000000000000000000000000..6751b9b72aeebd0b2dd9a0e539ea3e1ece7a31e5 --- /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 67a359c7bf81e08fde6e62c57864bbe797165282..ef738d00aeee0ba6c0a4e6147c22356fccf33475 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 0000000000000000000000000000000000000000..61186769701c388153a7b49d3c8c39d086bcfcf7 --- /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 91b795280f9c252146639092113731bca8cfc635..08df0a706eab9a03b7ac8a68477ac6edfa0f461f 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 0000000000000000000000000000000000000000..04267595cb6ba19d484490e230b3c3e0d481ef7e --- /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 1cf437608b3d9c801c001b7b8ea2260dfca7117b..f421b9d53dd17d16dac38a47179efe8134e8969d 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 0000000000000000000000000000000000000000..0a63fd6efaf1d9f41e6081a6bf1cb7b8f1d7be3c --- /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 77ceaf6ca39cc10f3d054f6e01f62a8be0925368..14e69fa16dcdabf1e504a92f18dd7a5acfaa9569 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 0000000000000000000000000000000000000000..0e23bdd129824dd10ae3002bf8f2c85839e2c80e --- /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 4a8b45a82d73d5deeda9214afef46773643cc1c2..9b189241eb4178c79fcaf8a4f7da4f6a076f4844 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 0000000000000000000000000000000000000000..591795ba6f81a1f9abe46c25e71b5386713cc28f --- /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 4db8fdaa6560e27c24d711063f3287644e4247e3..42242f705a3a373cd084971f7b639bb917973d26 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 0000000000000000000000000000000000000000..ab82139af718cc8e1b8eba07750de61cbc77c7d2 --- /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 134b02eedf76b299dd8bd57880e73a4ae469c75f..f7e213663adf1a9da9de6fc3a7760eadc29430af 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 0000000000000000000000000000000000000000..204748f451be59ecae26586caa7991afdcdd6c6c --- /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 21cc2a0f9ae301aa13bc22bcea4ca407bee733b2..92462787e7c0d39fbb0ec100c5d91d506fed0e5c 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 0000000000000000000000000000000000000000..c242d401709c459e5875e7684965d644dfcc23ac --- /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 b2b778d812520ae8522c7e2b7266e35848c17efc..e22856ee260082633caaa6d5bc52badeb0f5a712 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 0000000000000000000000000000000000000000..38ef5d8dcfdff6c532ca42a634285c99ab84f22e --- /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 726f92ab4777806001f53e835cf61992b74c9c13..f5fe44f277cf294cf14a0787061de91b334f3b9f 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 0000000000000000000000000000000000000000..f41907cd3060a52d3d117c58c0bd37ece028bc86 --- /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 a23b26cdd6a68d1ace773fd8a706ab2c463bf3d0..5d7c7dd72c035e0909910a61462d25919a215058 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 0000000000000000000000000000000000000000..7fa261a468bc5e69f2d13b130989b467887f631e --- /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 ff54c01fa773bf539c467c62acae7293fc4eef8d..b1a2d743aa52d580796193ef260f55d941d02840 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 0000000000000000000000000000000000000000..f070ab1d4d8a94bf2e82eb92b24d28541b116db5 --- /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 0b10fb5f5e8ee717b15c9ee7c464591462ca155f..75ae95a9ca635015e2c57ed8ff6f5163041d4251 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 0000000000000000000000000000000000000000..2b76681d4eeaac64a720a3a5fd713df6e6d25f34 --- /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 edd4c30f5f43a4b276e615a7b9c1ba88350a6318..97533d29e417d86cf1cb3302c69333d5dea00409 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 0000000000000000000000000000000000000000..bd1880038a346c0a5c6b8855fa8594b4cd22fe46 --- /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 9f79428bfdf699f909a87a0ea188302382bc0033..cf78bbcaef773cc5f69c71651c2cc67b62d81977 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 0000000000000000000000000000000000000000..86fd2e0046e2d2956852515fdacd020b6c9ce403 --- /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 a4161ef71da74f419a58102eefca54552af78e10..ff7afca29842f77b0b860214852824fd2fa7f54a 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 0000000000000000000000000000000000000000..35f9003ee54fc1e301d9c41e9541ef9d4c0c4818 --- /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 a6b6e17a10eebd48b869e728d5c6f81ce0abb8ab..55a21c529d411b2c7f53a521ad11ce474374fb19 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 0000000000000000000000000000000000000000..d28a6fe4083f9ce3f9fef320c4fcfd64ab0d9dac --- /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 a6fdcee78b1eef5cb93ac4668947af2f38862bb2..4309184ae51ea6a615aa90210c09678cc9d785f9 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 0000000000000000000000000000000000000000..ea017268baa1450412b9af588446873ba419668e --- /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 e81a1aa16ca585f91f545512ab1e4c154e699656..ec81e421e68d1438ccad1030badb60fdae7a9742 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 0000000000000000000000000000000000000000..fc2bddea622116bb737373d7355b8e846c36d5d0 --- /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 d8989434b43ec49566030702b11b5cad42433188..cb95f4c97ad724eb418f0b9dabdb6bb8b543f45c 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 0000000000000000000000000000000000000000..4011c6d24e9f2b7f991a2544fddd990fa1a14179 --- /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 30a0db3f1dbd1bb9c4dfac3d9144be873444c12f..b67f7fa87fea927a6c3c192883b744388fe342f7 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 0000000000000000000000000000000000000000..6dd5374ed36049a46a0e03599bbedb648b2390f8 --- /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 fafc501a66a0f73de2ffaf1f5822110f4322615c..616fe024ae11ed222295a75dc3cd3126d5c5f1ea 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 0000000000000000000000000000000000000000..bf7fb214783bbf8e9a6d97ed049d64bc4b52c5b8 --- /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 68230d6d140efa24f4b289ac09c55798094a846d..6ead238517dd9a5e7571ae2291d964ddd16457d7 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 0000000000000000000000000000000000000000..4e332f6ae9446bee058d891ac4ce4a1e7f376fd8 --- /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 197544959ae3aae98f1401a0c453f1d8462525d8..8e174853797fb15fc5ae639b149af740b5f552d4 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 0000000000000000000000000000000000000000..c0d00b480b1e5a95d0da6da4d2beea5c12e1f5ea --- /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 ba8f574cd68086da06d9a7076418c338824e842d..2cb958c868f65762055985355a1c5524801d0d34 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 0000000000000000000000000000000000000000..3631d603bb7f07aea1f5befbc5cb8939de6034c0 --- /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 6befaa9baca32dfbedac47c4138f56ee68f107fd..453c9477691d2e0807a6e8ca476ae64f0435e818 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 0000000000000000000000000000000000000000..28c08c5fa8dff9e3cb348beda3a31d1b04ca73df --- /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 958c6a5781b6b9002fcb877e65230d85e01bd36c..bce9021616a79f2c6bcfde043b4232e50dc79651 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 0000000000000000000000000000000000000000..8b431651789b1df68331b7daa58ec988825f4d0a --- /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 8d2d283be05a94a162162c5e7126d642d4cd6b33..965e26e368eb1a122fe1a5a36d550737ea7c4eff 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 0000000000000000000000000000000000000000..7fe8fd4efbfa3752cdad7912ca325cd3fe1c9cd8 --- /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 a4313cd2c5900471f66297670812ebd1aaa67483..1b96ca21ba815c7345534293e886cf8408d5ab98 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 0000000000000000000000000000000000000000..fbc10afbb7a5e934323cd99620b057a58c1bd597 --- /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 0357fa5899b2823aad33b59986fc7165fb3c2658..e620e30e54234305fa582c37f380a02c0c989ebf 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 0000000000000000000000000000000000000000..f16828051c9f4288745e33b418c08a9db4a10469 --- /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 de43e0ff054369b562190c8c0c43adba7addc61b..760995e23e55f08a0d6c9994f75ffe1f63c027ba 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 0000000000000000000000000000000000000000..e86d8beb42260a8d360cd43d899fae8e99ae4bb1 --- /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 4c2924c1615bb6a573ecf126f73d0771ae92ca0b..9d9bdad0e3a002caed7c81cfebbe2e5a8d6b877c 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 0000000000000000000000000000000000000000..304247b9ff8452f27b1eda9188c5c0738977158a --- /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 ace992504baac6fd6e61164a609b3ec9fd8e8a0d..b33fa8af0f1012e0d090dd53c42de25fa2301c4f 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 0000000000000000000000000000000000000000..4bae3c86018c73eb2af42f8d49745770382b74f6 --- /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 790612b5e6c9e46c6c741138364527e839668ddb..14f90a22a106f636b491d45d93ef679db35aa25a 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 0000000000000000000000000000000000000000..009731df0b1be3394f6abbb6bc92aa24d0f2b55e --- /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 6dd3204ad22f7962fe4ba5847af72d4b84cb9085..3a07bbda76ac345bd2a481eabfd6e2b6b335e3f4 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 0000000000000000000000000000000000000000..2d4e80402b10f297ecae22f7990f248bcb6df618 --- /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 4c45a2fc156b3ed02c2df0b883d306135a6cdc20..3273d902437675346e7eb8238fe9c4398194ce4b 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 0000000000000000000000000000000000000000..1f7d88457853769341bbb6588680481d90f22471 --- /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 675cb4bb7dc1ee212fc670b5d66e16c70961e3a1..d4ed87fcfcc6f3ab872f1fe70be13de011519a26 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 0000000000000000000000000000000000000000..dde99e316501dba93beee403d098dbfadf165429 --- /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 acf53bdcbf12a7ca6fd16a0195421afa78357925..42e369b23efb407b27cc0dc254a90dc12c613abf 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 0000000000000000000000000000000000000000..766900df834ee87cf94e80565a0367125fa3f922 --- /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 b62c34a699f663b20157923b7b9243808c2d7198..fbb405c8f7eaa0d6c9c035a65d0de5822fcb8c6f 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 0000000000000000000000000000000000000000..b217e0ebfd28478800496a17da77283d2b973f65 --- /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 c84549885396f7adefe47ff98fc6548baa0de077..74edd385153493b79bfb05699f9b17cca74a5491 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 0000000000000000000000000000000000000000..22708f7b9e1d112eb3cda356026f5735f56990ec --- /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 082a0f3633b3fe500a59f2380940d3ae10dbcdc4..999a0878a7a8f1aef0b4b5d544b98eb944f0434e 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 0000000000000000000000000000000000000000..a150c471bbb385099a6935db05e2a36edfa5cb0e --- /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 63b9afdcfd802c0c86d38f680bb9fdf974fa23c7..294a06b2cda0b0b40345a3f627a1b442f5c88547 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 0000000000000000000000000000000000000000..b4a5176ccb5b7cac20636998ec488fb84bb363c7 --- /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 1fc4b822fe410c3d049b12dc91f0684ae88211bc..b9f59dc17ad968800eb4420e20bfb02b6796b6d9 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 0000000000000000000000000000000000000000..83098e580e8e1b98ee844c8c7bb246772525e68a --- /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 15794807f064e9edf06e3c505d1a0313bca740b1..c1ee21884b45cacf65c16d43af26bc50d3e83b1f 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 0000000000000000000000000000000000000000..ca1e44debcb0d2cdc88f7fa9431ef938d6992c07 --- /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 6aab92c88bcf10b38f8c4ba5325ac4ad48903367..b589e88d35615f569ff3a98feffdec254ee9a209 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 0000000000000000000000000000000000000000..002c8b541bcb8f0ae78864a5c2779d9c4dab2750 --- /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 9dbf1b371fa14f35b954e2b43b2e010d927a4b68..f6a80e21784600c12292838ed7a12e4554e1937f 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 0000000000000000000000000000000000000000..788c81e071629306fad95d7efbe6d7440db12208 --- /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 12045bbe43ca6527ec57f4232633001f8ba8173a..25b065f2e9835c5780cdc8237d8195fe7381465d 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 3082b0fc7dfabd4b32fd724ceb3c4718f1323edf..4f966e736a871d6452d309dce7a52451b01ea8e3 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 0000000000000000000000000000000000000000..f1e1999cc47bf0ae4921fdbcc0e186a07c0a9714 --- /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 11a90eca4499e5a20bf5b85cbbad8891724aabf1..c5fb85d2e05e2503c250cfafee5bfad4e0c798b8 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 0000000000000000000000000000000000000000..58cf3051939a09f5c722077d026a3dc92c8167b6 --- /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 08dc7f36c21f671acb36887c8ef183d61d5e2181..2b64b4561afe6bad57db975761b60f7169ff1536 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 0000000000000000000000000000000000000000..2d360ecceb6b56be64c3957762f08310571fd924 --- /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 160895420b94b0fe6622ec20bd382ed4b0dc6cfb..3676f7ad5c50e0e964437a2d23c5e0a298e85d73 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 0000000000000000000000000000000000000000..2033f5cd2af4308514ec9e57878b6bdffd5c0071 --- /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 c3a99dd283f56ebfc5d45c533d75fff0ba74c711..fa9f78495f9183289220cc954a9805a723cc6506 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 0000000000000000000000000000000000000000..714cc4e43478d8e4ddb6e1006733bcc5cf806c7a --- /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 3324c24d70c60f3e9568948f6ba5527b480dafa6..09586b2d0b574bc28fb0d558f153a0797731af45 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 0000000000000000000000000000000000000000..a7ade3c7530be4fcc5cb47623a7a8ace726aae32 --- /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 ac53be0bf61ae8b4a7f203388c99fcce7a7a290e..00e0927c0ed974a6fe41994ee14751ec830388e8 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 0000000000000000000000000000000000000000..332e6841b9e453a49a4bcc3ef63362c12bf7dc1e --- /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 2d1805e4338bcc1f849ed009497b929b410ce139..6d704cd47e5052fa66509c74a8ebd402b754a47e 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 0000000000000000000000000000000000000000..e0a7e1ef7aecfc275865c024bf7dd139f3ce68db --- /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 5e8cf1638fe6e5ab62ff6a71dd78cb30c1c587d7..c07f51216e6a5201a6aa602bc34ee5df9591343e 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 0000000000000000000000000000000000000000..547285d67eb0aeecf2035a14fd361daf3bede488 --- /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 664ccd72f20aa2c1c99fbafeeb4de6bb11287b87..33e902d12901c81dc6159e4ce9edb105e41b6513 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 0000000000000000000000000000000000000000..24de1c23f99f94a7e5146ef7a6246a02b7cd91aa --- /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 943e10c2035bbc64f56f55da296dd42aa6b172fc..2a109355655c02babfabd0ba5a96364e7af7ad9b 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 0000000000000000000000000000000000000000..5428b6347bf97b70051f5ba6dff8864b8a58303d --- /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 e8b17ab632c01078a38ca86e84b0c0f8594ad73f..08193699eeb8992c2b48be473b021fabb11a4a72 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 0000000000000000000000000000000000000000..9a81c5364fb56f7bc97d1577477ddc4fbceffe82 --- /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 6eda673f1c6220433ee2ba5bbe743c6f44396647..3a18af5f85c40e1cded2143d4c3ab11331e471c6 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 0000000000000000000000000000000000000000..35c6250f46ec0349b33f7929c2513d79d24f5f1d --- /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 ef30dd14da9ecd8ef2edea14bcc3edbfa6cc8e04..3cfbb16195499844d52b0745cac89e6a83c7fde4 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 0000000000000000000000000000000000000000..1185862b23c8b5d576d4cb1adaa710122c735c39 --- /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 7a007d8710bef1da17164df4ca9684704810c526..402af44e966029805817e1b592f3fa82997175bc 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 0000000000000000000000000000000000000000..65eb6c0259fd8eabc4c6a2ad72c5ee7971087889 --- /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 fa9de3a5860ccad931e8eec0912fbf2f398033d4..c8a9d9886ae7c85a665f139b22f20787b83d343b 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 0000000000000000000000000000000000000000..d2b129b093ce05391e3b17ea97f67ddd4b72bde7 --- /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 d32f1bf26b6ac2b1f34dd33dc55f36ff53443509..21b15b4dfe8453a89628c5a73506d75c16b7b3db 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 0000000000000000000000000000000000000000..22c40f48daf561f239879638adf2e8205199a5e4 --- /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 2fce55e31b183dd081a0b4d02a4bccf7dbb80e21..a6badd2280cf22572f14c159af80f27f180225db 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 0000000000000000000000000000000000000000..d42b0022648ddabcf417ff466f2c7a883829b6f3 --- /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 6d8d1b925285df4e8963fbaccd3233671bd6611d..5b0eb301147fa1fdd8e5f557bf8529e1cea597a8 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 0000000000000000000000000000000000000000..8532c63eff552ff41f4e9b046ed165beeb38df9f --- /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 e6428cec2c430b0f78e0a84e813f5b58b443fa34..127dc1f1f02b99f707cada4383f5b828b756373d 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 0000000000000000000000000000000000000000..d61e6f52f927cd6713b9248b726a455ca33dbda2 --- /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 0e544ee7b33042deb70df2db1549308b569af3c0..f9e705d331cfd16f58e7f212a7fc5beaf475514c 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 0000000000000000000000000000000000000000..42baefc47b05298c27439e6a9e9ab4e17fc9e7d3 --- /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 1a2db89d45eac3c098b241eb1d7b2955a6978334..0b10238682cc0faaf97bf5ea6790e96f24bc5ca6 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 0000000000000000000000000000000000000000..997c92e082b2cd54cadbf0b9999bd5a07a4c7853 --- /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 4936b175f2bced732b8f725250d21c6ec1a65c81..2bc316ef44ca55dd80e62bd3ca13860b8bfae091 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 0000000000000000000000000000000000000000..591e28aadac4406b245a87a9c53d50569c31a4b9 --- /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 2c0580c2154ac5bde68c65092b1cdeda0143afd1..b1950f9aa784883fb48af2c075aac42b964bf39c 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 0000000000000000000000000000000000000000..2ca9892abd21ee710dcaadf5621e50e3b1ab5b6c --- /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 28b84a6849fda8ce8e0d9fa9472e59863f22daa4..2fae8df5af3315eeb2d03e2d7bc7ef578be52e03 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 0000000000000000000000000000000000000000..ead0143364828bed88dfce27c80962bbac2fbded --- /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 65141389d8a726ab01f640331098e523f1d85454..37bd26391f20f39bb49d0db0a0d7641a58263637 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 0000000000000000000000000000000000000000..32575c8365db24dcbe58e71ca1402100bae69ebc --- /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 3fc2db9d6729064775a544f853bee684e238a273..b2e41dcc30e952bfcd9f7cf2b9cd16397b48fd6d 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 0000000000000000000000000000000000000000..6513adcd5c9cc696d91034f4131e51a55722ede7 --- /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 293d1e03cfbafb333910d428fabbac47465313aa..f7481d65537928a707acf5ff2e977d786368b513 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 0000000000000000000000000000000000000000..b320f5bd4b81ed3d1fe6f7a8a78f6861c270011a --- /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 b4881734e76e331670ebca7f6e26d6dc93567400..5b969fb1c2ec28594544f85866e1461dab75e8ad 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 0000000000000000000000000000000000000000..ea075862a4206154b9acb6ab2283932d65ebc517 --- /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 47efebd9d428644be7e8d05c91bf5c003595dd86..790de84d45045491768104c2bb4796b7e4bce680 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 0000000000000000000000000000000000000000..11428f004efffb5750d1bf578b53f835dcbe6935 --- /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 9b43bd2d03ffd8a493d6e4072e9bf960a73aee43..c3c93c681721c5dcb8e3b037351a8f8045166234 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 0000000000000000000000000000000000000000..68184229bee7dc95c2a4fc88c37cf99b6e06a4d8 --- /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 210c614d3ff92bc3a7540a80d5f7e098f84e89d0..e49593cda2a766f2dfd6c8d3f74f8ee76404e6ff 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 0000000000000000000000000000000000000000..dbb065c1a01e6fb9f0df32fd1788aa14d1dc89ce --- /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 8f421ab5fa88f54e185f386ace536d6b07d88f6f..131cb6262a831cd7ab2038d3c0ea0a967363db75 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 0000000000000000000000000000000000000000..9e665748a3e55c256e97c201239aa4b2095dd76e --- /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 243403be7cdf750863f397a791e0c61756bc6991..f5f72c573873921dd9cb46d5b8ec9c1f0b3ecc65 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 0000000000000000000000000000000000000000..eb25f5aa50732965e88f2117e42f30e94da230c9 --- /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 2683319677a5cd00eae3f946ceb2e5bb72f80160..b14f6a8097eedc4e43e3a1a3f239099cebf47167 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 0000000000000000000000000000000000000000..fefb326aecc8c6c608aee6810ce94f4ac0cb285e --- /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 bb81a2a491c83a78584fbe1132ffa07e1b8445ce..03e6e659319cf044d03d3f1d695f416b7e1e4bc9 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 0000000000000000000000000000000000000000..22ef84b2c90c2246bbe2a0907b394f085ae3f376 --- /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 7ac3fb62d9b9060ffd896c0337e0d260211d8994..81cbb69942c277b147bd6525a67dd5cae91445ce 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 0000000000000000000000000000000000000000..31f164eb1120c30c3f3aaca6a0da1ee6e9de4602 --- /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 9aaf8e5d2804a22de0b3cc988789bb3fba716bf2..1f1b63f799a26d9d71f6acac4312979289515f87 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 0000000000000000000000000000000000000000..a34159ec95c8567074b76290f2d7c1398a3b85c8 --- /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 6ef8f2bbdecb9e257142ef123c155bc7ff730c99..71a4be3a47ab56457fb593e9d2ffe9773419abc5 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 0000000000000000000000000000000000000000..a24511b8350c34dc7c67366d69f847b274f33b9b --- /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 877e5e796567098f5cfe2b7b45642bcf41ed4578..32b187a7405ddde843501ae05078a64636f7f9b0 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 0000000000000000000000000000000000000000..86792d26bc68eeb757cadd9cc0ac0d4b4a48e266 --- /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 2eb42322beb7229b9ca23243cedf7b45238d6ab7..01a0a7b7f1dad5c2d9b2472dbdfc400329b1fa3f 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 0000000000000000000000000000000000000000..3ccd89cf47c8c0e750463ce0d66e85f86160e25e --- /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 9c6e3bd0b4431643f351ac7c6793aed65d0046dd..a3651466839249a5a4e0256970f9b87cd5026fca 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 0000000000000000000000000000000000000000..3aa9f08e95eb39da6b4e50122612315d9a5b69f1 --- /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 b34e615834a35465faf48cbef52be8d07bbf59a7..b1b844363df239ec462b19f0f042df511d2d3aa0 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 0000000000000000000000000000000000000000..cb310b1ab7723ebf9dec577f9d8b8e144ab6701f --- /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 a8f4efdf0c14c46a565c3d2caf96167d6b240d65..6527ff6ff2cdc53fb3858627ec54d40c62f5a3f7 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 0000000000000000000000000000000000000000..49b0db57b2be9bf0a4088f88993dfc638656a8cf --- /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 2c4db9d85b46266472ae43e266cb3fd71bdd3e73..482e73f8c2977cc996f0c4da536aea5770c516ba 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 0000000000000000000000000000000000000000..a2750fb4e1d2ddd58a05d9d7efdedd40c9fc85f8 --- /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 0a1186a9ecfd86660b9d48709debfd0da86b607c..91c5ebfa6288267b32905b57586e071577f21579 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 0000000000000000000000000000000000000000..6a9ee6e40b67e1f43b193df4232f0fe67a6212bc --- /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 ae6b13c6a6e128588b609e782fa36d33d97099d9..6da37861a6cda196d6419eeaf384fd3f2bf2a256 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 0000000000000000000000000000000000000000..c5bf25f94d61e804babc4ff93a658e1080a4f8be --- /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 561643b9be77e2670b8661988e70da0c4a7304f7..39e8eb243d557ed152c14af5590de31c49622160 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 0000000000000000000000000000000000000000..6acec4451d698aed73f9aafce7a85118bdd9ab53 --- /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 add480ebf745991cc51a1b860ef2d42f8694df1a..ed56ed767d171461dffd5487f8531040fa9ec163 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 0000000000000000000000000000000000000000..e7a11a2b5b8b241d0fe12f7a6ce70d6d83889021 --- /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 dae0de3b089be98299c76347c17b9c1219336eda..e8da3af8c8fea93a3e106f66b61152ae953bac8e 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 0000000000000000000000000000000000000000..ad9b83f1db64765d7440fd0be61ec18935011c3f --- /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 0e07ad79b03f0ce2c60cd9a3c3e5ec8fd6891113..3c046b91a58d3d6fea5bb0c39fbffdbe991d0377 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 0000000000000000000000000000000000000000..29583e59610e95f9e584767909e81a279733cc7e --- /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 e78f90e6460203c37a9e61d1b317862b9c625e95..5f7b2b40c5966d8eee710fbc531832e17c6cce68 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 0000000000000000000000000000000000000000..3dbed44862d0c5b52d4dfad32e58f184010c12f5 --- /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 4af6ec50ba038feb9e2c088472abb777f656d80b..64cda6ca7102da53e12e6ba5826a770254166d94 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 0000000000000000000000000000000000000000..e8a0c6685e881b21d531422727cd73f0e09d62d9 --- /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 6dc58c4515128787baff7282b00e5feae1ef1280..4bbfbdb0dda96286f5be327d95f70a6930e485e4 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 0000000000000000000000000000000000000000..151f8374b2017c633fb8de738bd6561ca7bcb6ab --- /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 0f5e6b1229df04027996a0f539c15d439fa86151..05fb2b5919aa33a76be03230276a735f7b235507 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 16dbd962458b3be9dad184d73bab040936815ad4..8489223bce611086caf62d1a7cc828e370723f3d 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 0000000000000000000000000000000000000000..36dba7c74e090877b2249634e7180b0c38e70bb1 --- /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 064a034a9dd244e8de98a8a4a57d08bebb25600f..282930eb4a203b03af811ed6ecc3f0c3b215b732 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 0000000000000000000000000000000000000000..c35cbb9da96eeaf598f50606b8ea64afd8e0a624 --- /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 6fef616cd53b46933323a37a01474047f04d1ede..2e8dc7c52994816a767b9bb16b55887d2f3c59c0 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 0000000000000000000000000000000000000000..4cbcb480ccb27d84d6621058930f9d6bfc0ffaaf --- /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 6d01cd743d855ae3fb3eb1d63b9dd9f8a4c69024..44261b743544b15ed5cdb7c98d565533bcafe294 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 0000000000000000000000000000000000000000..a03a3da02014467c3cfa9a1d3971d9bd7fecdaa5 --- /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 2316023813f0b4ceb2e221d8d2caaa0c22603015..40a4ee2191674f3fd3cbdc3b4c55cd0c91657501 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 0000000000000000000000000000000000000000..5bb5cee9c0d33bdd70f24269b4563701de241462 --- /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 9419bdb2d5730d3cdb0b7f75f795a41c9eaa0754..5e839a2794df927424ad0477a3b0750536b5347b 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 0000000000000000000000000000000000000000..f03a76815e6713c6b64bbef65a9e49c8503d7092 --- /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 ac940261c0964cd9d3ebd338b3c217aa7c60a7b0..664424325c30d9c8c024119b864f9ae72c28cbff 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 0000000000000000000000000000000000000000..6b6a2f9e6ea545491a3bea9e8ab363c1dd2e2f05 --- /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 70b5d9792c4502e54768eb2dd2cfa7a0d7d42979..8a2427acdf303a501c209337b25992b9af97dc2e 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 0000000000000000000000000000000000000000..0d586625f74f918b8620ecceb3f0ddc74b2dae1a --- /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 095a71569ff5a55871c1091ed407e4fd0c046f3a..f82dda31d5476f4ed0d76c0711545ce9e9ab579a 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 0000000000000000000000000000000000000000..f0f841e34cb985d06e9da99c9b8db814a74aff06 --- /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 dc156cd5145b2df939e488b332854c190adefd44..9a7c743b37313d7597e56d771116b5984164d6e2 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 0000000000000000000000000000000000000000..49cc42ddd043fd55973db7319ab11f092c8c8bba --- /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 f232bf7b98f89b7279ecbf90b366b62790f83baa..b83560e05d0df317458b8bd461791d56b07be395 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 0000000000000000000000000000000000000000..b6ad11c3d5ebb40a132f50578cddf6a1bf77269e --- /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 71e1928d2508e1e25c4a162fc608a546e1bc2298..21e98a7a7d15787d5bfce63cb019412df25929e2 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 0000000000000000000000000000000000000000..a7643248b42e7c61f793e57f76ca18d37faa0efd --- /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 8a8c25edea9852f3078647726de72bec5d36680c..6b81e20bc819351fec3221d39c9a5f621a56040b 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 0000000000000000000000000000000000000000..c33352994d1afacab3a93415ac2149511a8f6f58 --- /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 0df582305e8a986260f9d085c3682af48dff15f1..80e5d35fef40023f1ba84037976267265ac0e94a 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 0000000000000000000000000000000000000000..79db5766377d726dcf1f81b9a348506eb045e82e --- /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 73b7de8f8196dbe438293556fef1646e35952fe4..6c28e59579653f05e41e4bfb46c1cfac6e586de8 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 0000000000000000000000000000000000000000..5f3e297eae7dbca9476072f0165ab07e85752bb1 --- /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 d5f7586ca5d2b04377c6a09a013c63e0476c596e..598a200c41d34fa868e204c759575da5e1ecac29 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 0000000000000000000000000000000000000000..e62833aa2853c7e404caa3451106689b6dcb4f2f --- /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 5f54ab6908f206772640337e3869cfdce735112d..107b00a02b92d3e9dd0c85326b8c99edae877897 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 0000000000000000000000000000000000000000..80ac96bbfd13315376c4c792bcfe9eade8d8c951 --- /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 24175de24ab2d1138df34966d9666d6983517fff..907d41c19acbdb4a242caa146a08bb0135d20174 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 0000000000000000000000000000000000000000..1c70397febf182bc1a6557f150a9c588dca4da11 --- /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 bbf74ba48e69f7b7aa09fed50d07b42baec739e0..975e45b4fd9db26b9dfcc9d5b3b6c9393c06ffe1 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 0000000000000000000000000000000000000000..d0f5cebaeca68aca9c6b7cf0ddfd0b4c3a11995a --- /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 beb48ea9237c88a51c688e654359bb8219317a0c..68aa967058c4d888c3bc03253dfec0eaaf7c7e30 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 0000000000000000000000000000000000000000..151835c7b5d21d45d074f1d58c93251f63cbb54c --- /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 d1efdc16d634c944de7526e0b872885d530af45d..f6af9432c8ead7bb53bf72684ed63dcee141fb0f 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 0000000000000000000000000000000000000000..3b6cca65b21bd7f32ca872008f523fdcb4dbfb12 --- /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 f52877da2eaaab9c8134b0daed6b8d39650bd2bf..8037c4d9603b4ba0cf7ff6a6e2aec24deca16875 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 0000000000000000000000000000000000000000..5bdaef58ae7d01dfda7105ff6fb60e62651b7a67 --- /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 24c08941b62a4a16375cf83b91abb57c297ded4d..308f66e8c570f622917f7e41b8d1bfd1277564f4 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 0000000000000000000000000000000000000000..de571ad9e6bf94660f1f62d6d57ca132498f3e5d --- /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 a8856c5543f1ee99c550ae0269a7a39b2905ca29..c331785f36777c79b7df220e36f8af2ab32607f1 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 0000000000000000000000000000000000000000..a471a7fe246cadd3392d8695e8e60ac71996af7f --- /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 86903a60569645c081bf33d371ca8ec4f91fbb62..5f2797da6ea168d1cec61a23cc9afc48621da90d 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 0000000000000000000000000000000000000000..828df06fbbcb8e4bc10df756c74dcc92791f64b1 --- /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 1c0b1cb86d54e62de88f819271a0493400968808..4a5b4b380f6bbb2eaba315a268566a828d58b24f 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 0000000000000000000000000000000000000000..f484f3f414e3ae7d66d723113cc37000b3b8598d --- /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 7fcb99b683cdc68c694191a6088b4a4d5c50bd1f..9cd9dfa37a16f836d443d94cf1f9fb0fc7446310 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 0000000000000000000000000000000000000000..5642298e9ae89ba210ad86ae64e96af816a737e3 --- /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 cc07ae4ed7cbd2743e977784908e44f99b87b5f3..14f631df85efbc1b8e2b9b6cfb2091a376ae0b79 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 0000000000000000000000000000000000000000..6405f32be06b025aa9d672743b4450e7319ed315 --- /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 35f19dcf76a734d8e6e6ad005277d90043c4b4a2..f8d44c4578957912dbf7e405d30b54d59ebc2e7f 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 0000000000000000000000000000000000000000..221a9f4e9859d70988c3b0a9e141ba1f1c5c7ebc --- /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 44890215c181eea0da229474f83ff560ca6f6382..33e937a62e5a0b7bbc869d1f1a647d67a655074c 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 0000000000000000000000000000000000000000..521cd0c59c65e41e05cb48d64a666eac257a982b --- /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 0ad52c7e316b0cf0618b6363d9478b919595a1a0..b7d5e11127d1956ba2a3932606f9cfbffc15a8d7 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 0000000000000000000000000000000000000000..6a5a7e646d1f17a7297b662975297ebc18b6c178 --- /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 abb82de85f37ada1d49584b165fc627eb3463366..6ade61b4184975eef7619316a3ee1549582fc175 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 0000000000000000000000000000000000000000..5927330281159a2533343bea0cd206dcc7eb5af5 --- /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 019de969168c9f6d480de817c55fbd3acfc66dc4..fac1465d028e9ac631896286df3347f647e242eb 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 0000000000000000000000000000000000000000..9349e041e7f1fe0f5912cea0f77c072efc6c35de --- /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 5936589d8c0fd8d2776841dee324e34cc29ac0ec..e846e765e89bdefdbd43a147c669cc702028a55f 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 0000000000000000000000000000000000000000..401c0ff5118afc5bd35735203abd566fa141e4bd --- /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 47e3fe1baf28d129b450716d451c41f317e552a1..46be85ab992dfda6cac4c89d761b257f76faab53 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 0000000000000000000000000000000000000000..7f6d5404520e9900a9a84ca87fcb08d93c87c3ab --- /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 b444182fab862f1ad1adf323924e6eb7e6014aaf..4c9210165b66427f39884712176a24d6e9790039 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 0000000000000000000000000000000000000000..8d9b3c13676f4e20d74ccf9c61978644b5d0f4de --- /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 ac8ad2516ea9c41799b02df6c7a667e94baa14cb..b8616081b7ea1a0def462c1c0f36c5f23c796953 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 0000000000000000000000000000000000000000..adc83b6111fc4993c05e35120f3d10e9e2f44011 --- /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 a05c0d0307e7889b2a75bc91b4993f276d9345e5..8e2c5e494dfb5698846781157ade71c2164f3ae3 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 0000000000000000000000000000000000000000..2faadd58844825da8d1a8c8ea0ba549c447bd2df --- /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 121bc6cd6b768f0023bfc7314a53d36c4d58b920..4b2f25f93b94192f270983e0bcd22b01f4f06edb 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 0000000000000000000000000000000000000000..56afd77608740c0712daa233d3e08ca9c1bc356e --- /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 302b63b864888e0c18f7a20a6a51932e4af84b9f..c639813b97859407760a1b812af3ab26d0154d70 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 0000000000000000000000000000000000000000..0ab1d945b67678b13960edaad70b73e358e6cb60 --- /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 4f9b1df5507a193c76287257954147113814fd9c..4f2ba8091872763da8a9481e8bb7757f5444f9d9 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 0000000000000000000000000000000000000000..ececb2d1cc49b450b6bc1aa5ff1bcc59c4dfc4e0 --- /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 e4e665f8f631b6e93650a0bedb9bef9d69d27553..019b19edb80603896aed1baa59889b680b3466e7 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 0000000000000000000000000000000000000000..5e3f5f872500bcb4054112548b6a152edd5929f3 --- /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 e749a57f2f0cccaecdcb8339fe60acc81deae73f..7fe174a3f4a5dbfcd05be132f2a9d680cf409097 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 0000000000000000000000000000000000000000..d9f9cec779eb222dd4acd1bfb8b9e5b3c54c59e6 --- /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 fab65edbd4f5d84422df8ad3e9e144bbcace62fb..16bd1ddeb09c9d55331112ec06d57abba563ba28 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 0000000000000000000000000000000000000000..eb110560a8010319dbc602293500bde44364a798 --- /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 73ed2dc9e702c83ef837fc2914ae9ee8df79e4d9..ecb2c0a39fa013d3ac11ef1c89c50f6aa92639b2 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 0000000000000000000000000000000000000000..54c96015e8a273ef3462129f32b58ec564316520 --- /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 986c3c04ff6cb2369309cafa4a4b16990465f0eb..b795b5ddc6e18dae616a771d1831d273d3a33926 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 0000000000000000000000000000000000000000..6b611f254421423d18fc8a7c11e8070b3250e8c3 --- /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 21d2dca9f37525a404083bd97c860d8038643e75..a368dc1ce0356225d723c5a784f6f9d2ab18d69b 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 0000000000000000000000000000000000000000..997940455e89f4ff9bcb918b2304198a4d4daeb8 --- /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 602a00a7fd99d7da1c239c8c70e2b4e781c16e03..3f226199bae5a1a103c288e76b8aa1de615ae272 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 0000000000000000000000000000000000000000..d63b9648fc2377338168f8842f95221ab0a75621 --- /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 5935fe230ddf2b6582ab5a53180e32e3fa399beb..0d8e9c48168602d157810c03289965ee50fe239f 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 0000000000000000000000000000000000000000..c744aba697e5cd0b7d0c1c868c8a470f05fc40d3 --- /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 17d32c30d51b2370c43bf6fac50317e43d21010c..f28a1670f7ddd38b8eb15ff6f4717d22f162001a 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 0000000000000000000000000000000000000000..cf4a9f6b61c5d5b3326b1a005ea0a21ce26b68c8 --- /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 809cd79203f1565288bd4c1849e0854d97e13e44..d0c50107d51283d8d5cb8f7d5d93d7ef6466774f 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 0000000000000000000000000000000000000000..cd6afcfa75830b5f128454701a8bad8b8891d984 --- /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 15f76c3adc6cc671ceb578e66e831059f277facc..5f377080cb74cca96902c7ebe02c786dbae48db9 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 0000000000000000000000000000000000000000..43310be8c17bbe902583d2d46c57a94fddb86007 --- /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 7663d902955bf2c909963443a5d22ab8957b4473..a08a3cf1943cc88f035e050446d9392a18c58b8f 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 0000000000000000000000000000000000000000..b1a6c605f2b7bc676b08882464b60308a9d4a0eb --- /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 3d7f4e8658fedf74934188e856287a15ec9c2c81..f98e81925cc69522e5c81b4ea4f90571e8fe7108 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 0000000000000000000000000000000000000000..1f6c9bcf6fb2995c1fa9e0abc6027078dc552b38 --- /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 2b6d36bbc8f1dbddc7ec681964f4ed479a37390c..7196117d08e37d7c052223517512de070c47af93 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 0000000000000000000000000000000000000000..eea6415a8bc2177f3eacec916b4000e8d06e7604 --- /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 17c81528fee638c036830441745f7fbdd1843590..17cb624fc70fb5cf40e07808cae899d2cc819d97 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 0000000000000000000000000000000000000000..d7119c921597df00e717ab6ea148e345eab65d80 --- /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 2b9da6b9c72671e71364f23ae03f95f2a2811024..06b3bdd76d5ee3fb09a7af3f647a7174fd49c1ff 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 0000000000000000000000000000000000000000..e77b5bba206fc524a8c1ffa25b03847da93046b0 --- /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 ed23b26f812aa83f851eaefc08795ad681d55c9a..aa2b688d277aa64b1f96ae5dfa2c163065485ca7 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 0000000000000000000000000000000000000000..fefcde18130ab03b141444855766c9ffd5832357 --- /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 fb7fd889d09c4e6117bd0eaa3a329b1791c80f88..0b1a9761f6393e7d894f77830b3513c0859c74fd 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 0000000000000000000000000000000000000000..93225a6690491528d22171a5847c16b0fac27386 --- /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 174000fd4f95b81b9fd421c63a3320a276e25432..804b2fb2221d34cb5efd437ca04e5212156c0942 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 0000000000000000000000000000000000000000..d8cf4e5ecf542846f6e98973d114fe703e65452e --- /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 4153892984182e028d23ed005d139057883654a6..8cc289342d26606ff7ef059ee76a0c4569e58abb 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 0000000000000000000000000000000000000000..92043df348517c2998d654a296e9782d15093f3d --- /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 b89409820c57ef22d73e4a9d177ed474b68f1e40..e93049958cddd1ac90b298da99c10a2a1014f4da 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 0000000000000000000000000000000000000000..d7f8a43f17ad0bdfc7e9688a0ccd3f61a5f7315a --- /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 4b18d93d1b1345f6bea65609af6a3173aa4ab1b3..c0caedb4a402590256aae573df710ad317036cfe 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 0000000000000000000000000000000000000000..f19c2400a7a0597bc6622d90f506b4036068dfd6 --- /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 4742547c1e0588ea730aa933738742a6ad9f86da..9c2836c03c222713edb3a81ed1ab37c2194cb9de 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 0000000000000000000000000000000000000000..6b328bd28b1b28d846d06d4b319651ba51026a8c --- /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 2997b5f83beb9ea6a8bc16e81057adab698bb3b1..a1a49b9c9adbb9b17a74464634beb39129412d7c 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 0000000000000000000000000000000000000000..b0f7305a390bffc3e2e58c9ce1cf7019dd1d06a9 --- /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 c4b59a321f19d4f09311c93da347c39e2635bb02..db1f3083876ea8cffe23b91a214fcb93ce7fdcf0 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 0000000000000000000000000000000000000000..f90fbb0b50895dc91aedd27eb5b304491b599923 --- /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 4890495a7a9917d00387ababcf198c7034cf4b8a..6e34ff0c3bd1f25dd2b955b531e2c0e4bc9ceed2 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 0000000000000000000000000000000000000000..4b6b4386f64d4acddad97e1b2adb21a33633c805 --- /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 61cd06f92d6e8399238c2a8fb8971f339bd3db10..a8aedc69990892833480c00f2d63da11d6d8fbb1 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 0000000000000000000000000000000000000000..645aa54f7958c598580178b0f3811711fe2000ac --- /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 0bda463ec0452eb3b6bcde394d3576be3c1633da..eabd8e712ba26a6362ecd8cf9bbeb320d1cae25e 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 0000000000000000000000000000000000000000..9728d9c2f6d91c63fbb427d34d6b2866c9324791 --- /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 88cf57a911f398000a8a64c532eaebf903bd6370..1f0f817c0ae1900f3e1373a31761f6e44f3a8f67 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 0000000000000000000000000000000000000000..8ad2c3f631dec8f6a0bab282c65c894d8ed8b760 --- /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 9618675f8e57193e5c454d35e7c494405bd55bc8..b9df11c9686679ef48ad807ac06494a71f92ba9c 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 0000000000000000000000000000000000000000..987f564357e1a3fe677a4155c7ca9b41477c0f8e --- /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 316c9b71a729471a3a49f51735a71d5550fdcc4e..5543561643d57ea63997ffc3c53b9294a796d23f 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 0000000000000000000000000000000000000000..8d429ae86f709325db590d34e2486e422d348ab5 --- /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 10583ba8cb711b237d7d1a3e03801016531e063c..b1ac8ff129557d54227486acc9a95dc82e3b32ee 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 0000000000000000000000000000000000000000..411189d26b185e9e3acd132a8c18680d3000a011 --- /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 bf3bdb3c3368997b5ec309694322c708f786544e..b18066442fd4abf8ae43c2c72b7931e5c9b00812 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 0000000000000000000000000000000000000000..5e3a85f67c3e2324553e8dae3c733d096ea8e444 --- /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 c0e0177f86dae82831f5f3a0bb4f1903ce57c707..c42bc62a2a6938af06cca0f0003ae296f942dd37 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 0000000000000000000000000000000000000000..9962589092bca87b01ea78639c5bfa4b143913fb --- /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 7115f7241e893c70cd53839ad5322f9aca1c472a..4470825d782639bd5c10f49ea198f738ebb03dea 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 0000000000000000000000000000000000000000..f4b6b8f9b49823ddd98d7c69c343a0bc9a523600 --- /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 bcf7d5c1adcf2730326f5aa0f65b25435dfa835f..b9a307c50b332ebc286c317650de471c3a77d0b3 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 0000000000000000000000000000000000000000..06d220ee6a0813103115641655e26d1e42362c55 --- /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 5bc167d0a797eef2ea8823567dfac1a6a5c028fa..df7989fd7b32d27ed6a3929b3488c328cae47957 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 0000000000000000000000000000000000000000..6c68114ad582cee7e06029bfe03c5659501ac1bf --- /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 f54ad3cb7cccef0572d87908a90418f09a889e26..8572c81aa92d1376d5ee785fe1726919af4723e9 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 0000000000000000000000000000000000000000..62dfbc629f7a14e9330bae97cdf9691eecca75ef --- /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 6dde172849d84a8c284d4e09ef4994bb50cb13d2..ef98fd535e0f2fd16601d5e4fd1e0dcf690baed8 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 0000000000000000000000000000000000000000..5f9f17a0ea1e70ad02484838b2d81be3fd1ee75d --- /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 8e55c55c73be58245ef75b1e91e2e674563eb55b..110324b77b4f1b89fa281f191d8d84ad59500f65 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 0000000000000000000000000000000000000000..be447938250c5b3e4681a6114986e2da33be7c57 --- /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 605e2208f17a922492d1a9a44d919c230fb7d3d4..cb565d969ccdad8f1142f2740a59f5b4fe465819 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 0000000000000000000000000000000000000000..657045b05ade89a59558475421a2685586979876 --- /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 43d4f78523a18f2e8da08abb3c49aa4cb06c9c97..9e4c0c42d88b094060ad75d9a0a3770c2bbbbb0e 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 0000000000000000000000000000000000000000..c2cd5211cff1c5d3462ee60e9e723974680e67b9 --- /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 b8f15dcbd6d1ebc1686ddac11a416dcff14cbd36..d93479c8a36abfa639a21e268d2841b02b91b811 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 0000000000000000000000000000000000000000..323b7fb7e6b68270c5d3d3661d345a9ff4e6214f --- /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 560ce301fb92063a6efa1fa01998591358b0ccdb..a73b44a65b3c6f0fc98a7bf988e6dda8ab76aa23 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 0000000000000000000000000000000000000000..4e1c9fa5a1c930114a24854ce114e58de6b5379e --- /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 6f61e3c0054df192e97fb61766d9137450bbb22e..4098301762b58b0f21ce4010601ee17c52d4650b 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 0000000000000000000000000000000000000000..b9474b5c43c05630c1e0ecae995a96432d8dfe99 --- /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 a55f5f0bde86c9a88cbf324cad7c041be9209175..9f522aa8d828aeb798adc110daab894b67757642 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 0000000000000000000000000000000000000000..f42717916707efe0b46fc52dd1d7b63a13983b4b --- /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 d6e0a276937e7dd0a538c728a2105b3ea84a8b0b..ce9c257f547560a625b65bc28003c19522c0c431 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 0000000000000000000000000000000000000000..952e39cf45221913ab84e2c3a7ed0f578d80284a --- /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 ad550d151ec0b9d7e246370d350c0b24285caec6..76a687b79892fa4d8e9073fc47470de3063febe9 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 0000000000000000000000000000000000000000..edd574fa076100db3764ce16ed6e4ff8c88b7fa8 --- /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 1c44682025a2f5ea5ffd0bfb103bb74acac96d32..01ef28172d4192376d2546e5948bd2dc5783106c 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 0000000000000000000000000000000000000000..15d0c5a7a3bb1b978f01d3c4c94aecc0b412c4ee --- /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 a5021efd41ee66419e363705cc71c01eb2aa5e32..69f445fbe6f37f1e2bc171255d3c544bb24f43ef 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 0000000000000000000000000000000000000000..9463be933b2fc4ebc45da33289d4b70dd37d1ed0 --- /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 ad97fb322e21d19adda12f9f9c7ead469bd60491..0c4c367a45f1564c1a1b962d8ec9261bab104d81 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 0000000000000000000000000000000000000000..7dea1f90fc8939d7fe42feaccd8161ca2f1ef3ef --- /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 ad87e2fdf68f1b648e1ace64259f733730078968..1dd372bf634ac27e361723d75a777d03195e6a46 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 0000000000000000000000000000000000000000..ff5b23a3f137739feea891a587c4c94715628fd6 --- /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 98ca79b8af595618ebaf93af33427b37416531b4..eb0517abb03c1151cdf4034d086cace6d87eba94 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 0000000000000000000000000000000000000000..da8fcd901a1efac0667f85adfa45027510b84738 --- /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 730583149cc88e7565a2532a2e0d195f98633b2f..8d7d496a5906d40776ddc1e119a4248ed3304bd6 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 0000000000000000000000000000000000000000..35f053a6caeef1985a8c49b9f7a3e7b718281050 --- /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 47ed326bccc54d4f0b307bc7e78dfbcbfefcd4fe..242ac0897eba2bad6065ca8f80e0d2de82b2f15f 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 0000000000000000000000000000000000000000..3a2a33911a093f2612351e9086ec2372b944e072 --- /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 be10ca6fb9cc22139e4fc7745b590d1806a5fc00..d71b9e336bb5af6d27c5003e4f26f989d745fe89 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 0000000000000000000000000000000000000000..408b32e0e5335874bc27e1f40ec947021a820eb5 --- /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 d8c26821a7142d931094d21c893590ae5047b4b3..d151d7264f6550185d29d45d3728559343b7c8dd 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 0000000000000000000000000000000000000000..6a678610ff6622bf536d31ee8429886cde5c4625 --- /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 98bb452313b78e1662a827e57287a1f5adee741e..b880842c0f44ee9a73092d766aa0dbb735110514 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 a656832feb079f5930e0361aebdb641c715ae2f5..054e58f9237b866f080b05f8fe2ff47fc4583596 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 0000000000000000000000000000000000000000..e7f610bc96717095dc3a211b4dc3ba5c8a9d6876 --- /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 3ea2d3b6c53f1b904d34f72050f2e6fac234ac34..d596c7660857937bef3501828cf817e00299001d 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 0000000000000000000000000000000000000000..4f52d4579086bc02710689ed712ea436926ae852 --- /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 ac2ec60deb9702a2ca4d9b3a0fd8ad4a1b1e086f..715ebff8c04ba01d7bb81ab50fa451e27a635d88 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 0000000000000000000000000000000000000000..522f252b87720b8a37427f66348ed4d9bb47ab75 --- /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 f6e8de6abc84bb18a88df7f5753ac83d220dd25c..9d20a0f61fa9965ebf6842e9d88ac5afea143402 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 0000000000000000000000000000000000000000..d86e145fe7bd143bd34c7bfb1d1a71fed1aff4fa --- /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 f530e849e54b453bb3bc4021fc8dd50f9e9e0d93..d7d5e699389457ad21129aaf876ffa6bfba794b2 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 0000000000000000000000000000000000000000..e44cedde7f69e6ee6083112db36fe4ddb86decaa --- /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 ec9483d8935bbb76ff6bbe8548c4330676e0a171..ab0a5758918f03087e037d768d7041cb9930c320 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 0000000000000000000000000000000000000000..01e757de2b4d288fd059aaab67d9178208465c4e --- /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 cc143a1430ec7075fb7801bd8d2ac0d81c05003e..b46f06db44c211389f24d7b5eb39347d5e04f694 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 0000000000000000000000000000000000000000..0ffec783cea95795b4f97a276a4514d7426eebba --- /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 15fb22b09e74e255e90497ddae9f80a129eb0040..0c54b9158ba8d502fd9a9e6c5ba40111898002f0 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 0000000000000000000000000000000000000000..c4578e8bdd55d686237d19113930ac6fb7858f56 --- /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 ff6bb7a501272830b67e34ee51a3f6652aca31dd..46e47260aa24a4e5c6f98a1bf134fe576c3af0d3 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 0000000000000000000000000000000000000000..a303e3276db5f7e68cb80a21cf04f556f12998d7 --- /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 28461b3fad95dea34108707cf99db8fad52ee14d..957636014204facdb867dbbfde4e922587610ec6 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 0000000000000000000000000000000000000000..6ac66dd0a6a36b29fb689dc28d0fa293c255bc6f --- /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 501152877792c63b18c9f03c732709b973483d43..000ef0f3ebbae4a68892485efab35714353e8ebb 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 0000000000000000000000000000000000000000..82ce8db650f24e5f96113fa50b7e361f7fb8fe2b --- /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 1aca1e47f6ddc19da0411a587e222119340e37dd..b9cbffaf9dd2300402c78714058fcf0d660122b3 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 0000000000000000000000000000000000000000..7e65805d5a8897c5da6f3d9cc13b64d266ec5040 --- /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 df36bbf549349e534defda31e456b2513e76f9cb..a50b6ac995b970ef235a3680ac399b50eb60f445 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 0000000000000000000000000000000000000000..26423591bb641fcf9d000a99ba04d5401d25361b --- /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 aa7737697135b5394eb09f1643550960178c973a..6f575bc2e19cc4badd3fa8308ce57dc2e9cd9f7f 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 0000000000000000000000000000000000000000..43021617e59796db5b1f7d490694ab83b77cd8f1 --- /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 b69fef8c5397e575857ab2212a216a3585073a85..63edce9b9865b7373d59d8f0d32f062dcfdf13f5 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 0000000000000000000000000000000000000000..bd55f630b4e1c18289834e07cc9ac322592e3f03 --- /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 c4680251d5b7c03b70fbdfbcd5c8e3ccdc29fcd3..e9d343b348662d4dd7105cb1bdd8232194ee8b41 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 0000000000000000000000000000000000000000..50cffcd62b141b7407b635c96409ad18c6300ecd --- /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 48bab53acc853aa2b8c33f899449567728fa5794..a20d34e7807199da30b1c82cab95f827ce3adf89 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 0000000000000000000000000000000000000000..34980f07b5fca34b9020a6b9a513c1fd48bb6c9f --- /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 7cd7116cefc47901267dbec9befbdb5ad76e2181..b9a6bf514cd69830dff7ce5dc735aa36e33176ca 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 0000000000000000000000000000000000000000..6e64dfb34d030b73db096f60db8fa23d5bdc7a94 --- /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 c7f86b22499755fbe3956016daa2265cbd684fd3..b7804aa026da6151cb2e113d7f9fa96c2431e21b 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 0000000000000000000000000000000000000000..7eb494dc1f0e5eb7e6ce02afb08c01d42edc2c72 --- /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 a8fa2dd39913292351c92e95947534abf5ed52fd..532952d749a9563f215f6984df6946b3cd5c7c05 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 0000000000000000000000000000000000000000..abc0e9f1e2eb6e20762d1c9308c8718d31d16db2 --- /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 13d60b3195966a97caf2212215ae91fd4a63c432..0dd39407f7383b96cb641cc5622b52f0a3673cb0 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 0000000000000000000000000000000000000000..67549af89fd04a680fc6531a7e5e820123d6a5bb --- /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 97dd3fa8044771ac817b755271410e6289036210..01b9fa5e809a1de8c64165746e046a400060eb34 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 0000000000000000000000000000000000000000..3063b85906b1ad3bb1822506d3d435983ec2afb8 --- /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 6034f8cbc082fe7dd778245ea09e254173c3e214..6f3e6ef42964cf13d1f2eff82594a016d15f09b8 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 0000000000000000000000000000000000000000..44f0c2154b77c0c2aca69855c4ed8201795314f6 --- /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 8b2a503ef89a66751a4726fda31dd12890254819..a9c273f2644946a1773ebbea3a9fce75a6439d3d 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 0000000000000000000000000000000000000000..3b18cf368fe2d6ce5acb6401e70bc0a90bdb8d3d --- /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 853f2cac22bab0599de1950f2fe43d6847e19a21..6ad73df479e4d5c0dee46fb578b90abf4a1d1163 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 0000000000000000000000000000000000000000..87122121f646b7c3acfe271afb14c79be7f01ced --- /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 b04e76f3220da0ec01b61956da31727703cc8d08..cf34ea707e52b043bf89291dab05e8c418a94e54 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 0000000000000000000000000000000000000000..11d6faa6725fc60b7396d09109434bec42154e41 --- /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 613f28afe5336bfd107ef5db2857f32f13907397..6ac92c8b4d02ac7873b094e596a98ae15692a96b 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 0000000000000000000000000000000000000000..55c2b9168e0dac7bd7d4497c29fb39b6ed4b690c --- /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 c4d414e43193f2721b11cfc17271f2d4c634c20e..5e3add6bb3db4486b5029fcba3ff097d20eea8ff 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 0000000000000000000000000000000000000000..ad56b5052fea1c60aca4fc03eac24a965131d271 --- /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 ec50347739bf0a4b2d3399f46c03707cb664f96a..2d47231abac8fc6f97f9b734d2dbb24578da30c8 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 0000000000000000000000000000000000000000..af21f274c6a2bd7443ea7717f6e376d9b40f93c7 --- /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 03bddaf3cf0430f32070de430a1bf937ac46842d..0f8fe811fda4acea43a2a91178d4cb24ac26c776 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 0000000000000000000000000000000000000000..a8e3fe16997799567130c3c24fd8c2c02fd01f59 --- /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 d4746039309a9b8d46fc5a7f89613dad68edcee6..850568366fb2614c70df8dbb09db7c27795737f8 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 0000000000000000000000000000000000000000..6cdc8d8592f8de081d959244986f3be254413e1b --- /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 4f7cb07f5fd553536c088dd5893f1e6b5c308bdc..70fcb27e77b599f15ed199d88b9fbf27e9bd225c 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 0000000000000000000000000000000000000000..4935bd2670ba6ba67f7e1c4e75b89ed730ade9d9 --- /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 d4df0a0ae5e538bab1e22f1b8282764dce708521..93f334450d45811d3ee7e3889c6e4cfb08cad893 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 0000000000000000000000000000000000000000..f75468ac8de7ae78b361271c1a25950251168344 --- /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 4b2df7a355f0847e52fb6b4ef0ddd61a8cfd84a1..37b7f662013a1c7ee4c33f244d66a95d833f43f0 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 0000000000000000000000000000000000000000..e311bd9e5469bddd4ea026edf8aef6a1c4e06e56 --- /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 36968208703b74bca52727ef06463a5f7feee1f5..2339c37bca38990245ea535cf45b579b7b6ef02f 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 0000000000000000000000000000000000000000..6c02fb24eba89efb7c5817f0c0ac0a927513c739 --- /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 f7bd7c108d535559272b0acfaf93c2d736c7b7a9..3eefa66cc1784ea60cb5d1efa6c20f41394b3229 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 0000000000000000000000000000000000000000..348894f408dbcf046e36d2c50a4a712746fcb283 --- /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 813f81f6d9ec0ca8781073e8636227424afc6a30..eadb55d9ef92fda9402793b261a1b49fe3f7cc93 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 0000000000000000000000000000000000000000..11a90e00345e4698cfadd901a0ea6fe8d6eb5867 --- /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 cf08b044db28e13401465c673a44cd7fea022004..7ff05ce48243319ceb9441e640c49ee3ebf9706c 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 0000000000000000000000000000000000000000..2d7e959fd6a25d075fd24ef06292faeeb090a81f --- /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 6905fc5103b30b765f40d906bdb34e7b8b4fd150..9491aede94f399736bbc64636a9e75ecf8f9d2fe 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 0000000000000000000000000000000000000000..a58cd17b80cb029b91cb8f4a6d5cd3490d6478bb --- /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 9909f48b0c6fb2c389f22a3d0c1cc856ceb06806..280410e9dd8e08760c7fc07573a790ee29f5cc6d 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 0000000000000000000000000000000000000000..a818a4db0f0a64e3f1be33a65c42c07cda0211be --- /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 7d8d1c8dbcbc1ef5cfb47f9ccd1722e479b033ee..19431b7a83868c0b70731ed14ef437339ca7836c 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 0000000000000000000000000000000000000000..f6de63f3d586256e07865641a62cb5c620d279d9 --- /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 b11758a19950c024f769c0c9046627cc710ea371..6fa02addc880003caeacca7f6cbcf7fe01a039e3 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 0000000000000000000000000000000000000000..c90154a497a3ae8c9ed71c0efb9936158583d76c --- /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 3720cfdb76a3437ea7db6c41a0b3ecc26196e6c7..f7a2fb3539c5072cdff00f0b41d65526daa7f6a1 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 0000000000000000000000000000000000000000..14d585aa9e11ebfc9610104ce71555936b156ef6 --- /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 269f2440233b50931238c48ada21d4ac9c49b30b..544a04c7de6bc5a5bcf98a74b7c227b4fb6389a4 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 0000000000000000000000000000000000000000..d98e23ba19cd80badc49e70e32593e68691c25e6 --- /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 cb0c654c47880cbd7be26d23e3a5b961ef2b4a2d..a4cc63566e717bfed404aee276d74c3ab7930a4f 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 0000000000000000000000000000000000000000..44fd734f7505fcb60f3783814051d19e5535e721 --- /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 9cb13994225889020a63f1ab2f16608071cf2464..8d1e6d2f26a67512dc08272b9af8d8f4474399ac 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 0000000000000000000000000000000000000000..7bbad397a6ad88cdacf25cd9578d5f09faa8d8bc --- /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 89a931af819c5cd3a38563f733d48b91b6622f96..9b865c688de78799ee2ca6deb6a00541d4c80bd3 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 0000000000000000000000000000000000000000..447d514e1eb61eaa871d3b738d0ff04209d7ecf5 --- /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 f471463c5220f79ddbc421925089a032f84b7c29..36dbaee643af9f928119ce0101b90ddbf0a77392 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 0000000000000000000000000000000000000000..e39f9674849ab3a49fa22547f0749b391e9f36ad --- /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 98891557e5cb190373758e674a5aa526efe91762..1a770f36fb6c9ffe694f409f37b52ad04cbba674 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 0000000000000000000000000000000000000000..7f53c66abd7a8250c1d3cd75a1efb899f86c3820 --- /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 d413a81ae2e9f10b6e1a6741e271ad2338645a6f..d6e5413775c59f8c6f83cf1e0c7e98250aa6d6e9 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 0000000000000000000000000000000000000000..bb8639a2580593001dc297d4a0092e2195b2383d --- /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 7977563430a76c8462bf984f32e78934a3a20d85..8d7af0ca8cb2cde48f4e6aef26e83d7f07ed2975 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 0000000000000000000000000000000000000000..95f3251cf0295702db6342b2dd60ecdf9414ee73 --- /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 de4898071eae776d8c5891dd71b5214da0ac7f1d..db858b55d714354e23671fbc0120bd2356251809 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 0000000000000000000000000000000000000000..e1ab98ba36f3b71a398626aa9fa90be3264cbf9a --- /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 ca686e4aa000ce704ea4a702a9ff8f0fe9ccfceb..1f011252e0dc09e0c184dc564bd6379471239cd6 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 0000000000000000000000000000000000000000..9aa08ba58c409458e430d79a96517bd2734f660c --- /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 c56c02f4add7f00200ed349becd1a17f144b726a..872c53f890353e1edc41f6badce89f3c00f74da0 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 0000000000000000000000000000000000000000..276a8bf3ff1ad71b84efe280b4b7faa3a8797a18 --- /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 fc4819e91386490ad58f54e7815df1d20e051aa9..f2cbbe9e6e1962f49af222ae12b35b8a33387652 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 0000000000000000000000000000000000000000..da197b399900497d87caceb11eb784a6670fa42a --- /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 36e3ef84355b31f8c2fc3033b768109bb6d4b793..ba68d208adb7f4e54623bc9571a3a086076f612b 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 0000000000000000000000000000000000000000..9a78f9d408b6b380a19a78e86101d0afbfa1abec --- /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 f3844cca1b1eef85690a29dda73b6dc37c89c864..0e8b1e410af30b8c69f26939278e709acda9fdf2 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 0000000000000000000000000000000000000000..27bef73a802d34576d6cd606396dc844d972f657 --- /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 f1daa42c3e86f91d749361ae30dc872f63fb4dc6..d1174f043cb4df89e090a88881df31abbb598432 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 0000000000000000000000000000000000000000..2157948331767e108e9bc95977fea642ea3d3eca --- /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 34ab70808709dfe309cbb7daa6766dbb8f81efd4..93c340ecd46d648152e09b904f89d3707147e332 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 0000000000000000000000000000000000000000..d4c3f675b7b3bb45ea37bc6e57cdf67cedd8b257 --- /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 50c29b8fb96ade2d240dc720d47681da95e8d777..55e8fd1fe394824d1c3cae39298318af41d3e8d2 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 0000000000000000000000000000000000000000..d94936339bb8fab049e5da4510370e9dd2f0d5c0 --- /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 70e84489feb300ae3fef58c3a98d6c122d4caede..ea69593044b551f8484c68e7eb3cb54322373b65 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 0000000000000000000000000000000000000000..2a840e53cc10304eda2789199eff0523da61b749 --- /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 a4fd93e934e70c42f4bc60d7acd3585acfdd5261..6c8284ad6d05081ae9e5beba74121457fa805832 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 0000000000000000000000000000000000000000..51e0948989fc22b41646f1f44e693360edb51b18 --- /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 225d7d4acc2f7787e9727fbb36e60c61b8bc970d..4bf96d4d4f66eb69daec949f25fec1a3dd3d2c18 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 0000000000000000000000000000000000000000..0787cad8f71c2f712d6a2eb8d63f66ba684690fe --- /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 c08dddb0087c69991d3bfc4a10ca45613d3e857a..998887f96a58f237d42183a243db852e1bb516d6 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 0000000000000000000000000000000000000000..48bc6a85ebf95dbc9ae5a169e2339ec14ac5f666 --- /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 0cc5fd56df697d456cd43ff812fef181e8293e44..54897cfd4556d5af3087f99c7f992d5ea826f0bf 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 0000000000000000000000000000000000000000..f2712a69dda9354785766abafc6066aad933bf58 --- /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 3b08fc55b9417f85c60cd2a24196927797e2d18c..0c0e7407857b9cd166dd9079a72e4ba0ef1c7080 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 0000000000000000000000000000000000000000..952ffd5ac5b8020cc26abc6ebbfacdae7006929b --- /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 27a352a399fa870a6ae79ec70d91f4dcc3182892..dd334349e3a45a587c9b687db7b5e5027d709d80 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 0000000000000000000000000000000000000000..f534fdbde07f5adb8d7158bbb6c1f6cf4cb93aaa --- /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 70f5a52d2f8f09bd3b27ddf6f544941ddb4c13f8..df36fd28cf7372af681fe5de68d84503b15b989d 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 0000000000000000000000000000000000000000..79053f17e5e61f9d04ff9906e7e0898c71273169 --- /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 13cbe53da413f01210198e1bc350c3230910f0f9..416bff4789a625d15fa8d0d135b0e0c450bde9f2 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 0000000000000000000000000000000000000000..156c951f6cbd5f4575aa6065c0caf9be165a0883 --- /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 6ad314449ffc7c66d30001535ff9d98ce918bb5c..6ff4d89db96098a9572a419acb43a20249f928e8 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 0000000000000000000000000000000000000000..b5498cc40ac3988bbf45746f5763aa7b2171e22d --- /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 b1897147f159fde7245e78680d0b5874a8c47dd2..bea3885b0afa0a5d14837d629336e1c0ef51ed8d 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 0000000000000000000000000000000000000000..d8db3c88c40178cabe16744567b10eb70d5cb91a --- /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 b63968a7905ef71a1ed0c7284e247159284fb5c8..d7ed406863891d38d44a7e42a70c6e93b10e5f91 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 0000000000000000000000000000000000000000..4d8beaa9ed023625beb733258bbb96f7118ed358 --- /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 a72d58c8e370660eb4d956be36fa32ff667820d0..b052cec21785857d4028e494541c9ac5d8ce0b18 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 0000000000000000000000000000000000000000..b3ae487e8db7bb1a1d851289c48ef07a92f8ce78 --- /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 2847cc842c60374a3827da4758b99fa0004abdc9..49bd520439cdb59d7251966dd16184a66af485bd 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 0000000000000000000000000000000000000000..575222335af4469d7fdd7f5d6794b96dbce9a589 --- /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 1cf0635f7620045ce92cef4311579ba52e2a8371..9e2a7eead66964d6684fdf43a8b6385c1b8710bb 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 0000000000000000000000000000000000000000..5d4bb1d919b63f5982910e71965f008cb5326fd8 --- /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 3059a113b473f5b7e4a18d9ba541183c5a3967f5..b1749eb3921ed325702e8de0a90e563cc6b54c35 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 0000000000000000000000000000000000000000..cdf91dc79d4a4876bbc7e6fdc19e94bed5ba4beb --- /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 9492562093bb762a23962ba3dc6d6ec662157f03..748706b8182046e13b9540f33d5b53dd3c3eeb4d 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 0000000000000000000000000000000000000000..a7e99a06109395afadad1448e00382faa6cd99e0 --- /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 6585847afafaaaa47f26c16a42dd8e358a1cbfa5..5f4fa40cac61bc820fa16a8a961ac4663cd12b07 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 0000000000000000000000000000000000000000..27de95e5b1a9c079113fed735f90019c16d5b9ad --- /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 27bce19cc69b156251f5e27a7c66a5a10e548115..2ffc98b1874a4ed8b81d30e44fdf8868892b95cf 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 0000000000000000000000000000000000000000..960b8e59194865263acb0d60a907ecb3d9970a10 --- /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 ff10370b520cd4cf359797aa66bf8f578e4ebf97..4ae85f5e2b30d33ff953d24d0c2483b4eed7dae1 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 0000000000000000000000000000000000000000..dc2e08a38d493096e1043fc1fd3fb189ba6104ba --- /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 a4e63ab1d948fe8f43286e43a8f7e06b232531b3..9edeb03fb2be9fb703507199a0700dd3b3787130 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 0000000000000000000000000000000000000000..c394b204ecd182ce154755379aabc186a122a4c5 --- /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 4e068d3c603bb88598c224c5c6a0cad5eec1e632..c4c8fce38f7273bf41861fce8089d6ed77af83c8 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 0000000000000000000000000000000000000000..cbd782e3accf23f6e30026003fcc40a36cfc636e --- /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 947b3c898d1f12cf6884204b551707d1ca1b6fbd..4d83c09288224324c3d66ddb958c34c9e72917ab 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 0000000000000000000000000000000000000000..16523d644985d8ff8716183a50b4883a81d86f99 --- /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 9cbbd313f17581237cb61af18cfd281dbd966096..1e0920b7dd12ce420b7999596eca8840e36772bc 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 0000000000000000000000000000000000000000..d7845dc6f6029a4b46b63ffd3231c592e752f191 --- /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 a66c7ca19117e759c2c0d746fa3ad3e42d9ebeee..8b2d4cad2da251737aa278eadd1b7b2c28058af6 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 0000000000000000000000000000000000000000..f557420f875815b5a7ee0b1f6073413cd3dd557b --- /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 19bada4336bfc99f3f6135bcad54bb39a6843cad..ff48b744d5d93c738b20d0765af9f2e7d6765ae6 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 0000000000000000000000000000000000000000..6de2117f97dd1a93bc465fb49d3247208fa115fd --- /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 6d7be86d79e62c2e7bb521bae506aa48b31a3925..4f42d17cfd085b044183c20a9219de8792f92d4b 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 0000000000000000000000000000000000000000..2a92091143117d8f0bbe4e53062b1f8ef80d324d --- /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 e68237cc5b686cc3051b438f0794ebb7dcf1fed0..5625f48b3708cc71ebcf5178fe07c681cc5061ec 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 0000000000000000000000000000000000000000..d8cbed2451dfd66561a3301df5a6cb139b0b01aa --- /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 33de132ed15b4c7117f8cbdaf27ae3d3473ccb1b..b1bdc0d1e68749167a5c3c822e4c9589eeb797aa 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 0000000000000000000000000000000000000000..6fd31a247661727d1ebc3912c97104fdce811761 --- /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 c91765bba5657fc4dd150526fa461b2894a73145..860c6813053a2da789333bd4c5a2156a93ff7644 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 0000000000000000000000000000000000000000..0f314eb49e8025cfc1060fa730822d88320ea461 --- /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 f62283d88278108b94f7f51bf5771cec425bfd41..5c7169bdd6890a09c808491c56bf030909c7345e 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 0000000000000000000000000000000000000000..124fa21a960d32cc466638d9e2a50f039677c053 --- /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 460c5a9594a918c5997c91c8a29f02b7109979ce..fbb5b567e89250da3e325f568716876c386149f5 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 0000000000000000000000000000000000000000..39123900e7b1bb8f086f78f4db3c868664b58e00 --- /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 f0d35242828e2180d1270b512ccbedbfed8bbf75..66c8f84ee44e8342a27877f9b8ca932dfd168238 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 0000000000000000000000000000000000000000..5acac5c64f9a6b2e637a1569680a34ea96437eb3 --- /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 a23b911c2d7236f649e202c459e7b105d00c71a9..eb6e276d0a452ea086919423abde5a5ba4010e62 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 0000000000000000000000000000000000000000..53c46eb251fba2266e824a9da56b5247f857bdf9 --- /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 9d02d7dc7b35372c1c96918f6d8dce4fe395a3c0..39fab7ea0b3128e081b67ed66786e4ae9ab23991 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 0000000000000000000000000000000000000000..fdae18b76d0af3979c87334ea01046ae31d2586c --- /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 ad1ddc44ea6be84d10b365029ccca922ba5f1956..53bf897a34bdf91c5665d4446786f3403ef5a168 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 0000000000000000000000000000000000000000..5a2b62db3e1c37f2331b4c6a0819215c1281aaa1 --- /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 f59a0a3c08e8186027e1b4660ccb43168c89062f..39b1231cc3c9c6417dc5ba1b213f7a23e03fc600 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 0000000000000000000000000000000000000000..a1a4168d5e4bb13adbfb3dfdf208bbf67ad1c268 --- /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 f39fc1af647509d5fff82b1777961e51d240f61b..d014f30e87a6a6b54bf4594ad64ed5c5eb7db0a1 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 0000000000000000000000000000000000000000..14f6a03cda3d094b1fee7aa84581271a60778d9f --- /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 55b8d2e0db98ebb909c726b797fc59b843081129..92cea7c2f7e5673aca36e2d7479fd9a25d731a72 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 0000000000000000000000000000000000000000..a4bdf4fabaac35a623323c8e192b2668e29e6ee2 --- /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 3b5b6170968700f9c900f139cce540a3a889d41c..1c91cc61b1c1662719336d9334a1a2de3535d280 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 0000000000000000000000000000000000000000..23457a3a0fe3a6912a84dbd3124fbc1f3c9fb606 --- /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 f658ee540ec2ec4c53f29eec8a5147cfa0fe6692..b0136c85c8e49394bf080ad0072dcfd3668da738 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 0000000000000000000000000000000000000000..5e04a6bd642708e16809dc1f51d1a2e81961d1ee --- /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 eb360d48a7e1cc053f91273043aa849946cb12cd..fe8b52e0962edd409720301a77e2eda7e4fdb704 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 0000000000000000000000000000000000000000..776d82ba8ea123b3bf561863d8b3925f75c589fa --- /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 cdd9a21006f36e1ae7c919fccedbfa78f616c562..b368079cf93f84b3588e2e94786676dcbec80bd1 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 0000000000000000000000000000000000000000..c23b9852637f24abe0cb41944ec81a007deafae0 --- /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 ea2e7729df748644a49ee608c16b69d825c06b00..d85fdd0ca20c0daa2d7a0de1b22d139a3973385f 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 0000000000000000000000000000000000000000..a41264b616923cc2fdc4a50b1b16e0c1860bc898 --- /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 45e04f4cb86c4a2591d2fd2369a2d82bfe8bd50c..8e04eee74f4ef54f9d9b6aaf2dc853f9f9e119af 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 0000000000000000000000000000000000000000..e245d138f076dca353ce1c20973931c7ed48faa5 --- /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 a2808546cdcc01ef9cce4b4ebdcd2b606a0e0010..d20d348b047876c7240b1379b65e3d14ea5675aa 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 0000000000000000000000000000000000000000..182af7884174c9d52c7ab2d38f9ae1805d2a2a05 --- /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 5a5020c1ee7ba2c6a6fe7b87f35d3e8ddfdb21af..afa0a116b0886ff9b59d4f8596e7be97bcc5537f 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 0000000000000000000000000000000000000000..4129fb5b7e88f30cd1674060814533b648528465 --- /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 cf012c3d17e04aa8dedf8887e5f371c71f3af886..48e64cb1072bddc94917a1b7af1148c19c449490 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 0000000000000000000000000000000000000000..32abf54442fdf1f3e64671faa38081bf1e5f7117 --- /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 abf979b5f632d84f2f8145b1bdf57c8a12bbb48e..0f491b538c223d1f06c1dc30af48cf127895af98 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 0000000000000000000000000000000000000000..b3d71ba33d0a89e36e9054c8c0e96881ce40393d --- /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 065590a28b070e393298e469e59623bfdabb44ef..8c9feed63a043fe76ab438d24e51144e33d553db 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 0000000000000000000000000000000000000000..c75cd130ea82634e70825d8b6831a574cc80cee5 --- /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 5cbe3bdc0c41dedad7198296c791f8f317140bc2..047b8aeed12b6c82913d01786287e0bfd34ead27 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 0000000000000000000000000000000000000000..00ed259f3a7231277ae200d8decd8de19c1c1f08 --- /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 27b3f1b74574424af31be77297b692690eee582b..ed4af64de985ed02e27463168316996bbc9e9934 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 0000000000000000000000000000000000000000..a25d80097fc39b517302d8a71eb7a37647277e20 --- /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 0c811afe913123b05855285d5edca051b139e5fb..ebf2019197e4f310cabd8184533e6ea71e32a443 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 0000000000000000000000000000000000000000..a74f432cf382a7769e81c869bf697d149fd35853 --- /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 eecef46728c0dcd721f799f437168861003fcc8a..36208e7df162f0fdad2be38f820b980407725415 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 0000000000000000000000000000000000000000..6a04a8a5baee2136cdc2d0033b07d718cf6f92e6 --- /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 46b74153184f9e04354246723c8b731972c05379..e410bdb6da6377af2cc6720c40ef8e5218c82e29 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 0000000000000000000000000000000000000000..72a2ee5dcc316d2bd7633511207925b8184efcac --- /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 7aa7846b7117341b7759faf7a68563122d106fab..b847833a3e38cb9a612c6e6c697b5517c1f88d09 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 0000000000000000000000000000000000000000..3d0b0286b708b7b899877ea1588e4a5a7dfdce3a --- /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 764a52a50a08e252eb8aa089018f1723f12c89e0..a804894bde90126343001ccac25adceae34b45bd 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 0000000000000000000000000000000000000000..5541c19582b142a2a62837c3b6d38bab2de6a8d8 --- /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 485fca07cd3bde32dd44741fa702ea42b7bfe8fc..b2210f3588f9a587b7f058d7ee07aa92efcdd215 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 0000000000000000000000000000000000000000..4d278eeef58394ad5e0e59a0ec6a9aa1391c267d --- /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 a94572327873a6cf91f514650cf20a69b22ab7a6..94b198ea76b7e75ccceceaf9b211bd4576bc95a4 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 0000000000000000000000000000000000000000..ba41270af502bdbda1d75b780bbc69eca19b4624 --- /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 0e69e9050dbb0b3b7e9b8491bfd5b08f8ee3da24..0b5208f1a17f4ec3f3094491433863ecd9e192f0 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 0000000000000000000000000000000000000000..5c6a745dae8d10735236a2edf4914dfdec182b23 --- /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 c3da6cd3abb2cffb4c453388c6f92029daf1c2e8..553c29c582fa420ecd058b378b4e9237907119b8 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 0000000000000000000000000000000000000000..8ca98e287076f623be18e9a17733cd5f654ef5eb --- /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 d453fa52f7320d289b6e1c2b1ac384223ec8d721..53c1babe8b74d43a5bce9b822d52bb93e728d0c8 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 0000000000000000000000000000000000000000..5da882ad7b9ae343b26f7b59fc3f897297332164 --- /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 bbbf0e1b4a570fddf61c6d3b10fe84fbbdf409c9..7041cc48e06633dcb7ce30d532130aee3027a1b3 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 0000000000000000000000000000000000000000..0dfef223785162c510bd7f376a36eaa4ad297087 --- /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 5a94927d566bb14bb42b30d960bd4b68f43b6a7a..bb20cbbede3e045425bac1a54a9947ab37ef2102 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 810657ea4f4184e3b3bbb20634439bd3411bd8e9..eef03439f74ffe9348e8dd040cc00cde581f8a05 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 0000000000000000000000000000000000000000..3e533f91ee7f4d789bf4d15f31dc014fab36dad3 --- /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 3a3233a1b92722f116d4e1aca199d875d8d8acd0..ce44c3a176a4108e15966a9f7b95f512c686bc41 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 72940cc7e869ac7678d42fd431e50f5b8c9cdb42..b3c32028dc5a07e9176d09a60ad6c8b1adfe8766 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 665f9e55694abfc8d0f1a23d29ef4956d735f9df..1a04dddb34be7152f12506a02b1a8c95ed15e245 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 1d6c3808b2174ca1a8a18d9fc7911a5b8269ba1b..9db431ee8297a80aea4418a45a14c8081fc909e2 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 934cc4b6a7cba4e24f69df1e090234da50c280c4..4f1121bc7f39ba05efa5150f8ccde5819214f278 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 cc59129bf6608df64c84855989947104e5795fa3..886b9a5f895ad414703ff0c1dd4612a0cc31f4a9 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 74541e6b31227b1038159869c560e30f6e17fde3..d2b6bc4422d29df4bfcdf0520105afbcd9196461 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}}" ] }