.clang-tidy: enable cppcoreguidelines-avoid-const-or-ref-data-members
[babeltrace.git] / .clang-tidy
1 Checks: '-*,
2 bugprone-argument-comment,
3 bugprone-assert-side-effect,
4 bugprone-assignment-in-if-condition,
5 bugprone-bad-signal-to-kill-thread,
6 bugprone-bool-pointer-implicit-conversion,
7 bugprone-copy-constructor-init,
8 bugprone-dangling-handle,
9 bugprone-exception-escape,
10 bugprone-fold-init-type,
11 bugprone-forward-declaration-namespace,
12 bugprone-forwarding-reference-overload,
13 bugprone-inaccurate-erase,
14 bugprone-incorrect-roundings,
15 bugprone-infinite-loop,
16 bugprone-integer-division,
17 bugprone-macro-parentheses,
18 bugprone-macro-repeated-side-effects,
19 bugprone-misplaced-operator-in-strlen-in-alloc,
20 bugprone-misplaced-pointer-arithmetic-in-alloc,
21 bugprone-move-forwarding-reference,
22 bugprone-multiple-statement-macro,
23 bugprone-not-null-terminated-result,
24 bugprone-parent-virtual-call,
25 bugprone-posix-return,
26 bugprone-shared-ptr-array-mismatch,
27 bugprone-signal-handler,
28 bugprone-signed-char-misuse,
29 bugprone-sizeof-container,
30 bugprone-sizeof-expression,
31 bugprone-standalone-empty,
32 bugprone-string-constructor,
33 bugprone-string-integer-assignment,
34 bugprone-string-literal-with-embedded-nul,
35 bugprone-suspicious-enum-usage,
36 bugprone-suspicious-include,
37 bugprone-suspicious-memory-comparison
38 bugprone-suspicious-memset-usage,
39 bugprone-suspicious-missing-comma,
40 bugprone-suspicious-realloc-usage,
41 bugprone-suspicious-semicolon,
42 bugprone-suspicious-string-compare,
43 bugprone-swapped-arguments,
44 bugprone-terminating-continue,
45 bugprone-throw-keyword-missing,
46 bugprone-too-small-loop-variable,
47 bugprone-unchecked-optional-access
48 bugprone-undefined-memory-manipulation,
49 bugprone-undelegated-constructor,
50 bugprone-unhandled-exception-at-new,
51 bugprone-unhandled-self-assignment,
52 bugprone-unused-raii,
53 bugprone-unused-return-value,
54 bugprone-use-after-move,
55 bugprone-virtual-near-miss,
56 bugprone-unused-raii,
57 bugprone-use-after-move,
58 cppcoreguidelines-avoid-const-or-ref-data-members,
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: BT_ASSERT,BT_ASSERT_DBG
100 - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
101 value: true
102 - key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
103 value: true
This page took 0.03409 seconds and 5 git commands to generate.