File tree Expand file tree Collapse file tree 6 files changed +2
-10
lines changed Expand file tree Collapse file tree 6 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 2626#if _LIBCPP_STD_VER >= 20
2727
2828using __standard_header_ccomplex _LIBCPP_DEPRECATED_ (" removed in C++20. Include <complex> instead." ) = void;
29- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
3029using __use_standard_header_ccomplex = __standard_header_ccomplex;
3130
3231#elif _LIBCPP_STD_VER >= 17
3332
3433using __standard_header_ccomplex _LIBCPP_DEPRECATED_ (" Include <complex> instead." ) = void;
35- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
3634using __use_standard_header_ccomplex = __standard_header_ccomplex;
3735
3836#endif
Original file line number Diff line number Diff line change 2424#if _LIBCPP_STD_VER >= 20
2525
2626using __standard_header_ciso646 _LIBCPP_DEPRECATED_ (" removed in C++20. Include <version> instead." ) = void;
27- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
2827using __use_standard_header_ciso646 = __standard_header_ciso646;
2928
3029#endif
Original file line number Diff line number Diff line change @@ -43,13 +43,11 @@ Macros:
4343#if _LIBCPP_STD_VER >= 20
4444
4545using __standard_header_cstdalign _LIBCPP_DEPRECATED_ (" removed in C++20." ) = void;
46- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
4746using __use_standard_header_cstdalign = __standard_header_cstdalign;
4847
4948#elif _LIBCPP_STD_VER >= 17
5049
5150using __standard_header_cstdalign _LIBCPP_DEPRECATED = void ;
52- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
5351using __use_standard_header_cstdalign = __standard_header_cstdalign;
5452
5553#endif
Original file line number Diff line number Diff line change @@ -31,13 +31,11 @@ Macros:
3131#if _LIBCPP_STD_VER >= 20
3232
3333using __standard_header_cstdbool _LIBCPP_DEPRECATED_ (" removed in C++20." ) = void;
34- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
3534using __use_standard_header_cstdbool = __standard_header_cstdbool;
3635
3736#elif _LIBCPP_STD_VER >= 17
3837
3938using __standard_header_cstdbool _LIBCPP_DEPRECATED = void ;
40- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
4139using __use_standard_header_cstdbool = __standard_header_cstdbool;
4240
4341#endif
Original file line number Diff line number Diff line change 2828#if _LIBCPP_STD_VER >= 20
2929
3030using __standard_header_ctgmath _LIBCPP_DEPRECATED_ (" removed in C++20. Include <cmath> and <complex> instead." ) = void;
31- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
3231using __use_standard_header_ctgmath = __standard_header_ctgmath;
3332
3433#elif _LIBCPP_STD_VER >= 17
3534
3635using __standard_header_ctgmath _LIBCPP_DEPRECATED_ (" Include <cmath> and <complex> instead." ) = void;
37- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
3836using __use_standard_header_ctgmath = __standard_header_ctgmath;
3937
4038#endif
Original file line number Diff line number Diff line change 1515
1616import sys
1717sys .path .append (sys .argv [1 ])
18- from libcxx .header_information import lit_header_restrictions , public_headers
18+ from libcxx .header_information import lit_header_restrictions , lit_header_undeprecations , public_headers
1919
2020for header in public_headers :
2121 print (f"""\
3030// UNSUPPORTED: clang-17
3131
3232{ lit_header_restrictions .get (header , '' )}
33+ { lit_header_undeprecations .get (header , '' )}
3334
3435// TODO: run clang-tidy with modules enabled once they are supported
3536// RUN: %{{clang-tidy}} %s --warnings-as-errors=* -header-filter=.* --checks='-*,libcpp-*' --load=%{{test-tools-dir}}/clang_tidy_checks/libcxx-tidy.plugin -- %{{compile_flags}} -fno-modules
You can’t perform that action at this time.
0 commit comments