2023-01-15 17:27:41 +01:00
|
|
|
Checks: "-*,
|
|
|
|
clang-diagnostic-*,
|
|
|
|
llvm-*,
|
|
|
|
misc-*,
|
|
|
|
-misc-unused-parameters,
|
|
|
|
readability-identifier-naming,
|
|
|
|
-llvm-header-guard,
|
|
|
|
-llvm-include-order,
|
|
|
|
modernize-*,
|
|
|
|
readability-*,
|
|
|
|
performance-*,
|
|
|
|
misc-*,
|
|
|
|
bugprone-*,
|
|
|
|
cert-*,
|
|
|
|
cppcoreguidelines-*,
|
|
|
|
-cppcoreguidelines-pro-type-cstyle-cast,
|
|
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
|
|
-cppcoreguidelines-owning-memory,
|
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
2023-07-30 14:52:39 +02:00
|
|
|
-cppcoreguidelines-avoid-const-or-ref-data-members,
|
2023-01-15 17:27:41 +01:00
|
|
|
-readability-magic-numbers,
|
|
|
|
-performance-noexcept-move-constructor,
|
|
|
|
-misc-non-private-member-variables-in-classes,
|
2024-05-25 14:39:19 +02:00
|
|
|
-misc-no-recursion,
|
2023-01-15 17:27:41 +01:00
|
|
|
-cppcoreguidelines-non-private-member-variables-in-classes,
|
|
|
|
-modernize-use-nodiscard,
|
|
|
|
-modernize-use-trailing-return-type,
|
|
|
|
-readability-identifier-length,
|
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
-bugprone-easily-swappable-parameters,
|
|
|
|
-cert-err58-cpp,
|
2024-06-02 16:31:17 +02:00
|
|
|
-modernize-avoid-c-arrays,
|
|
|
|
-misc-include-cleaner
|
2023-01-15 17:27:41 +01:00
|
|
|
"
|
2022-07-31 16:16:22 +02:00
|
|
|
CheckOptions:
|
2023-01-15 17:27:41 +01:00
|
|
|
- key: readability-identifier-naming.ClassCase
|
|
|
|
value: CamelCase
|
|
|
|
- key: readability-identifier-naming.EnumCase
|
|
|
|
value: CamelCase
|
2023-08-27 14:07:46 +02:00
|
|
|
|
2023-01-15 17:27:41 +01:00
|
|
|
- key: readability-identifier-naming.FunctionCase
|
|
|
|
value: camelBack
|
2023-08-27 14:07:46 +02:00
|
|
|
- key: readability-identifier-naming.FunctionIgnoredRegexp
|
2024-09-01 11:22:54 +02:00
|
|
|
value: ^(TEST|MOCK_METHOD)$
|
2023-08-27 14:07:46 +02:00
|
|
|
|
2023-01-15 17:27:41 +01:00
|
|
|
- key: readability-identifier-naming.MemberCase
|
|
|
|
value: camelBack
|
|
|
|
- key: readability-identifier-naming.PrivateMemberIgnoredRegexp
|
2024-01-15 21:31:40 +01:00
|
|
|
value: ^.*_$
|
|
|
|
- key: readability-identifier-naming.ProtectedMemberIgnoredRegexp
|
|
|
|
value: ^.*_$
|
2023-01-15 17:27:41 +01:00
|
|
|
- key: readability-identifier-naming.UnionCase
|
|
|
|
value: CamelCase
|
|
|
|
- key: readability-identifier-naming.GlobalConstantCase
|
|
|
|
value: UPPER_CASE
|
2023-07-02 15:52:15 +02:00
|
|
|
- key: readability-identifier-naming.GlobalVariableCase
|
|
|
|
value: UPPER_CASE
|
2023-01-15 17:27:41 +01:00
|
|
|
- key: readability-identifier-naming.VariableCase
|
|
|
|
value: camelBack
|
|
|
|
- key: readability-implicit-bool-conversion.AllowPointerConditions
|
|
|
|
value: true
|
2023-04-02 15:31:53 +02:00
|
|
|
|
|
|
|
# Lua state
|
|
|
|
- key: readability-identifier-naming.LocalPointerIgnoredRegexp
|
|
|
|
value: ^L$
|
2023-11-04 14:36:01 +01:00
|
|
|
|
2024-01-07 13:15:36 +01:00
|
|
|
# Benchmarks
|
|
|
|
- key: readability-identifier-naming.FunctionIgnoredRegexp
|
|
|
|
value: ^BM_[^_]+$
|
|
|
|
- key: readability-identifier-naming.ClassIgnoredRegexp
|
|
|
|
value: ^BM_[^_]+$
|
|
|
|
|
2023-11-04 14:36:01 +01:00
|
|
|
- key: misc-const-correctness.AnalyzeValues
|
|
|
|
value: false
|
2024-08-25 15:33:07 +02:00
|
|
|
|
|
|
|
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
|
|
|
|
value: true
|