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,
|
2021-10-18 00:48:33 +00:00
|
|
|
-bugprone-easily-swappable-parameters,
|
2020-05-20 01:32:51 +00:00
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
cert-*,
|
2022-09-08 23:26:18 +00:00
|
|
|
clang-analyzer-*,
|
2020-05-20 01:32:51 +00:00
|
|
|
cppcoreguidelines-*,
|
2020-06-05 19:02:11 +00:00
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
|
|
-cppcoreguidelines-macro-usage,
|
|
|
|
-cppcoreguidelines-narrowing-conversions,
|
|
|
|
-cppcoreguidelines-non-private-member-variables-in-classes,
|
|
|
|
-cppcoreguidelines-owning-memory,
|
|
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
|
|
-cppcoreguidelines-pro-type-const-cast,
|
|
|
|
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-signed-bitwise,
|
2020-05-20 01:32:51 +00:00
|
|
|
misc-*,
|
2024-01-07 20:21:05 +00:00
|
|
|
-misc-include-cleaner,
|
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,
|
2022-01-24 02:44:14 +00:00
|
|
|
-readability-identifier-length,
|
2020-05-20 01:32:51 +00:00
|
|
|
-readability-implicit-bool-conversion,
|
|
|
|
-readability-magic-numbers,
|
2022-09-08 23:26:18 +00:00
|
|
|
-readability-redundant-access-specifiers, # keep: 'private' vs 'private slots'
|
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 }
|