lttng: destroy: ensure a cmd_error_code is returned by the command
[lttng-tools.git] / .clang-tidy
1 HeaderFilterRegex: '.*((include/.*-internal)|(src/common.*)|(src/bin.*)|(src/lib.*)|(tests.*))\.(h|hpp)$'
2 Checks: '-*,
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,
53 bugprone-unused-raii,
54 bugprone-unused-return-value,
55 bugprone-use-after-move,
56 bugprone-virtual-near-miss,
57 bugprone-unused-raii,
58 bugprone-use-after-move,
59 cppcoreguidelines-pro-type-const-cast,
60 cppcoreguidelines-slicing,
61 cppcoreguidelines-special-member-functions,
62 cppcoreguidelines-virtual-class-destructor,
63 google-build-explicit-make-pair,
64 google-explicit-constructor,
65 misc-const-correctness,
66 misc-misleading-identifier,
67 misc-non-copyable-objects,
68 misc-throw-by-value-catch-by-reference,
69 misc-unused-parameters,
70 misc-unused-using-decls,
71 modernize-avoid-bind,
72 modernize-concat-nested-namespaces,
73 modernize-loop-convert,
74 modernize-make-shared,
75 modernize-make-unique,
76 modernize-pass-by-value,
77 modernize-redundant-void-arg,
78 modernize-replace-auto-ptr,
79 modernize-replace-random-shuffle,
80 modernize-replace-auto-ptr,
81 modernize-shrink-to-fit,
82 modernize-use-bool-literals,
83 modernize-use-default-member-init,
84 modernize-use-emplace,
85 modernize-use-equals-default,
86 modernize-use-equals-delete,
87 modernize-use-noexcept,
88 modernize-use-nullptr,
89 modernize-use-override,
90 modernize-use-transparent-functors,
91 modernize-use-using,
92 performance-*,
93 -performance-no-int-to-ptr,
94 readability-redundant-member-init.
95 readability-simplify-boolean-expr'
96 FormatStyle: 'file'
97 CheckOptions:
98 - key: bugprone-assert-side-effect.AssertMacros
99 value: assert,LTTNG_ASSERT
100 - key: bugprone-signed-char-misuse.CharTypdefsToIgnore
101 value: 'int8_t'
This page took 0.035441 seconds and 4 git commands to generate.