Add more clang-tidy checks
This commit is contained in:
parent
7074849814
commit
0f2671a25c
@ -1,18 +1,20 @@
|
|||||||
Checks: >
|
Checks: >
|
||||||
-*,
|
-*,
|
||||||
clang-analyzer-*,
|
clang-analyzer-*,
|
||||||
|
misc-*,
|
||||||
modernize-*,
|
modernize-*,
|
||||||
portability-*,
|
portability-*,
|
||||||
readability-*,
|
readability-*,
|
||||||
-clang-analyzer-core.NonNullParamChecker,
|
|
||||||
-clang-analyzer-core.NullDereference,
|
|
||||||
-clang-analyzer-nullability.NullablePassedToNonnull,
|
-clang-analyzer-nullability.NullablePassedToNonnull,
|
||||||
-clang-analyzer-optin.cplusplus.VirtualCall,
|
-clang-analyzer-optin.cplusplus.VirtualCall,
|
||||||
-clang-analyzer-optin.osx.*,
|
-clang-analyzer-optin.osx.*,
|
||||||
-clang-analyzer-optin.portability.UnixAPI,
|
|
||||||
-clang-analyzer-osx.*,
|
-clang-analyzer-osx.*,
|
||||||
-clang-analyzer-security.insecureAPI.rand,
|
-clang-analyzer-security.insecureAPI.rand,
|
||||||
-clang-analyzer-unix.Malloc,
|
-clang-analyzer-unix.Malloc,
|
||||||
|
-misc-const-correctness,
|
||||||
|
-misc-misplaced-const,
|
||||||
|
-misc-no-recursion,
|
||||||
|
-misc-non-private-member-variables-in-classes,
|
||||||
-modernize-avoid-c-arrays,
|
-modernize-avoid-c-arrays,
|
||||||
-modernize-macro-to-enum,
|
-modernize-macro-to-enum,
|
||||||
-modernize-pass-by-value,
|
-modernize-pass-by-value,
|
||||||
@ -31,7 +33,6 @@ Checks: >
|
|||||||
-readability-magic-numbers,
|
-readability-magic-numbers,
|
||||||
-readability-named-parameter,
|
-readability-named-parameter,
|
||||||
-readability-uppercase-literal-suffix,
|
-readability-uppercase-literal-suffix,
|
||||||
|
|
||||||
CheckOptions:
|
CheckOptions:
|
||||||
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
||||||
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
|
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
|
||||||
|
Loading…
Reference in New Issue
Block a user