2022-10-17 04:30:13 +08:00
|
|
|
Checks: >
|
|
|
|
-*,
|
|
|
|
clang-analyzer-*,
|
2023-01-16 04:13:20 +08:00
|
|
|
modernize-*,
|
2023-01-16 13:42:32 +08:00
|
|
|
portability-*,
|
2023-01-16 10:15:34 +08:00
|
|
|
readability-container-size-empty,
|
2022-10-18 08:44:31 +08:00
|
|
|
readability-identifier-naming,
|
2023-01-16 10:15:34 +08:00
|
|
|
readability-isolate-declaration,
|
2023-01-19 00:27:17 +08:00
|
|
|
readability-qualified-auto,
|
|
|
|
readability-redundant-access-specifiers,
|
2022-10-17 04:30:13 +08:00
|
|
|
-clang-analyzer-core.NonNullParamChecker,
|
|
|
|
-clang-analyzer-core.NullDereference,
|
|
|
|
-clang-analyzer-nullability.NullablePassedToNonnull,
|
|
|
|
-clang-analyzer-optin.cplusplus.VirtualCall,
|
|
|
|
-clang-analyzer-optin.osx.*,
|
|
|
|
-clang-analyzer-optin.portability.UnixAPI,
|
|
|
|
-clang-analyzer-osx.*,
|
|
|
|
-clang-analyzer-security.insecureAPI.rand,
|
|
|
|
-clang-analyzer-unix.Malloc,
|
2023-01-16 04:13:20 +08:00
|
|
|
-modernize-avoid-c-arrays,
|
|
|
|
-modernize-macro-to-enum,
|
|
|
|
-modernize-pass-by-value,
|
|
|
|
-modernize-return-braced-init-list,
|
|
|
|
-modernize-use-auto,
|
|
|
|
-modernize-use-nodiscard,
|
|
|
|
-modernize-use-trailing-return-type,
|
2023-01-19 00:27:17 +08:00
|
|
|
-readability-braces-around-statements,
|
|
|
|
-readability-container-contains,
|
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
-readability-magic-numbers,
|
|
|
|
-readability-make-member-function-const,
|
|
|
|
-readability-implicit-bool-conversion
|
|
|
|
|
2022-10-18 08:44:31 +08:00
|
|
|
CheckOptions:
|
|
|
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
|
|
|
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
|
2022-10-24 06:53:36 +08:00
|
|
|
- { key: readability-identifier-naming.VariableCase, value: camelBack }
|
2022-10-24 05:17:57 +08:00
|
|
|
- { key: readability-identifier-naming.ParameterCase, value: camelBack }
|
2022-10-17 04:30:13 +08:00
|
|
|
HeaderFilterRegex: '.*'
|
|
|
|
WarningsAsErrors: '*'
|
2023-01-14 08:16:42 +08:00
|
|
|
UseColor: true
|