Skip to content

Commit

Permalink
Update .clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofR9 authored Jan 26, 2024
1 parent 4f2dcf7 commit 3e229dd
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -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*,
Expand All @@ -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 }
Expand All @@ -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'
Expand Down

0 comments on commit 3e229dd

Please sign in to comment.