1 HeaderFilterRegex: '.*((include/.*-internal)|(src/common.*)|(src/bin.*)|(src/lib.*)|(tests.*))\.(h|hpp)$'
3 bugprone-argument-comment,
4 bugprone-assert-side-effect,
5 bugprone-assignment-in-if-condition,
6 bugprone-bad-signal-to-kill-thread,
7 bugprone-bool-pointer-implicit-conversion,
8 bugprone-copy-constructor-init,
9 bugprone-dangling-handle,
10 bugprone-exception-escape,
11 bugprone-fold-init-type,
12 bugprone-forward-declaration-namespace,
13 bugprone-forwarding-reference-overload,
14 bugprone-inaccurate-erase,
15 bugprone-incorrect-roundings,
16 bugprone-infinite-loop,
17 bugprone-integer-division,
18 bugprone-macro-parentheses,
19 bugprone-macro-repeated-side-effects,
20 bugprone-misplaced-operator-in-strlen-in-alloc,
21 bugprone-misplaced-pointer-arithmetic-in-alloc,
22 bugprone-move-forwarding-reference,
23 bugprone-multiple-statement-macro,
24 bugprone-not-null-terminated-result,
25 bugprone-parent-virtual-call,
26 bugprone-posix-return,
27 bugprone-shared-ptr-array-mismatch,
28 bugprone-signal-handler,
29 bugprone-signed-char-misuse,
30 bugprone-sizeof-container,
31 bugprone-sizeof-expression,
32 bugprone-standalone-empty,
33 bugprone-string-constructor,
34 bugprone-string-integer-assignment,
35 bugprone-string-literal-with-embedded-nul,
36 bugprone-suspicious-enum-usage,
37 bugprone-suspicious-include,
38 bugprone-suspicious-memory-comparison
39 bugprone-suspicious-memset-usage,
40 bugprone-suspicious-missing-comma,
41 bugprone-suspicious-realloc-usage,
42 bugprone-suspicious-semicolon,
43 bugprone-suspicious-string-compare,
44 bugprone-swapped-arguments,
45 bugprone-terminating-continue,
46 bugprone-throw-keyword-missing,
47 bugprone-too-small-loop-variable,
48 bugprone-unchecked-optional-access
49 bugprone-undefined-memory-manipulation,
50 bugprone-undelegated-constructor,
51 bugprone-unhandled-exception-at-new,
52 bugprone-unhandled-self-assignment,
54 bugprone-unused-return-value,
55 bugprone-use-after-move,
56 bugprone-virtual-near-miss,
58 bugprone-use-after-move,
59 google-build-explicit-make-pair,
60 google-explicit-constructor,
62 modernize-concat-nested-namespaces,
63 modernize-loop-convert,
64 modernize-make-shared,
65 modernize-make-unique,
66 modernize-redundant-void-arg,
67 modernize-replace-random-shuffle,
68 modernize-shrink-to-fit,
69 modernize-use-bool-literals,
70 modernize-use-default-member-init,
71 modernize-use-emplace,
72 modernize-use-equals-default,
73 modernize-use-equals-delete,
74 modernize-use-noexcept,
75 modernize-use-nullptr,
76 modernize-use-override,
77 modernize-use-transparent-functors,
80 -performance-no-int-to-ptr,
81 readability-redundant-member-init.
82 readability-simplify-boolean-expr'
85 - key: bugprone-assert-side-effect.AssertMacros
86 value: assert,LTTNG_ASSERT
87 - key: bugprone-signed-char-misuse.CharTypdefsToIgnore