mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 18:40:16 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user