forked from aquasecurity/tracee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
163 lines (163 loc) · 4.86 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
Checks: ',
-*,
abseil-duration-addition,
abseil-duration-comparison,
abseil-duration-conversion-cast,
abseil-duration-division,
abseil-duration-factory-float,
abseil-duration-factory-scale,
abseil-duration-subtraction,
abseil-duration-unnecessary-conversion,
abseil-faster-strsplit-delimiter,
abseil-no-internal-dependencies,
abseil-no-namespace,
abseil-redundant-strcat-calls,
abseil-str-cat-append,
abseil-string-find-startswith,
abseil-string-find-str-contains,
abseil-time-comparison,
abseil-time-subtraction,
abseil-upgrade-duration-conversions,
,
boost-use-to-string,
,
bugprone-argument-comment,
bugprone-assert-side-effect,
bugprone-bad-signal-to-kill-thread,
bugprone-bool-pointer-implicit-conversion,
bugprone-branch-clone,
bugprone-copy-constructor-init,
bugprone-dangling-handle,
bugprone-dynamic-static-initializers,
bugprone-exception-escape,
bugprone-fold-init-type,
bugprone-forward-declaration-namespace,
bugprone-forwarding-reference-overload,
-bugprone-implicit-widening-of-multiplication-result, # TODO: check
bugprone-inaccurate-erase,
bugprone-incorrect-roundings,
bugprone-infinite-loop,
bugprone-integer-division,
bugprone-lambda-function-name,
bugprone-macro-repeated-side-effects,
bugprone-misplaced-operator-in-strlen-in-alloc,
bugprone-misplaced-pointer-arithmetic-in-alloc,
bugprone-misplaced-widening-cast,
bugprone-move-forwarding-reference,
bugprone-multiple-statement-macro,
bugprone-no-escape,
bugprone-not-null-terminated-result,
bugprone-parent-virtual-call,
bugprone-posix-return,
bugprone-redundant-branch-condition,
bugprone-signal-handler,
bugprone-signed-char-misuse,
bugprone-sizeof-container,
bugprone-spuriously-wake-up-functions,
bugprone-string-constructor,
bugprone-string-integer-assignment,
bugprone-string-literal-with-embedded-nul,
bugprone-suspicious-enum-usage,
bugprone-suspicious-include,
bugprone-suspicious-memset-usage,
bugprone-suspicious-missing-comma,
bugprone-suspicious-semicolon,
bugprone-suspicious-string-compare,
bugprone-swapped-arguments,
bugprone-terminating-continue,
bugprone-throw-keyword-missing,
bugprone-too-small-loop-variable,
bugprone-undefined-memory-manipulation,
bugprone-undelegated-constructor,
bugprone-unhandled-exception-at-new,
bugprone-unhandled-self-assignment,
bugprone-unused-raii,
bugprone-unused-return-value,
bugprone-use-after-move,
bugprone-virtual-near-miss,
,
cert-con36-c,
cert-env33-c,
cert-err34-c,
cert-fio38-c,
cert-flp30-c,
cert-msc30-c,
cert-msc32-c,
cert-pos44-c,
cert-pos47-c,
cert-sig30-c,
cert-str34-c,
,
fuchsia-default-arguments-calls,
fuchsia-default-arguments-declarations,
fuchsia-overloaded-operator,
fuchsia-trailing-return,
fuchsia-virtual-inheritance,
,
hicpp-avoid-c-arrays,
hicpp-avoid-goto,
hicpp-deprecated-headers,
hicpp-exception-baseclass,
hicpp-explicit-conversions,
hicpp-function-size,
hicpp-invalid-access-moved,
hicpp-member-init,
hicpp-move-const-arg,
-hicpp-multiway-paths-covered,
hicpp-named-parameter,
hicpp-no-array-decay,
-hicpp-no-assembler,
-hicpp-no-malloc,
hicpp-noexcept-move,
hicpp-static-assert,
hicpp-uppercase-literal-suffix,
hicpp-use-auto,
hicpp-use-emplace,
hicpp-use-equals-default,
hicpp-use-equals-delete,
hicpp-use-noexcept,
hicpp-use-nullptr,
hicpp-use-override,
hicpp-vararg,
,
readability-avoid-const-params-in-decls,
-readability-braces-around-statements,
-readability-const-return-type,
readability-container-size-empty,
readability-convert-member-functions-to-static,
readability-delete-null-pointer,
-readability-else-after-return,
-readability-function-cognitive-complexity,
readability-function-size,
readability-identifier-naming,
readability-implicit-bool-conversion,
readability-inconsistent-declaration-parameter-name,
-readability-isolate-declaration,
-readability-magic-numbers,
readability-make-member-function-const,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-named-parameter,
readability-non-const-parameter,
readability-qualified-auto,
readability-redundant-access-specifiers,
readability-redundant-control-flow,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-member-init,
readability-redundant-preprocessor,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-boolean-expr,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
readability-suspicious-call-argument,
readability-uniqueptr-delete-release,
readability-uppercase-literal-suffix,
readability-use-anyofallof,
,
'
FormatStyle: 'file'