Skip to content

Commit 8c0f694

Browse files
committed
Fix a few clang-tidy issues that crept into the code base while it was disabled
1 parent 85f849d commit 8c0f694

File tree

6 files changed

+14
-6
lines changed

6 files changed

+14
-6
lines changed

libcxx/include/ccomplex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@
2626
#if _LIBCPP_STD_VER >= 20
2727

2828
using __standard_header_ccomplex _LIBCPP_DEPRECATED_("removed in C++20. Include <complex> instead.") = void;
29+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
2930
using __use_standard_header_ccomplex = __standard_header_ccomplex;
3031

3132
#elif _LIBCPP_STD_VER >= 17
3233

3334
using __standard_header_ccomplex _LIBCPP_DEPRECATED_("Include <complex> instead.") = void;
34-
using __use_standard_header_ccomplex = __standard_header_ccomplex;
35+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
36+
using __use_standard_header_ccomplex = __standard_header_ccomplex;
3537

3638
#endif
3739

libcxx/include/chrono

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,6 @@ constexpr chrono::year operator ""y(unsigned lo
998998
# include <cstdint>
999999
# include <stdexcept>
10001000
# include <string_view>
1001-
# include <vector>
10021001
#endif
10031002

10041003
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20

libcxx/include/ciso646

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#if _LIBCPP_STD_VER >= 20
2525

2626
using __standard_header_ciso646 _LIBCPP_DEPRECATED_("removed in C++20. Include <version> instead.") = void;
27+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
2728
using __use_standard_header_ciso646 = __standard_header_ciso646;
2829

2930
#endif

libcxx/include/cstdalign

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ Macros:
4343
#if _LIBCPP_STD_VER >= 20
4444

4545
using __standard_header_cstdalign _LIBCPP_DEPRECATED_("removed in C++20.") = void;
46-
using __use_standard_header_cstdalign = __standard_header_cstdalign;
46+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
47+
using __use_standard_header_cstdalign = __standard_header_cstdalign;
4748

4849
#elif _LIBCPP_STD_VER >= 17
4950

5051
using __standard_header_cstdalign _LIBCPP_DEPRECATED = void;
51-
using __use_standard_header_cstdalign = __standard_header_cstdalign;
52+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
53+
using __use_standard_header_cstdalign = __standard_header_cstdalign;
5254

5355
#endif
5456

libcxx/include/cstdbool

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ Macros:
3131
#if _LIBCPP_STD_VER >= 20
3232

3333
using __standard_header_cstdbool _LIBCPP_DEPRECATED_("removed in C++20.") = void;
34-
using __use_standard_header_cstdbool = __standard_header_cstdbool;
34+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
35+
using __use_standard_header_cstdbool = __standard_header_cstdbool;
3536

3637
#elif _LIBCPP_STD_VER >= 17
3738

3839
using __standard_header_cstdbool _LIBCPP_DEPRECATED = void;
39-
using __use_standard_header_cstdbool = __standard_header_cstdbool;
40+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
41+
using __use_standard_header_cstdbool = __standard_header_cstdbool;
4042

4143
#endif
4244

libcxx/include/ctgmath

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
#if _LIBCPP_STD_VER >= 20
2929

3030
using __standard_header_ctgmath _LIBCPP_DEPRECATED_("removed in C++20. Include <cmath> and <complex> instead.") = void;
31+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
3132
using __use_standard_header_ctgmath = __standard_header_ctgmath;
3233

3334
#elif _LIBCPP_STD_VER >= 17
3435

3536
using __standard_header_ctgmath _LIBCPP_DEPRECATED_("Include <cmath> and <complex> instead.") = void;
37+
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
3638
using __use_standard_header_ctgmath = __standard_header_ctgmath;
3739

3840
#endif

0 commit comments

Comments
 (0)