2020-05-20 01:32:51 +00:00
|
|
|
---
|
2020-06-05 19:02:11 +00:00
|
|
|
# Many of these checks are disabled only because the code hasn't been
|
|
|
|
# cleaned up yet. Pull requests welcomed.
|
|
|
|
Checks: >
|
2020-05-20 01:32:51 +00:00
|
|
|
bugprone-*,
|
|
|
|
-bugprone-branch-clone,
|
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
cert-*,
|
|
|
|
-cert-err58-cpp,
|
|
|
|
clang-analyzer-optin*,
|
2020-08-11 18:11:55 +00:00
|
|
|
-clang-diagnostic-c++98*,
|
|
|
|
-clang-diagnostic-double-promotion,
|
|
|
|
-clang-diagnostic-exit-time-destructors,
|
|
|
|
-clang-diagnostic-global-constructors,
|
|
|
|
-clang-diagnostic-missing-prototypes,
|
|
|
|
-clang-diagnostic-nonportable-system-include-path,
|
|
|
|
-clang-diagnostic-old-style-cast,
|
|
|
|
-clang-diagnostic-shorten-64-to-32,
|
|
|
|
-clang-diagnostic-sign-compare,
|
|
|
|
-clang-diagnostic-sign-conversion,
|
|
|
|
-clang-diagnostic-switch-enum,
|
|
|
|
-clang-diagnostic-undefined-reinterpret-cast,
|
2020-08-15 15:42:51 +00:00
|
|
|
-clang-diagnostic-unused-member-function,
|
2020-05-20 01:32:51 +00:00
|
|
|
cppcoreguidelines-*,
|
2020-06-05 19:02:11 +00:00
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
|
|
-cppcoreguidelines-init-variables,
|
|
|
|
-cppcoreguidelines-macro-usage,
|
|
|
|
-cppcoreguidelines-narrowing-conversions,
|
|
|
|
-cppcoreguidelines-non-private-member-variables-in-classes,
|
|
|
|
-cppcoreguidelines-owning-memory,
|
|
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
|
|
-cppcoreguidelines-pro-type-const-cast,
|
|
|
|
-cppcoreguidelines-pro-type-cstyle-cast,
|
|
|
|
-cppcoreguidelines-pro-type-static-cast-downcast,
|
2021-10-11 22:37:43 +00:00
|
|
|
-cppcoreguidelines-pro-type-vararg,
|
2020-06-05 19:02:11 +00:00
|
|
|
google-readability-*,
|
|
|
|
google-runtime-operator,
|
2020-05-20 01:32:51 +00:00
|
|
|
hicpp-*,
|
2020-06-05 19:02:11 +00:00
|
|
|
-hicpp-multiway-paths-covered,
|
|
|
|
-hicpp-no-array-decay,
|
|
|
|
-hicpp-signed-bitwise,
|
|
|
|
-hicpp-special-member-functions,
|
2021-10-11 22:37:43 +00:00
|
|
|
-hicpp-vararg,
|
2020-05-20 01:32:51 +00:00
|
|
|
misc-*,
|
2020-06-05 19:02:11 +00:00
|
|
|
-misc-no-recursion,
|
2020-05-20 01:32:51 +00:00
|
|
|
-misc-non-private-member-variables-in-classes,
|
|
|
|
modernize-*,
|
2020-06-05 19:02:11 +00:00
|
|
|
-modernize-use-trailing-return-type, # keep
|
|
|
|
performance-*,
|
2020-05-20 01:32:51 +00:00
|
|
|
readability-*,
|
|
|
|
-readability-convert-member-functions-to-static,
|
2021-05-20 20:00:20 +00:00
|
|
|
-readability-function-cognitive-complexity,
|
2020-05-20 01:32:51 +00:00
|
|
|
-readability-implicit-bool-conversion,
|
|
|
|
-readability-inconsistent-declaration-parameter-name,
|
|
|
|
-readability-magic-numbers,
|
|
|
|
-readability-redundant-access-specifiers,
|
2020-06-05 19:02:11 +00:00
|
|
|
-readability-static-accessed-through-instance
|
2020-05-20 01:32:51 +00:00
|
|
|
|
2020-06-05 19:02:11 +00:00
|
|
|
CheckOptions:
|
|
|
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
|
|
|
- { key: readability-identifier-naming.ClassMethodCase, value: camelBack }
|
|
|
|
- { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase }
|
|
|
|
- { key: readability-identifier-naming.EnumConstantCase, value: UPPER_CASE }
|
|
|
|
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
|
|
|
|
- { key: readability-identifier-naming.GlobalConstantCase, value: CamelCase }
|
|
|
|
- { key: readability-identifier-naming.MemberConstantCase, value: CamelCase }
|
|
|
|
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
|
|
|
|
- { key: readability-identifier-naming.ProtectedMemberSuffix, value: _ }
|
|
|
|
- { key: readability-identifier-naming.StaticConstantCase, value: CamelCase }
|
|
|
|
- { key: readability-identifier-naming.StructCase, value: CamelCase }
|
|
|
|
- { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
|
|
|
|
- { key: readability-identifier-naming.VariableCase, value: lower_case }
|