|
32 | 32 | "syncstream": "!defined(_LIBCPP_HAS_NO_LOCALIZATION)", |
33 | 33 | } |
34 | 34 |
|
| 35 | +# Undeprecate headers that are deprecated in C++17 and removed in C++20. |
| 36 | +header_undeprecations = { |
| 37 | + "ccomplex": "#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
| 38 | + "ciso646": "#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
| 39 | + "cstdalign": "#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
| 40 | + "cstdbool": "#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
| 41 | + "ctgmath": "#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
| 42 | +} |
| 43 | + |
35 | 44 | lit_header_restrictions = { |
36 | 45 | "barrier": "// UNSUPPORTED: no-threads, c++03, c++11, c++14, c++17", |
37 | 46 | "clocale": "// UNSUPPORTED: no-localization", |
|
70 | 79 | "wchar.h": "// UNSUPPORTED: no-wide-characters", |
71 | 80 | "wctype.h": "// UNSUPPORTED: no-wide-characters", |
72 | 81 | } |
73 | | -# Undeprecate headers that are deprecated in C++17 and removed in C++20. |
74 | | -lit_header_undeprecations = { |
75 | | - "ccomplex": "// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
76 | | - "ciso646": "// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
77 | | - "cstdalign": "// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
78 | | - "cstdbool": "// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
79 | | - "ctgmath": "// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS", |
80 | | -} |
81 | 82 |
|
82 | 83 | # This table was produced manually, by grepping the TeX source of the Standard's |
83 | 84 | # library clauses for the string "#include". Each header's synopsis contains |
|
0 commit comments