mirror of
https://github.com/blackmagic-debug/blackmagic.git
synced 2025-10-13 18:37:21 +08:00
50 lines
2.0 KiB
YAML
50 lines
2.0 KiB
YAML
---
|
|
Checks: 'bugprone-*,cert-*,clang-analyzer-*,misc-*,modernize-*,portability-*,performance-*,readability-*,-readability-magic-numbers,-readability-braces-around-statements,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,-modernize-macro-to-enum,-bugprone-easily-swappable-parameters,-misc-include-cleaner,-misc-no-recursion,-misc-header-include-cycle'
|
|
FormatStyle: 'none'
|
|
HeaderFilterRegex: '(src|upgrade)/.+'
|
|
#AnalyzeTemporaryDtors: false
|
|
CheckOptions:
|
|
- key: cert-dcl16-c.NewSuffixes
|
|
value: 'L;LL;UL;ULL'
|
|
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
|
|
value: '0'
|
|
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
|
|
value: '0'
|
|
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
|
|
value: '1'
|
|
- key: modernize-loop-convert.MaxCopySize
|
|
value: '16'
|
|
- key: modernize-loop-convert.MinConfidence
|
|
value: reasonable
|
|
- key: modernize-loop-convert.NamingStyle
|
|
value: camelBack
|
|
- key: modernize-pass-by-value.IncludeStyle
|
|
value: llvm
|
|
- key: modernize-replace-auto-ptr.IncludeStyle
|
|
value: llvm
|
|
- key: modernize-use-nullptr.NullMacros
|
|
value: 'NULL'
|
|
- key: readability-braces-around-statements.ShortStatementLines
|
|
value: '2'
|
|
- key: readability-identifier-length.MinimumVariableNameLength
|
|
value: '2'
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: 'lower_case'
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: 'lower_case'
|
|
- key: readability-identifier-naming.ConstantCase
|
|
value: 'lower_case'
|
|
- key: readability-identifier-naming.EnumCase
|
|
value: 'lower_case'
|
|
- key: readability-identifier-naming.StructCase
|
|
value: 'lower_case'
|
|
- key: readability-identifier-naming.UnionCase
|
|
value: 'lower_case'
|
|
- key: readability-identifier-naming.TypedefCase
|
|
value: 'lower_case'
|
|
- key: readability-identifier-naming.MacroDefinitionCase
|
|
value: 'UPPER_CASE'
|
|
- key: readability-identifier-length.MinimumParameterNameLength
|
|
value: '2'
|
|
...
|