mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:20:10 +01:00
Disable readability-identifier-naming in clang-tidy 24 (#7752)
This check allows styles that we don't use so it's not really useful for enforcing our style guide. And prevents the use of `_1` or similar in destructuring declarations where want to use `_` for multiple variables, such as `auto [_1, _2, foo] = bar()`.
This commit is contained in:
@@ -104,6 +104,9 @@ Checks:
|
||||
- '-readability-enum-initial-value'
|
||||
# Warns too frequently.
|
||||
- '-readability-function-cognitive-complexity'
|
||||
# Allows naming styles we don't use, and has errors on our use of `_1`, `_2`
|
||||
# to have multiple unnamed vars in a destructuring declaration.
|
||||
- '-readability-identifier-naming'
|
||||
# Warns on use of CARBON_KIND() and can't use NOLINT effectively inside a
|
||||
# macro.
|
||||
- '-readability-inconsistent-ifelse-braces'
|
||||
|
||||
Reference in New Issue
Block a user