Disable readability-use-concise-preprocessor-directives in clang-tidy 24 (#7754)

While we do adhere to its expectations most of the time, we don't
always. This is a low value check, and it's a stylistic choice to use
`#if defined(...)` when paired with `#elif defined(...)`.
This commit is contained in:
Dana Jansens
2026-09-10 19:12:54 +00:00
committed by GitHub
parent 76f52e0abb
commit 804dc3baaf
+3
View File
@@ -115,6 +115,9 @@ Checks:
- '-readability-redundant-parentheses'
# Warns when callers use similar names as different parameters.
- '-readability-suspicious-call-argument'
# Low value check, and it's a stylistic choice to use `#if defined(...)` when
# paired with `#elif defined(...)`.
- '-readability-use-concise-preprocessor-directives'
CheckOptions:
# Don't warn on structs; done by ignoring when there are only public members.