Files
calyp/.clang-tidy
2024-10-02 23:33:21 +01:00

67 lines
2.6 KiB
YAML

---
Checks: "*,-modernize-use-nodiscard,-llvmlibc-*,-fuchsia-trailing-return,-fuchsia*,-altera-*,-cppcoreguidelines-pro-bounds-constant-array-index,-bugprone-implicit-widening-of-multiplication-result,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers, -readability-identifier-length"
WarningsAsErrors: ""
HeaderFilterRegex: ""
FormatStyle: file
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.ClassMemberCase
value: camelBack
- key: readability-identifier-naming.ClassMethodCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberPrefix
value: m_
- key: readability-identifier-length.IgnoredVariableNames
value: "^(id|to)$"
- key: llvm-else-after-return.WarnOnConditionVariables
value: "0"
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
value: "0"
- key: google-readability-namespace-comments.ShortNamespaceLines
value: "10"
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
value: "0"
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: "1"
- key: cert-dcl16-c.NewSuffixes
value: "L;LL;LU;LLU"
- key: google-readability-braces-around-statements.ShortStatementLines
value: "1"
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: google-readability-namespace-comments.SpacesBeforeComments
value: "2"
- key: modernize-loop-convert.MaxCopySize
value: "16"
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
value: "1"
- key: modernize-use-nullptr.NullMacros
value: "NULL"
- key: llvm-qualified-auto.AddConstToQualified
value: "0"
- key: modernize-loop-convert.NamingStyle
value: CamelCase
- key: llvm-else-after-return.WarnOnUnfixable
value: "0"
- key: google-readability-function-size.StatementThreshold
value: "800"
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: "1"
- key: readability-braces-around-statements.ShortStatementLines
value: "1"
- key: google-readability-braces-around-statements.ShortStatementLines
value: "1"
- key: hicpp-braces-around-statements.ShortStatementLines
value: "1"
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: "1"