| 1 |
--- |
| 2 |
Checks: '-*,bugprone-argument-comment,bugprone-assert-side-effect,bugprone-bool-pointer-implicit-conversion,bugprone-casting-through-void,bugprone-copy-constructor-init,bugprone-dangling-handle,bugprone-fold-init-type,bugprone-forward-declaration-namespace,bugprone-forwarding-reference-overload,bugprone-inaccurate-erase,bugprone-integer-division,bugprone-lambda-function-name,bugprone-macro-*,bugprone-move-forwarding-reference,bugprone-multiple-statement-macro,bugprone-parent-virtual-call,bugprone-redundant-branch-condition,bugprone-reserved-identifier,bugprone-signed-char-misuse,bugprone-sizeof-*,bugprone-string-*,bugprone-stringview-nullptr,bugprone-suspicious-*,bugprone-swapped-arguments,bugprone-terminating-continue,bugprone-too-small-loop-variable,bugprone-undefined-memory-manipulation,bugprone-undelegated-constructor,bugprone-unhandled-self-assignment,bugprone-unused-*,bugprone-use-after-move,bugprone-virtual-near-miss,cert-dcl50-cpp,cert-dcl58-cpp,cert-dcl59-cpp,cert-env33-c,cert-err33-c,cert-err34-c,cert-err60-cpp,cert-fio38-c,cert-flp30-c,cert-mem57-cpp,cert-msc30-c,cert-msc32-c,cert-msc50-cpp,cert-msc51-cpp,cert-oop57-cpp,cert-oop58-cpp,clang-analyzer-core.CallAndMessage,clang-analyzer-core.DivideZero,clang-analyzer-core.NullDereference,clang-analyzer-core.StackAddrEscapeBase,clang-analyzer-core.StackAddressEscape,clang-analyzer-core.UndefinedBinaryOperatorResult,clang-analyzer-core.uninitialized.*,clang-analyzer-cplusplus.*,clang-analyzer-deadcode.DeadStores,clang-analyzer-optin.core.*,clang-analyzer-optin.cplusplus.*,clang-analyzer-security.cert.*,cppcoreguidelines-avoid-capturing-lambda-coroutines,cppcoreguidelines-avoid-reference-coroutine-parameters,cppcoreguidelines-c-copy-assignment-signature,cppcoreguidelines-init-variables,cppcoreguidelines-interfaces-global-init,cppcoreguidelines-missing-std-forward,cppcoreguidelines-narrowing-conversions,cppcoreguidelines-no-malloc,cppcoreguidelines-prefer-member-initializer,cppcoreguidelines-pro-bounds-array-to-pointer-decay,cppcoreguidelines-pro-bounds-pointer-arithmetic,cppcoreguidelines-pro-type-cstyle-cast,cppcoreguidelines-pro-type-member-init,cppcoreguidelines-slicing,cppcoreguidelines-special-member-functions,cppcoreguidelines-virtual-class-destructor,google-explicit-constructor,google-readability-namespace-comments,google-runtime-int,misc-*,-misc-definitions-in-headers,-misc-include-cleaner,-misc-no-recursion,modernize-avoid-*,modernize-concat-nested-namespaces,modernize-deprecated-*,modernize-loop-convert,modernize-make-*,modernize-pass-by-value,modernize-raw-string-literal,modernize-redundant-void-arg,modernize-replace-random-shuffle,modernize-return-braced-init-list,modernize-shrink-to-fit,modernize-unary-static-assert,modernize-use-auto,modernize-use-bool-literals,modernize-use-default-member-init,modernize-use-emplace,modernize-use-equals-*,modernize-use-nullptr,modernize-use-override,modernize-use-transparent-functors,modernize-use-starts-ends-with,modernize-use-std-numbers,modernize-use-uncaught-exceptions,modernize-use-using,performance-*,-performance-avoid-endl,-performance-no-automatic-move,-performance-noexcept-move-constructor,readability-avoid-*,readability-container-*,readability-convert-member-functions-to-static,readability-delete-null-pointer,readability-duplicate-include,readability-else-after-return,readability-function-*,readability-implicit-bool-conversion,readability-inconsistent-declaration-parameter-name,readability-make-member-function-const,readability-misleading-indentation,readability-misplaced-array-index,readability-non-const-parameter,readability-redundant-control-flow,readability-redundant-declaration,readability-redundant-function-ptr-dereference,readability-redundant-member-init,readability-redundant-preprocessor,readability-redundant-smartptr-get,readability-redundant-string-*,readability-simplify-*,readability-static-*,readability-string-compare,readability-suspicious-call-argument,readability-uniqueptr-delete-release,readability-uppercase-literal-suffix,readability-use-anyofallof' |
| 3 |
WarningsAsErrors: '' |
| 4 |
HeaderFilterRegex: '' |
| 5 |
AnalyzeTemporaryDtors: false |
| 6 |
FormatStyle: file |
| 7 |
CheckOptions: |
| 8 |
- key: bugprone-argument-comment.IgnoreSingleArgument |
| 9 |
value: '1' |
| 10 |
- key: bugprone-argument-comment.StrictMode |
| 11 |
value: '1' |
| 12 |
- key: bugprone-assert-side-effect.AssertMacros |
| 13 |
value: assert,NSAssert,NSCAssert,Q_ASSERT,Q_ASSERT_X |
| 14 |
# - key: bugprone-assert-side-effect.IgnoredFunctions |
| 15 |
# value: '' |
| 16 |
# - key: bugprone-assert-side-effect.CheckFunctionCalls |
| 17 |
# value: 'false' |
| 18 |
# - key: bugprone-dangling-handle.HandleClasses |
| 19 |
# value: 'std::basic_string_view;std::experimental::basic_string_view' |
| 20 |
# - key: bugprone-signed-char-misuse.CharTypdefsToIgnore |
| 21 |
# value: '' |
| 22 |
# - key: bugprone-signed-char-misuse.DiagnoseSignedUnsignedCharComparisons |
| 23 |
# value: 'true' |
| 24 |
- key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression |
| 25 |
value: 'true' |
| 26 |
- key: bugprone-string-constructor.LargeLengthThreshold |
| 27 |
value: '8388608' |
| 28 |
- key: bugprone-string-constructor.StringNames |
| 29 |
value: '::std::basic_string;::std::basic_string_view' |
| 30 |
- key: bugprone-string-constructor.WarnOnLargeLength |
| 31 |
value: 'true' |
| 32 |
# - key: bugprone-suspicious-enum-usage.StrictMode |
| 33 |
# value: 'false' |
| 34 |
# - key: bugprone-suspicious-include.HeaderFileExtensions |
| 35 |
# value: ';h;hh;hpp;hxx' |
| 36 |
# - key: bugprone-suspicious-include.ImplementationFileExtensions |
| 37 |
# value: 'c;cc;cpp;cxx' |
| 38 |
# - key: bugprone-suspicious-missing-comma.SizeThreshold |
| 39 |
# value: '5' |
| 40 |
# - key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison |
| 41 |
# value: 'false' |
| 42 |
# - key: bugprone-suspicious-string-compare.StringCompareLikeFunctions |
| 43 |
# value: '' |
| 44 |
# - key: bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit |
| 45 |
# value: '16' |
| 46 |
# - key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField |
| 47 |
# value: 'true' |
| 48 |
# - key: cert-dcl59-cpp.HeaderFileExtensions |
| 49 |
# value: ';h;hh;hpp;hxx' |
| 50 |
# - key: cert-msc32-c.DisallowedSeedTypes |
| 51 |
# value: 'time_t,std::time_t' |
| 52 |
# - key: cert-msc51-cpp.DisallowedSeedTypes |
| 53 |
# value: 'time_t,std::time_t' |
| 54 |
- key: cppcoreguidelines-narrowing-conversions.IgnoreConversionFromTypes |
| 55 |
value: 'size_t;ptrdiff_t;size_type;difference_type' |
| 56 |
# - key: cppcoreguidelines-narrowing-conversions.PedanticMode |
| 57 |
# value: 'false' |
| 58 |
# - key: cppcoreguidelines-narrowing-conversions.WarnOnEquivalentBitWidth |
| 59 |
# value: 'true' |
| 60 |
# - key: cppcoreguidelines-narrowing-conversions.WarnOnIntegerToFloatingPointNarrowingConversion |
| 61 |
# value: 'true' |
| 62 |
- key: cppcoreguidelines-narrowing-conversions.WarnWithinTemplateInstantiation |
| 63 |
value: 'true' |
| 64 |
# - key: cppcoreguidelines-pro-type-member-init.UseAssignment |
| 65 |
# value: 'false' |
| 66 |
# - key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted |
| 67 |
# value: 'false' |
| 68 |
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor |
| 69 |
value: 'true' |
| 70 |
- key: google-readability-namespace-comments.SpacesBeforeComments |
| 71 |
value: '1' |
| 72 |
- key: google-readability-namespace-comments.ShortNamespaceLines |
| 73 |
value: '25' |
| 74 |
- key: google-runtime-int |
| 75 |
value: '_t' |
| 76 |
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic |
| 77 |
value: 'true' |
| 78 |
# - key: misc-non-private-member-variables-in-classes.IgnorePublicMemberVariables |
| 79 |
# value: 'false' |
| 80 |
# - key: modernize-loop-convert.MakeReverseRangeFunction |
| 81 |
# value: '' |
| 82 |
# - key: modernize-loop-convert.MakeReverseRangeHeader |
| 83 |
# value: '' |
| 84 |
# - key: modernize-loop-convert.MaxCopySize |
| 85 |
# value: '16' |
| 86 |
# - key: modernize-loop-convert.NamingStyle |
| 87 |
# value: CamelCase |
| 88 |
# - key: modernize-loop-convert.UseCxx20ReverseRanges |
| 89 |
# value: 'true' |
| 90 |
# - key: modernize-make-shared.IgnoreMacros |
| 91 |
# value: 'true' |
| 92 |
# - key: modernize-make-shared.IgnoreDefaultInitialization |
| 93 |
# value: 'true' |
| 94 |
# - key: modernize-make-unique.IgnoreMacros |
| 95 |
# value: 'true' |
| 96 |
# - key: modernize-make-unique.IgnoreDefaultInitialization |
| 97 |
# value: 'true' |
| 98 |
- key: modernize-use-auto.MinTypeNameLength |
| 99 |
value: '0' |
| 100 |
# - key: modernize-use-auto.RemoveStars |
| 101 |
# value: 'false' |
| 102 |
# - key: modernize-use-bool-literals.IgnoreMacros |
| 103 |
# value: 'true' |
| 104 |
# - key: modernize-use-default-member-init.IgnoreMacros |
| 105 |
# value: 'true' |
| 106 |
- key: modernize-use-default-member-init.UseAssignment |
| 107 |
value: 'true' |
| 108 |
# - key: modernize-use-emplace.SmartPointers |
| 109 |
# value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr' |
| 110 |
- key: modernize-use-emplace.TupleMakeFunctions |
| 111 |
value: '::std::make_pair;::std::make_tuple' |
| 112 |
# - key: modernize-use-emplace.TupleTypes |
| 113 |
# value: '::std::pair;::std::tuple' |
| 114 |
# - key: modernize-use-equals-default.IgnoreMacros |
| 115 |
# value: 'true' |
| 116 |
# - key: modernize-use-equals-delete.IgnoreMacros |
| 117 |
# value: 'true' |
| 118 |
# - key: modernize-use-using.IgnoreMacros |
| 119 |
# value: 'true' |
| 120 |
- key: modernize-raw-string-literal.DelimiterStem |
| 121 |
value: '' |
| 122 |
# - key: modernize-raw-string-literal.ReplaceShorterLiterals |
| 123 |
# value: 'false' |
| 124 |
# - key: performance-faster-string-find.StringLikeClasses |
| 125 |
# value: '::std::basic_string;::std::basic_string_view' |
| 126 |
# - key: performance-for-range-copy.AllowedTypes |
| 127 |
# value: '' |
| 128 |
# - key: performance-for-range-copy.WarnOnAllAutoCopies |
| 129 |
# value: 'false' |
| 130 |
# - key: performance-inefficient-string-concatenation.StrictMode |
| 131 |
# value: 'false' |
| 132 |
- key: performance-inefficient-vector-operation.VectorLikeClasses |
| 133 |
value: '::std::vector,QVector,::std::deque' |
| 134 |
# - key: performance-unnecessary-copy-initialization.AllowedTypes |
| 135 |
# value: '' |
| 136 |
- key: readability-else-after-return.WarnOnConditionVariables |
| 137 |
value: 'true' |
| 138 |
# - key: readability-else-after-return.WarnOnUnfixable |
| 139 |
# value: 'true' |
| 140 |
# - key: readability-function-size.StatementThreshold |
| 141 |
# value: '800' |
| 142 |
# - key: readability-function-cognitive-complexity.DescribeBasicIncrements |
| 143 |
# value: 'true' |
| 144 |
- key: readability-function-cognitive-complexity.IgnoreMacros |
| 145 |
value: 'true' |
| 146 |
# - key: readability-function-cognitive-complexity.Threshold |
| 147 |
# value: '25' |
| 148 |
# - key: readability-implicit-bool-conversion.AllowIntegerConditions |
| 149 |
# value: 'false' |
| 150 |
- key: readability-implicit-bool-conversion.AllowPointerConditions |
| 151 |
value: 'true' |
| 152 |
# - key: readability-inconsistent-declaration-parameter-name.IgnoreMacros |
| 153 |
# value: 'true' |
| 154 |
- key: readability-inconsistent-declaration-parameter-name.Strict |
| 155 |
value: 'true' |
| 156 |
# - key: readability-qualified-auto.AddConstToQualified |
| 157 |
# value: 'true' |
| 158 |
# - key: readability-redundant-declaration.IgnoreMacros |
| 159 |
# value: 'true' |
| 160 |
# - key: readability-redundant-member-init.IgnoreBaseInCopyConstructors |
| 161 |
# value: 'false' |
| 162 |
# - key: readability-redundant-smartptr-get.IgnoreMacros |
| 163 |
# value: 'true' |
| 164 |
- key: readability-simplify-boolean-expr.ChainedConditionalAssignment |
| 165 |
value: 'true' |
| 166 |
- key: readability-simplify-boolean-expr.ChainedConditionalReturn |
| 167 |
value: 'true' |
| 168 |
# - key: readability-uniqueptr-delete-release.PreferResetCall |
| 169 |
# value: 'false' |
| 170 |
# - key: readability-uppercase-literal-suffix.IgnoreMacros |
| 171 |
# value: 'true' |
| 172 |
- key: readability-uppercase-literal-suffix.NewSuffixes |
| 173 |
value: 'f;F' |
| 174 |
... |
| 175 |
|