Skip to content

Commit b134569

Browse files
committed
Suppress new warnings in clang-tidy 17
1 parent 59e7740 commit b134569

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.clang-tidy

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020-2023 David Robillard <[email protected]>
1+
# Copyright 2020-2024 David Robillard <[email protected]>
22
# SPDX-License-Identifier: 0BSD OR ISC
33

44
Checks: >
@@ -8,6 +8,7 @@ Checks: >
88
-bugprone-suspicious-realloc-usage,
99
-clang-diagnostic-unused-macros,
1010
-llvmlibc-*,
11+
-misc-include-cleaner,
1112
-readability-identifier-length,
1213
FormatStyle: file
1314
HeaderFilterRegex: '.*/serd/.*\.h'

src/.clang-tidy

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Copyright 2020-2022 David Robillard <[email protected]>
1+
# Copyright 2020-2024 David Robillard <[email protected]>
22
# SPDX-License-Identifier: 0BSD OR ISC
33

44
Checks: >
55
-*-magic-numbers,
66
-bugprone-easily-swappable-parameters,
7+
-bugprone-switch-missing-default-case,
78
-cert-err33-c,
89
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
910
-clang-analyzer-valist.Uninitialized,

test/.clang-tidy

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Copyright 2020-2022 David Robillard <[email protected]>
1+
# Copyright 2020-2024 David Robillard <[email protected]>
22
# SPDX-License-Identifier: 0BSD OR ISC
33

44
Checks: >
55
-*-magic-numbers,
66
-android-cloexec-fopen,
7+
-bugprone-assert-side-effect,
78
-bugprone-easily-swappable-parameters,
89
-cert-err33-c,
910
-clang-analyzer-nullability.NullableDereferenced,

0 commit comments

Comments
 (0)