11 -# not applicable at all,
12 -bugprone-easily-swappable-parameters,
13 -bugprone-implicit-widening-of-multiplication-result,
14 -bugprone-macro-parentheses,
15 -cppcoreguidelines-avoid-c-arrays,
16 -cppcoreguidelines-avoid-magic-numbers,
17 -cppcoreguidelines-avoid-non-const-global-variables,
18 -cppcoreguidelines-macro-usage,
19 -cppcoreguidelines-non-private-member-variables-in-classes,
20 -cppcoreguidelines-owning-memory,
21 -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
22 -cppcoreguidelines-pro-bounds-constant-array-index,
23 -cppcoreguidelines-pro-bounds-pointer-arithmetic,
24 -cppcoreguidelines-pro-type-const-cast,
25 -cppcoreguidelines-pro-type-reinterpret-cast,
26 -cppcoreguidelines-pro-type-union-access,
27 -cppcoreguidelines-pro-type-vararg,
28 -cppcoreguidelines-special-member-functions,
29 -cppcoreguidelines-virtual-class-destructor,
31 -misc-non-private-member-variables-in-classes,
32 -misc-unused-parameters,
33 -modernize-avoid-c-arrays,
34 -modernize-pass-by-value,
36 -modernize-use-nodiscard,
37 -modernize-use-trailing-return-type,
39 -readability-function-cognitive-complexity,
40 -readability-function-size,
41 -readability-identifier-length,
42 -readability-implicit-bool-conversion,
43 -readability-isolate-declaration,
44 -readability-magic-numbers,
45 -readability-named-parameter,
46 -readability-redundant-access-specifiers,
47 -readability-simplify-boolean-expr,
48 -readability-uppercase-literal-suffix,
49 -# only sometimes useful,
50 -bugprone-narrowing-conversions,
54 -clang-analyzer-core.CallAndMessage,
55 -clang-analyzer-cplusplus.NewDelete,
56 -clang-analyzer-cplusplus.NewDeleteLeaks,
57 -concurrency-mt-unsafe,
58 -cppcoreguidelines-init-variables,
59 -cppcoreguidelines-narrowing-conversions,
60 -cppcoreguidelines-prefer-member-initializer,
61 -cppcoreguidelines-pro-type-static-cast-downcast,
62 -misc-definitions-in-headers,
63 -modernize-concat-nested-namespaces,
64 -modernize-loop-convert,
65 -modernize-raw-string-literal,
66 -modernize-unary-static-assert,
67 -performance-no-automatic-move,
68 -readability-convert-member-functions-to-static,
69 -readability-else-after-return,
70 -readability-redundant-declaration,
75 - { key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors, value: true }
76 - { key: modernize-use-override.IgnoreDestructors, value: true }
77 - { key: performance-for-range-copy.AllowedTypes, value: "QJsonValue" }
78 - { key: performance-for-range-copy.WarnOnAllAutoCopies, value: true }
79 - { key: readability-braces-around-statements.ShortStatementLines, value: 3 }
81 HeaderFilterRegex: ".+/src/.*\\.h"