2020-08-11 18:11:55 +00:00
|
|
|
---
|
|
|
|
# Many of these checks are disabled only because the code hasn't been
|
|
|
|
# cleaned up yet. Pull requests welcomed.
|
|
|
|
Checks: >
|
|
|
|
bugprone-*,
|
|
|
|
-bugprone-branch-clone,
|
2021-10-18 00:48:33 +00:00
|
|
|
-bugprone-easily-swappable-parameters,
|
|
|
|
-bugprone-implicit-widening-of-multiplication-result,
|
2020-08-11 18:11:55 +00:00
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
cert-*,
|
|
|
|
-cert-dcl50-cpp,
|
2022-01-24 02:44:14 +00:00
|
|
|
-cert-err33-c,
|
2020-08-11 18:11:55 +00:00
|
|
|
-cert-err58-cpp,
|
|
|
|
clang-analyzer-optin*,
|
|
|
|
-clang-diagnostic-c++98*,
|
|
|
|
-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,
|
|
|
|
cppcoreguidelines-*,
|
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
2020-09-09 14:24:39 +00:00
|
|
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
2020-08-11 18:11:55 +00:00
|
|
|
-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-reinterpret-cast,
|
|
|
|
-cppcoreguidelines-pro-type-static-cast-downcast,
|
|
|
|
-cppcoreguidelines-pro-type-vararg,
|
|
|
|
-cppcoreguidelines-special-member-functions,
|
|
|
|
google-readability-*,
|
2022-01-24 02:44:14 +00:00
|
|
|
-google-readability-casting,
|
2020-08-11 18:11:55 +00:00
|
|
|
google-runtime-operator,
|
|
|
|
hicpp-*,
|
|
|
|
-hicpp-multiway-paths-covered,
|
|
|
|
-hicpp-no-array-decay,
|
|
|
|
-hicpp-signed-bitwise,
|
|
|
|
-hicpp-special-member-functions,
|
|
|
|
-hicpp-vararg,
|
|
|
|
misc-*,
|
|
|
|
-misc-non-private-member-variables-in-classes,
|
|
|
|
modernize-*,
|
|
|
|
-modernize-concat-nested-namespaces,
|
2021-10-18 00:48:33 +00:00
|
|
|
-modernize-raw-string-literal,
|
|
|
|
-modernize-return-braced-init-list,
|
2020-08-11 18:11:55 +00:00
|
|
|
-modernize-use-trailing-return-type,
|
|
|
|
performance-*,
|
2021-09-09 05:22:29 +00:00
|
|
|
-performance-no-int-to-ptr,
|
2020-08-11 18:11:55 +00:00
|
|
|
readability-*,
|
2021-05-20 20:00:20 +00:00
|
|
|
-readability-function-cognitive-complexity,
|
2022-01-24 02:44:14 +00:00
|
|
|
-readability-identifier-length,
|
2020-08-11 18:11:55 +00:00
|
|
|
-readability-magic-numbers,
|
|
|
|
-readability-qualified-auto,
|
|
|
|
|
|
|
|
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 }
|