181 lines
9.6 KiB
YAML
181 lines
9.6 KiB
YAML
---
|
|
Checks: 'clang-diagnostic-*,clang-analyzer-*,clang-diagnostic-*,clang-analyzer-*,clang-diagnostic-*,clang-analyzer-*,-*,clang-analyzer-core.*,clang-analyzer-optin.performance.*,clang-analyzer-optin.portability.*,clang-analyzer-nullability.*,clang-analyzer-security.*,clang-analyzer-unix.*,bugprone-*,misc-*,performance-*,readability-*,-*,clang-analyzer-core.*,clang-analyzer-optin.performance.*,clang-analyzer-optin.portability.*,clang-analyzer-nullability.*,clang-analyzer-security.*,clang-analyzer-unix.*,bugprone-*,misc-*,performance-*,readability-*,-readability-isolate-declaration,-readability-else-after-return,-readability-braces-around-statements,-*,clang-analyzer-core.*,clang-analyzer-optin.performance.*,clang-analyzer-optin.portability.*,clang-analyzer-nullability.*,clang-analyzer-security.*,clang-analyzer-unix.*,bugprone-*,misc-*,performance-*,readability-*,-readability-isolate-declaration,-readability-else-after-return,-readability-braces-around-statements,-readability-magic-numbers'
|
|
WarningsAsErrors: ''
|
|
HeaderFilterRegex: ''
|
|
AnalyzeTemporaryDtors: false
|
|
FormatStyle: file
|
|
User: caskd
|
|
CheckOptions:
|
|
- key: bugprone-argument-comment.CommentBoolLiterals
|
|
value: '0'
|
|
- key: bugprone-argument-comment.CommentCharacterLiterals
|
|
value: '0'
|
|
- key: bugprone-argument-comment.CommentFloatLiterals
|
|
value: '0'
|
|
- key: bugprone-argument-comment.CommentIntegerLiterals
|
|
value: '0'
|
|
- key: bugprone-argument-comment.CommentNullPtrs
|
|
value: '0'
|
|
- key: bugprone-argument-comment.CommentStringLiterals
|
|
value: '0'
|
|
- key: bugprone-argument-comment.CommentUserDefinedLiterals
|
|
value: '0'
|
|
- key: bugprone-argument-comment.IgnoreSingleArgument
|
|
value: '0'
|
|
- key: bugprone-argument-comment.StrictMode
|
|
value: '0'
|
|
- key: bugprone-assert-side-effect.AssertMacros
|
|
value: assert
|
|
- key: bugprone-assert-side-effect.CheckFunctionCalls
|
|
value: '0'
|
|
- key: bugprone-dangling-handle.HandleClasses
|
|
value: 'std::basic_string_view;std::experimental::basic_string_view'
|
|
- key: bugprone-dynamic-static-initializers.HeaderFileExtensions
|
|
value: ',h,hh,hpp,hxx'
|
|
- key: bugprone-exception-escape.FunctionsThatShouldNotThrow
|
|
value: ''
|
|
- key: bugprone-exception-escape.IgnoredExceptions
|
|
value: ''
|
|
- key: bugprone-misplaced-widening-cast.CheckImplicitCasts
|
|
value: '0'
|
|
- key: bugprone-not-null-terminated-result.WantToUseSafeFunctions
|
|
value: '1'
|
|
- key: bugprone-signed-char-misuse.CharTypdefsToIgnore
|
|
value: ''
|
|
- key: bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant
|
|
value: '1'
|
|
- key: bugprone-sizeof-expression.WarnOnSizeOfConstant
|
|
value: '1'
|
|
- key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
|
|
value: '0'
|
|
- key: bugprone-sizeof-expression.WarnOnSizeOfThis
|
|
value: '1'
|
|
- key: bugprone-string-constructor.LargeLengthThreshold
|
|
value: '8388608'
|
|
- key: bugprone-string-constructor.WarnOnLargeLength
|
|
value: '1'
|
|
- key: bugprone-suspicious-enum-usage.StrictMode
|
|
value: '0'
|
|
- key: bugprone-suspicious-missing-comma.MaxConcatenatedTokens
|
|
value: '5'
|
|
- key: bugprone-suspicious-missing-comma.RatioThreshold
|
|
value: '0.200000'
|
|
- key: bugprone-suspicious-missing-comma.SizeThreshold
|
|
value: '5'
|
|
- key: bugprone-suspicious-string-compare.StringCompareLikeFunctions
|
|
value: ''
|
|
- key: bugprone-suspicious-string-compare.WarnOnImplicitComparison
|
|
value: '1'
|
|
- key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison
|
|
value: '0'
|
|
- key: bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit
|
|
value: '16'
|
|
- key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
|
|
value: '1'
|
|
- key: bugprone-unused-return-value.CheckedFunctions
|
|
value: '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty'
|
|
- key: cert-dcl16-c.NewSuffixes
|
|
value: 'L;LL;LU;LLU'
|
|
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
|
|
value: '0'
|
|
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
|
|
value: '1'
|
|
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
|
|
value: '1'
|
|
- key: google-readability-braces-around-statements.ShortStatementLines
|
|
value: '1'
|
|
- key: google-readability-function-size.StatementThreshold
|
|
value: '800'
|
|
- key: google-readability-namespace-comments.ShortNamespaceLines
|
|
value: '10'
|
|
- key: google-readability-namespace-comments.SpacesBeforeComments
|
|
value: '2'
|
|
- key: misc-definitions-in-headers.HeaderFileExtensions
|
|
value: ',h,hh,hpp,hxx'
|
|
- key: misc-definitions-in-headers.UseHeaderFileExtension
|
|
value: '1'
|
|
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
|
|
value: '1'
|
|
- key: misc-unused-parameters.StrictMode
|
|
value: '0'
|
|
- key: modernize-loop-convert.MaxCopySize
|
|
value: '16'
|
|
- key: modernize-loop-convert.MinConfidence
|
|
value: reasonable
|
|
- key: modernize-loop-convert.NamingStyle
|
|
value: CamelCase
|
|
- key: modernize-pass-by-value.IncludeStyle
|
|
value: llvm
|
|
- key: modernize-replace-auto-ptr.IncludeStyle
|
|
value: llvm
|
|
- key: modernize-use-nullptr.NullMacros
|
|
value: 'NULL'
|
|
- key: performance-faster-string-find.StringLikeClasses
|
|
value: 'std::basic_string'
|
|
- key: performance-for-range-copy.AllowedTypes
|
|
value: ''
|
|
- key: performance-for-range-copy.WarnOnAllAutoCopies
|
|
value: '0'
|
|
- key: performance-inefficient-string-concatenation.StrictMode
|
|
value: '0'
|
|
- key: performance-inefficient-vector-operation.EnableProto
|
|
value: '0'
|
|
- key: performance-inefficient-vector-operation.VectorLikeClasses
|
|
value: '::std::vector'
|
|
- key: performance-move-const-arg.CheckTriviallyCopyableMove
|
|
value: '1'
|
|
- key: performance-move-constructor-init.IncludeStyle
|
|
value: llvm
|
|
- key: performance-no-automatic-move.AllowedTypes
|
|
value: ''
|
|
- key: performance-type-promotion-in-math-fn.IncludeStyle
|
|
value: llvm
|
|
- key: performance-unnecessary-copy-initialization.AllowedTypes
|
|
value: ''
|
|
- key: performance-unnecessary-value-param.AllowedTypes
|
|
value: ''
|
|
- key: performance-unnecessary-value-param.IncludeStyle
|
|
value: llvm
|
|
- key: readability-function-size.BranchThreshold
|
|
value: '4294967295'
|
|
- key: readability-function-size.LineThreshold
|
|
value: '4294967295'
|
|
- key: readability-function-size.NestingThreshold
|
|
value: '4294967295'
|
|
- key: readability-function-size.ParameterThreshold
|
|
value: '4294967295'
|
|
- key: readability-function-size.StatementThreshold
|
|
value: '800'
|
|
- key: readability-function-size.VariableThreshold
|
|
value: '4294967295'
|
|
- key: readability-identifier-naming.IgnoreFailedSplit
|
|
value: '0'
|
|
- key: readability-implicit-bool-conversion.AllowIntegerConditions
|
|
value: '0'
|
|
- key: readability-implicit-bool-conversion.AllowPointerConditions
|
|
value: '0'
|
|
- key: readability-inconsistent-declaration-parameter-name.IgnoreMacros
|
|
value: '1'
|
|
- key: readability-inconsistent-declaration-parameter-name.Strict
|
|
value: '0'
|
|
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
|
|
value: '0'
|
|
- key: readability-redundant-smartptr-get.IgnoreMacros
|
|
value: '1'
|
|
- key: readability-redundant-string-init.StringNames
|
|
value: '::std::basic_string'
|
|
- key: readability-simplify-boolean-expr.ChainedConditionalAssignment
|
|
value: '0'
|
|
- key: readability-simplify-boolean-expr.ChainedConditionalReturn
|
|
value: '0'
|
|
- key: readability-simplify-subscript-expr.Types
|
|
value: '::std::basic_string;::std::basic_string_view;::std::vector;::std::array'
|
|
- key: readability-static-accessed-through-instance.NameSpecifierNestingThreshold
|
|
value: '3'
|
|
- key: readability-uppercase-literal-suffix.IgnoreMacros
|
|
value: '1'
|
|
- key: readability-uppercase-literal-suffix.NewSuffixes
|
|
value: ''
|
|
...
|
|
|