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 26
26
#if _LIBCPP_STD_VER >= 20
27
27
28
28
using __standard_header_ccomplex _LIBCPP_DEPRECATED_ (" removed in C++20. Include <complex> instead." ) = void;
29
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
30
29
using __use_standard_header_ccomplex = __standard_header_ccomplex;
31
30
32
31
#elif _LIBCPP_STD_VER >= 17
33
32
34
33
using __standard_header_ccomplex _LIBCPP_DEPRECATED_ (" Include <complex> instead." ) = void;
35
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
36
34
using __use_standard_header_ccomplex = __standard_header_ccomplex;
37
35
38
36
#endif
Original file line number Diff line number Diff line change 24
24
#if _LIBCPP_STD_VER >= 20
25
25
26
26
using __standard_header_ciso646 _LIBCPP_DEPRECATED_ (" removed in C++20. Include <version> instead." ) = void;
27
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
28
27
using __use_standard_header_ciso646 = __standard_header_ciso646;
29
28
30
29
#endif
Original file line number Diff line number Diff line change @@ -43,13 +43,11 @@ Macros:
43
43
#if _LIBCPP_STD_VER >= 20
44
44
45
45
using __standard_header_cstdalign _LIBCPP_DEPRECATED_ (" removed in C++20." ) = void;
46
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
47
46
using __use_standard_header_cstdalign = __standard_header_cstdalign;
48
47
49
48
#elif _LIBCPP_STD_VER >= 17
50
49
51
50
using __standard_header_cstdalign _LIBCPP_DEPRECATED = void ;
52
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
53
51
using __use_standard_header_cstdalign = __standard_header_cstdalign;
54
52
55
53
#endif
Original file line number Diff line number Diff line change @@ -31,13 +31,11 @@ Macros:
31
31
#if _LIBCPP_STD_VER >= 20
32
32
33
33
using __standard_header_cstdbool _LIBCPP_DEPRECATED_ (" removed in C++20." ) = void;
34
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
35
34
using __use_standard_header_cstdbool = __standard_header_cstdbool;
36
35
37
36
#elif _LIBCPP_STD_VER >= 17
38
37
39
38
using __standard_header_cstdbool _LIBCPP_DEPRECATED = void ;
40
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
41
39
using __use_standard_header_cstdbool = __standard_header_cstdbool;
42
40
43
41
#endif
Original file line number Diff line number Diff line change 28
28
#if _LIBCPP_STD_VER >= 20
29
29
30
30
using __standard_header_ctgmath _LIBCPP_DEPRECATED_ (" removed in C++20. Include <cmath> and <complex> instead." ) = void;
31
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
32
31
using __use_standard_header_ctgmath = __standard_header_ctgmath;
33
32
34
33
#elif _LIBCPP_STD_VER >= 17
35
34
36
35
using __standard_header_ctgmath _LIBCPP_DEPRECATED_ (" Include <cmath> and <complex> instead." ) = void;
37
- // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
38
36
using __use_standard_header_ctgmath = __standard_header_ctgmath;
39
37
40
38
#endif
Original file line number Diff line number Diff line change 15
15
16
16
import sys
17
17
sys .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
19
19
20
20
for header in public_headers :
21
21
print (f"""\
30
30
// UNSUPPORTED: clang-17
31
31
32
32
{ lit_header_restrictions .get (header , '' )}
33
+ { lit_header_undeprecations .get (header , '' )}
33
34
34
35
// TODO: run clang-tidy with modules enabled once they are supported
35
36
// 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