mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
Adds names recommended by clang-tidy (e.g. "unused"). Note that clang-tidy v12 appears to detect unnamed parameters in lambdas, while clang-tidy v13 does not. Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
20 lines
851 B
YAML
20 lines
851 B
YAML
Checks:
|
|
-*,
|
|
readability-*,
|
|
-readability-else-after-return,
|
|
-readability-function-cognitive-complexity,
|
|
-readability-qualified-auto,
|
|
-readability-static-accessed-through-instance,
|
|
|
|
CheckOptions:
|
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
|
- { key: readability-identifier-naming.ConstexprVariableCase, value: lower_case }
|
|
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
|
|
- { key: readability-identifier-naming.LocalVariableIgnoredRegexp, value: "^[a-z][a-z_]+" }
|
|
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
|
|
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m }
|
|
- { key: readability-identifier-naming.StructCase, value: lower_case }
|
|
- { key: readability-identifier-naming.VariableCase, value: camelBack }
|
|
|
|
HeaderFilterRegex: '.*'
|