|
1 | 1 | --- |
2 | 2 | Checks: > |
3 | | - *, |
4 | | - -fuchsia*, |
5 | | - -llvmlibc*, |
6 | | - -zircon*, |
7 | | -
|
8 | | - -bugprone-narrowing-conversions, |
9 | | - -cppcoreguidelines-avoid-magic-numbers, |
10 | | - -cppcoreguidelines-c-copy-assignment-signature, |
11 | | - -cppcoreguidelines-non-private-member-variables-in-classes, |
12 | | - -cppcoreguidelines-pro-bounds-array-to-pointer-decay, |
13 | | - -google-readability-todo, |
14 | | - -hicpp-explicit-conversions, |
15 | | - -hicpp-move-const-arg, |
16 | | - -hicpp-no-array-decay, |
17 | | - -hicpp-uppercase-literal-suffix, |
18 | | - -llvm-header-guard, |
19 | | - -modernize-use-trailing-return-type, |
20 | | - -readability-magic-numbers, |
21 | | - -readability-uppercase-literal-suffix, |
| 3 | + -clang-diagnostic-*, |
| 4 | + bugprone-argument-comment, |
| 5 | + bugprone-assert-side-effect, |
| 6 | + bugprone-bad-signal-to-kill-thread, |
| 7 | + bugprone-bool-pointer-implicit-conversion, |
| 8 | + bugprone-branch-clone, |
| 9 | + bugprone-copy-constructor-init, |
| 10 | + bugprone-dangling-handle, |
| 11 | + bugprone-dynamic-static-initializers, |
| 12 | + bugprone-exception-escape, |
| 13 | + bugprone-fold-init-type, |
| 14 | + bugprone-forward-declaration-namespace, |
| 15 | + bugprone-forwarding-reference-overload, |
| 16 | + bugprone-inaccurate-erase, |
| 17 | + bugprone-incorrect-roundings, |
| 18 | + bugprone-infinite-loop, |
| 19 | + bugprone-integer-division, |
| 20 | + bugprone-lambda-function-name, |
| 21 | + bugprone-macro-parentheses, |
| 22 | + bugprone-macro-repeated-side-effects, |
| 23 | + bugprone-misplaced-operator-in-strlen-in-alloc, |
| 24 | + bugprone-misplaced-pointer-arithmetic-in-alloc, |
| 25 | + bugprone-misplaced-widening-cast, |
| 26 | + bugprone-move-forwarding-reference, |
| 27 | + bugprone-multiple-statement-macro, |
| 28 | + bugprone-no-escape, |
| 29 | + bugprone-not-null-terminated-result, |
| 30 | + bugprone-parent-virtual-call, |
| 31 | + bugprone-posix-return, |
| 32 | + bugprone-redundant-branch-condition, |
| 33 | + bugprone-reserved-identifier, |
| 34 | + bugprone-signal-handler, |
| 35 | + bugprone-signed-char-misuse, |
| 36 | + bugprone-sizeof-container, |
| 37 | + bugprone-sizeof-expression, |
| 38 | + bugprone-spuriously-wake-up-functions, |
| 39 | + bugprone-string-constructor, |
| 40 | + bugprone-string-integer-assignment, |
| 41 | + bugprone-string-literal-with-embedded-nul, |
| 42 | + bugprone-suspicious-enum-usage, |
| 43 | + bugprone-suspicious-include, |
| 44 | + bugprone-suspicious-memset-usage, |
| 45 | + bugprone-suspicious-missing-comma, |
| 46 | + bugprone-suspicious-semicolon, |
| 47 | + bugprone-suspicious-string-compare, |
| 48 | + bugprone-swapped-arguments, |
| 49 | + bugprone-terminating-continue, |
| 50 | + bugprone-throw-keyword-missing, |
| 51 | + bugprone-too-small-loop-variable, |
| 52 | + bugprone-undefined-memory-manipulation, |
| 53 | + bugprone-undelegated-constructor, |
| 54 | + bugprone-unhandled-self-assignment, |
| 55 | + bugprone-unused-raii, |
| 56 | + bugprone-unused-return-value, |
| 57 | + bugprone-use-after-move, |
| 58 | + bugprone-virtual-near-miss, |
| 59 | + clang-analyzer-apiModeling.StdCLibraryFunctions, |
| 60 | + clang-analyzer-apiModeling.TrustNonnull, |
| 61 | + clang-analyzer-apiModeling.google.GTest, |
| 62 | + clang-analyzer-apiModeling.llvm.CastValue, |
| 63 | + clang-analyzer-apiModeling.llvm.ReturnValue, |
| 64 | + clang-analyzer-core.CallAndMessage, |
| 65 | + clang-analyzer-core.CallAndMessageModeling, |
| 66 | + clang-analyzer-core.DivideZero, |
| 67 | + clang-analyzer-core.DynamicTypePropagation, |
| 68 | + clang-analyzer-core.NonNullParamChecker, |
| 69 | + clang-analyzer-core.NonnilStringConstants, |
| 70 | + clang-analyzer-core.NullDereference, |
| 71 | + clang-analyzer-core.StackAddrEscapeBase, |
| 72 | + clang-analyzer-core.StackAddressEscape, |
| 73 | + clang-analyzer-core.UndefinedBinaryOperatorResult, |
| 74 | + clang-analyzer-core.VLASize, |
| 75 | + clang-analyzer-core.builtin.BuiltinFunctions, |
| 76 | + clang-analyzer-core.builtin.NoReturnFunctions, |
| 77 | + clang-analyzer-core.uninitialized.ArraySubscript, |
| 78 | + clang-analyzer-core.uninitialized.Assign, |
| 79 | + clang-analyzer-core.uninitialized.Branch, |
| 80 | + clang-analyzer-core.uninitialized.CapturedBlockVariable, |
| 81 | + clang-analyzer-core.uninitialized.UndefReturn, |
| 82 | + clang-analyzer-cplusplus.InnerPointer, |
| 83 | + clang-analyzer-cplusplus.Move, |
| 84 | + clang-analyzer-cplusplus.NewDelete, |
| 85 | + clang-analyzer-cplusplus.NewDeleteLeaks, |
| 86 | + clang-analyzer-cplusplus.PlacementNew, |
| 87 | + clang-analyzer-cplusplus.PureVirtualCall, |
| 88 | + clang-analyzer-cplusplus.SelfAssignment, |
| 89 | + clang-analyzer-cplusplus.SmartPtrModeling, |
| 90 | + clang-analyzer-cplusplus.VirtualCallModeling, |
| 91 | + clang-analyzer-deadcode.DeadStores, |
| 92 | + clang-analyzer-fuchsia.HandleChecker, |
| 93 | + clang-analyzer-nullability.NullPassedToNonnull, |
| 94 | + clang-analyzer-nullability.NullReturnedFromNonnull, |
| 95 | + clang-analyzer-nullability.NullabilityBase, |
| 96 | + clang-analyzer-nullability.NullableDereferenced, |
| 97 | + clang-analyzer-nullability.NullablePassedToNonnull, |
| 98 | + clang-analyzer-nullability.NullableReturnedFromNonnull, |
| 99 | + clang-analyzer-optin.cplusplus.UninitializedObject, |
| 100 | + clang-analyzer-optin.cplusplus.VirtualCall, |
| 101 | + clang-analyzer-optin.mpi.MPI-Checker, |
| 102 | + clang-analyzer-optin.osx.OSObjectCStyleCast, |
| 103 | + clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker, |
| 104 | + clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker, |
| 105 | + clang-analyzer-optin.performance.GCDAntipattern, |
| 106 | + clang-analyzer-optin.performance.Padding, |
| 107 | + clang-analyzer-optin.portability.UnixAPI, |
| 108 | + clang-analyzer-osx.API, |
| 109 | + clang-analyzer-osx.MIG, |
| 110 | + clang-analyzer-osx.NSOrCFErrorDerefChecker, |
| 111 | + clang-analyzer-osx.NumberObjectConversion, |
| 112 | + clang-analyzer-osx.OSObjectRetainCount, |
| 113 | + clang-analyzer-osx.ObjCProperty, |
| 114 | + clang-analyzer-osx.SecKeychainAPI, |
| 115 | + clang-analyzer-osx.cocoa.AtSync, |
| 116 | + clang-analyzer-osx.cocoa.AutoreleaseWrite, |
| 117 | + clang-analyzer-osx.cocoa.ClassRelease, |
| 118 | + clang-analyzer-osx.cocoa.Dealloc, |
| 119 | + clang-analyzer-osx.cocoa.IncompatibleMethodTypes, |
| 120 | + clang-analyzer-osx.cocoa.Loops, |
| 121 | + clang-analyzer-osx.cocoa.MissingSuperCall, |
| 122 | + clang-analyzer-osx.cocoa.NSAutoreleasePool, |
| 123 | + clang-analyzer-osx.cocoa.NSError, |
| 124 | + clang-analyzer-osx.cocoa.NilArg, |
| 125 | + clang-analyzer-osx.cocoa.NonNilReturnValue, |
| 126 | + clang-analyzer-osx.cocoa.ObjCGenerics, |
| 127 | + clang-analyzer-osx.cocoa.RetainCount, |
| 128 | + clang-analyzer-osx.cocoa.RetainCountBase, |
| 129 | + clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak, |
| 130 | + clang-analyzer-osx.cocoa.SelfInit, |
| 131 | + clang-analyzer-osx.cocoa.SuperDealloc, |
| 132 | + clang-analyzer-osx.cocoa.UnusedIvars, |
| 133 | + clang-analyzer-osx.cocoa.VariadicMethodTypes, |
| 134 | + clang-analyzer-osx.coreFoundation.CFError, |
| 135 | + clang-analyzer-osx.coreFoundation.CFNumber, |
| 136 | + clang-analyzer-osx.coreFoundation.CFRetainRelease, |
| 137 | + clang-analyzer-osx.coreFoundation.containers.OutOfBounds, |
| 138 | + clang-analyzer-osx.coreFoundation.containers.PointerSizedValues, |
| 139 | + clang-analyzer-security.FloatLoopCounter, |
| 140 | + clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, |
| 141 | + clang-analyzer-security.insecureAPI.SecuritySyntaxChecker, |
| 142 | + clang-analyzer-security.insecureAPI.UncheckedReturn, |
| 143 | + clang-analyzer-security.insecureAPI.bcmp, |
| 144 | + clang-analyzer-security.insecureAPI.bcopy, |
| 145 | + clang-analyzer-security.insecureAPI.bzero, |
| 146 | + clang-analyzer-security.insecureAPI.decodeValueOfObjCType, |
| 147 | + clang-analyzer-security.insecureAPI.getpw, |
| 148 | + clang-analyzer-security.insecureAPI.gets, |
| 149 | + clang-analyzer-security.insecureAPI.mkstemp, |
| 150 | + clang-analyzer-security.insecureAPI.mktemp, |
| 151 | + clang-analyzer-security.insecureAPI.rand, |
| 152 | + clang-analyzer-security.insecureAPI.strcpy, |
| 153 | + clang-analyzer-security.insecureAPI.vfork, |
| 154 | + clang-analyzer-unix.API, |
| 155 | + clang-analyzer-unix.DynamicMemoryModeling, |
| 156 | + clang-analyzer-unix.Malloc, |
| 157 | + clang-analyzer-unix.MallocSizeof, |
| 158 | + clang-analyzer-unix.MismatchedDeallocator, |
| 159 | + clang-analyzer-unix.Vfork, |
| 160 | + clang-analyzer-unix.cstring.BadSizeArg, |
| 161 | + clang-analyzer-unix.cstring.CStringModeling, |
| 162 | + clang-analyzer-unix.cstring.NullArg, |
| 163 | + clang-analyzer-valist.CopyToSelf, |
| 164 | + clang-analyzer-valist.Uninitialized, |
| 165 | + clang-analyzer-valist.Unterminated, |
| 166 | + clang-analyzer-valist.ValistBase, |
| 167 | + clang-analyzer-webkit.NoUncountedMemberChecker, |
| 168 | + clang-analyzer-webkit.RefCntblBaseVirtualDtor, |
| 169 | + clang-analyzer-webkit.UncountedLambdaCapturesChecker, |
| 170 | + cppcoreguidelines-avoid-c-arrays, |
| 171 | + cppcoreguidelines-avoid-goto, |
| 172 | + cppcoreguidelines-avoid-non-const-global-variables, |
| 173 | + cppcoreguidelines-explicit-virtual-functions, |
| 174 | + cppcoreguidelines-init-variables, |
| 175 | + cppcoreguidelines-interfaces-global-init, |
| 176 | + cppcoreguidelines-macro-usage, |
| 177 | + cppcoreguidelines-narrowing-conversions, |
| 178 | + cppcoreguidelines-no-malloc, |
| 179 | + cppcoreguidelines-owning-memory, |
| 180 | + cppcoreguidelines-pro-bounds-pointer-arithmetic, |
| 181 | + cppcoreguidelines-pro-type-const-cast, |
| 182 | + cppcoreguidelines-pro-type-cstyle-cast, |
| 183 | + cppcoreguidelines-pro-type-member-init, |
| 184 | + cppcoreguidelines-pro-type-reinterpret-cast, |
| 185 | + cppcoreguidelines-pro-type-static-cast-downcast, |
| 186 | + cppcoreguidelines-slicing, |
| 187 | + cppcoreguidelines-special-member-functions, |
| 188 | + google-build-explicit-make-pair, |
| 189 | + google-build-namespaces, |
| 190 | + google-build-using-namespace, |
| 191 | + google-default-arguments, |
| 192 | + google-explicit-constructor, |
| 193 | + google-global-names-in-headers, |
| 194 | + google-objc-avoid-nsobject-new, |
| 195 | + google-objc-avoid-throwing-exception, |
| 196 | + google-objc-function-naming, |
| 197 | + google-objc-global-variable-declaration, |
| 198 | + google-readability-avoid-underscore-in-googletest-name, |
| 199 | + google-readability-braces-around-statements, |
| 200 | + google-readability-casting, |
| 201 | + google-readability-function-size, |
| 202 | + google-readability-namespace-comments, |
| 203 | + google-runtime-int, |
| 204 | + google-runtime-operator, |
| 205 | + google-upgrade-googletest-case, |
| 206 | + hicpp-avoid-c-arrays, |
| 207 | + hicpp-avoid-goto, |
| 208 | + hicpp-braces-around-statements, |
| 209 | + hicpp-deprecated-headers, |
| 210 | + hicpp-exception-baseclass, |
| 211 | + hicpp-function-size, |
| 212 | + hicpp-invalid-access-moved, |
| 213 | + hicpp-member-init, |
| 214 | + hicpp-multiway-paths-covered, |
| 215 | + hicpp-new-delete-operators, |
| 216 | + hicpp-no-assembler, |
| 217 | + hicpp-no-malloc, |
| 218 | + hicpp-noexcept-move, |
| 219 | + hicpp-special-member-functions, |
| 220 | + hicpp-static-assert, |
| 221 | + hicpp-undelegated-constructor, |
| 222 | + hicpp-use-auto, |
| 223 | + hicpp-use-emplace, |
| 224 | + hicpp-use-equals-default, |
| 225 | + hicpp-use-equals-delete, |
| 226 | + hicpp-use-noexcept, |
| 227 | + hicpp-use-nullptr, |
| 228 | + hicpp-use-override, |
| 229 | + llvm-else-after-return, |
| 230 | + llvm-include-order, |
| 231 | + llvm-namespace-comment, |
| 232 | + llvm-prefer-isa-or-dyn-cast-in-conditionals, |
| 233 | + llvm-prefer-register-over-unsigned, |
| 234 | + llvm-qualified-auto, |
| 235 | + llvm-twine-local, |
| 236 | + misc-definitions-in-headers, |
| 237 | + misc-new-delete-overloads, |
| 238 | + misc-non-copyable-objects, |
| 239 | + misc-redundant-expression, |
| 240 | + misc-static-assert, |
| 241 | + misc-throw-by-value-catch-by-reference, |
| 242 | + misc-unconventional-assign-operator, |
| 243 | + misc-uniqueptr-reset-release, |
| 244 | + misc-unused-alias-decls, |
| 245 | + misc-unused-parameters, |
| 246 | + misc-unused-using-decls, |
| 247 | + modernize-avoid-bind, |
| 248 | + modernize-avoid-c-arrays, |
| 249 | + modernize-concat-nested-namespaces, |
| 250 | + modernize-deprecated-headers, |
| 251 | + modernize-deprecated-ios-base-aliases, |
| 252 | + modernize-loop-convert, |
| 253 | + modernize-make-shared, |
| 254 | + modernize-make-unique, |
| 255 | + modernize-pass-by-value, |
| 256 | + modernize-raw-string-literal, |
| 257 | + modernize-redundant-void-arg, |
| 258 | + modernize-replace-auto-ptr, |
| 259 | + modernize-replace-disallow-copy-and-assign-macro, |
| 260 | + modernize-replace-random-shuffle, |
| 261 | + modernize-return-braced-init-list, |
| 262 | + modernize-shrink-to-fit, |
| 263 | + modernize-unary-static-assert, |
| 264 | + modernize-use-auto, |
| 265 | + modernize-use-bool-literals, |
| 266 | + modernize-use-default-member-init, |
| 267 | + modernize-use-emplace, |
| 268 | + modernize-use-equals-default, |
| 269 | + modernize-use-equals-delete, |
| 270 | + modernize-use-nodiscard, |
| 271 | + modernize-use-noexcept, |
| 272 | + modernize-use-nullptr, |
| 273 | + modernize-use-override, |
| 274 | + modernize-use-transparent-functors, |
| 275 | + modernize-use-uncaught-exceptions, |
| 276 | + modernize-use-using, |
| 277 | + performance-faster-string-find, |
| 278 | + performance-for-range-copy, |
| 279 | + performance-implicit-conversion-in-loop, |
| 280 | + performance-inefficient-algorithm, |
| 281 | + performance-inefficient-string-concatenation, |
| 282 | + performance-inefficient-vector-operation, |
| 283 | + performance-move-const-arg, |
| 284 | + performance-move-constructor-init, |
| 285 | + performance-no-automatic-move, |
| 286 | + performance-no-int-to-ptr, |
| 287 | + performance-noexcept-move-constructor, |
| 288 | + performance-trivially-destructible, |
| 289 | + performance-type-promotion-in-math-fn, |
| 290 | + performance-unnecessary-copy-initialization, |
| 291 | + performance-unnecessary-value-param, |
| 292 | + portability-restrict-system-includes, |
| 293 | + portability-simd-intrinsics, |
| 294 | + readability-avoid-const-params-in-decls, |
| 295 | + readability-braces-around-statements, |
| 296 | + readability-const-return-type, |
| 297 | + readability-container-size-empty, |
| 298 | + readability-convert-member-functions-to-static, |
| 299 | + readability-delete-null-pointer, |
| 300 | + readability-deleted-default, |
| 301 | + readability-else-after-return, |
| 302 | + readability-function-size, |
| 303 | + readability-identifier-naming, |
| 304 | + readability-implicit-bool-conversion, |
| 305 | + readability-inconsistent-declaration-parameter-name, |
| 306 | + readability-isolate-declaration, |
| 307 | + readability-make-member-function-const, |
| 308 | + readability-misleading-indentation, |
| 309 | + readability-misplaced-array-index, |
| 310 | + readability-non-const-parameter, |
| 311 | + readability-qualified-auto, |
| 312 | + readability-redundant-access-specifiers, |
| 313 | + readability-redundant-control-flow, |
| 314 | + readability-redundant-declaration, |
| 315 | + readability-redundant-function-ptr-dereference, |
| 316 | + readability-redundant-member-init, |
| 317 | + readability-redundant-preprocessor, |
| 318 | + readability-redundant-smartptr-get, |
| 319 | + readability-redundant-string-cstr, |
| 320 | + readability-redundant-string-init, |
| 321 | + readability-simplify-boolean-expr, |
| 322 | + readability-simplify-subscript-expr, |
| 323 | + readability-static-accessed-through-instance, |
| 324 | + readability-static-definition-in-anonymous-namespace, |
| 325 | + readability-string-compare, |
| 326 | + readability-uniqueptr-delete-release, |
| 327 | + readability-uppercase-literal-suffix, |
| 328 | + readability-use-anyofallof, |
22 | 329 | FormatStyle: file |
23 | 330 | HeaderFilterRegex: 'inexor/*' |
24 | 331 | CheckOptions: |
@@ -164,16 +471,12 @@ CheckOptions: |
164 | 471 | value: CamelCase |
165 | 472 | - key: modernize-make-shared.IgnoreMacros |
166 | 473 | value: '1' |
167 | | - - key: modernize-make-shared.IncludeStyle |
168 | | - value: '0' |
169 | 474 | - key: modernize-make-shared.MakeSmartPtrFunction |
170 | 475 | value: 'std::make_shared' |
171 | 476 | - key: modernize-make-shared.MakeSmartPtrFunctionHeader |
172 | 477 | value: memory |
173 | 478 | - key: modernize-make-unique.IgnoreMacros |
174 | 479 | value: '1' |
175 | | - - key: modernize-make-unique.IncludeStyle |
176 | | - value: '0' |
177 | 480 | - key: modernize-make-unique.MakeSmartPtrFunction |
178 | 481 | value: 'std::make_unique' |
179 | 482 | - key: modernize-make-unique.MakeSmartPtrFunctionHeader |
@@ -327,5 +630,5 @@ CheckOptions: |
327 | 630 | - key: readability-uppercase-literal-suffix.IgnoreMacros |
328 | 631 | value: '1' |
329 | 632 | - key: readability-uppercase-literal-suffix.NewSuffixes |
330 | | - value: '' |
| 633 | + value: 'f;u;l;ul;ull' |
331 | 634 | ... |
0 commit comments