From 3e229dde4c25f4353ae20776ac7efc4aedbd4182 Mon Sep 17 00:00:00 2001 From: sonofR9 <58944203+sonofR9@users.noreply.github.com> Date: Fri, 26 Jan 2024 20:18:42 +0300 Subject: [PATCH] Update .clang-tidy --- .clang-tidy | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 2316f4b..079567b 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,7 +1,22 @@ Checks: > *, + abseil-*, + boost-*, + bugprone-*, + cert-*, + clang-analyzer-*, + concurrency-*, + cppcoreguidelines-*, + google-*, + hicpp-*, + misc-*, + modernize-*, + perfomance-*, + portability-*, + readability-*, -android-*, -altera-*, + -darwin-*, -fuchsia-*, -linuxkernel*, -llvm*, @@ -22,13 +37,13 @@ CheckOptions: - { key: readability-identifier-naming.ClassCase, value: CamelCase } - { key: readability-identifier-naming.StructCase, value: CamelCase } - { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase } - - { key: readability-identifier-naming.FunctionCase, value: CamelCase } - - { key: readability-identifier-naming.VariableCase, value: camelBack } - - { key: readability-identifier-naming.ClassMemberCase, value: camelBack } - - { key: readability-identifier-naming.PrivateMemberCase, value: camelBack } - - { key: readability-identifier-naming.ClassMemberPrefix, value: m_ } - - { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ } - - { key: readability-identifier-naming.ProtectedMemberPrefix, value: m_ } + - { key: readability-identifier-naming.FunctionCase, value: camelBack } + - { key: readability-identifier-naming.VariableCase, value: camelBack } + - { key: readability-identifier-naming.ClassMemberCase, value: camelBack } + - { key: readability-identifier-naming.PrivateMemberCase, value: camelBack } + - { key: readability-identifier-naming.ClassMemberSuffix, value: _ } + - { key: readability-identifier-naming.PrivateMemberSuffix, value: _ } + - { key: readability-identifier-naming.ProtectedMemberSuffix, value: _ } - { key: readability-identifier-naming.EnumConstantCase, value: CamelCase } - { key: readability-identifier-naming.EnumConstantPrefix, value: k } - { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase } @@ -41,8 +56,8 @@ CheckOptions: - { key: readability-identifier-naming.StaticConstantPrefix, value: k } - { key: readability-implicit-bool-conversion.AllowIntegerConditions, value: 1 } - { key: readability-implicit-bool-conversion.AllowPointerConditions, value: 1 } - - { key: readability-function-cognitive-complexity.IgnoreMacros, value: 1 } - - { key: readability-function-cognitive-complexity.Threshold, value: 40 } + - { key: readability-function-cognitive-complexity.IgnoreMacros, value: 1 } + - { key: readability-function-cognitive-complexity.Threshold, value: 40 } # Should be excluded in future # to fix error with c++20 : invalid case style for template parameter 'expr-type'