PrismLauncher/.clang-tidy
Octol1ttle e8d0163aa4
Update .clang-tidy configuration file
Enables most of checks provided by clang-tidy, with checks that do not fit us excluded. The table containing naming conventions was using wrong values, that was fixed and now tidy correctly warns and fixes naming convention issues

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-25 12:27:52 +05:00

33 lines
1.8 KiB
YAML

FormatStyle: file
Checks:
'bugprone-*,clang-analyzer-*,cppcoreguidelines-*,hicpp-*,misc-*,modernize-*,performance-*,portability-*,readability-*,
-*-magic-numbers,
-*-non-private-member-variables-in-classes,
-*-special-member-functions,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-type-static-cast-downcast,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-portability-avoid-pragma-once,
-readability-avoid-unconditional-preprocessor-if,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-redundant-access-specifiers'
CheckOptions:
- { key: misc-include-cleaner.MissingIncludes, value: false }
- { key: readability-identifier-naming.DefaultCase, value: camelBack }
- { key: readability-identifier-naming.NamespaceCase, value: CamelCase }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.ClassConstantCase, value: CamelCase }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.EnumConstantCase, value: CamelCase }
- { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE }
- { key: readability-identifier-naming.ClassMemberPrefix, value: m_ }
- { key: readability-identifier-naming.StaticConstantPrefix, value: s_ }
- { key: readability-identifier-naming.StaticVariablePrefix, value: s_ }
- { key: readability-identifier-naming.GlobalConstantPrefix, value: g_ }
- { key: readability-implicit-bool-conversion.AllowPointerConditions, value: true }