Enable all modernize- checks by default

This commit is contained in:
Chris Thrasher 2023-01-15 13:13:20 -07:00
parent 18e8d339e2
commit 88d40412d7

View File

@ -1,15 +1,7 @@
Checks: > Checks: >
-*, -*,
clang-analyzer-*, clang-analyzer-*,
modernize-concat-nested-namespaces, modernize-*,
modernize-deprecated-headers,
modernize-loop-convert,
modernize-use-default-member-init,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors,
portability-*, portability-*,
readability-container-size-empty, readability-container-size-empty,
readability-identifier-naming, readability-identifier-naming,
@ -23,6 +15,13 @@ Checks: >
-clang-analyzer-osx.*, -clang-analyzer-osx.*,
-clang-analyzer-security.insecureAPI.rand, -clang-analyzer-security.insecureAPI.rand,
-clang-analyzer-unix.Malloc, -clang-analyzer-unix.Malloc,
-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,
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 }