xref: /openbmc/phosphor-debug-collector/.clang-tidy (revision 508113afe1a6585e8bb05ce8925531383a68e9d5)
14f68fc46SJayanth OthayothChecks: '
24f68fc46SJayanth Othayoth-*,
3*508113afSJayanth Othayothbugprone-argument-comment,
4*508113afSJayanth Othayothbugprone-assert-side-effect,
5*508113afSJayanth Othayothbugprone-assignment-in-if,
6*508113afSJayanth Othayothbugprone-bad-signal-to-kill-thread,
7*508113afSJayanth Othayothbugprone-bool-pointer-implicit-conversion,
8*508113afSJayanth Othayothbugprone-branch-clone,
9*508113afSJayanth Othayothbugprone-casting-through-void,
10*508113afSJayanth Othayothbugprone-chained-comparison,
11*508113afSJayanth Othayothbugprone-compare-pointer-to-member-virtual-function,
12*508113afSJayanth Othayothbugprone-copy-constructor-init,
13*508113afSJayanth Othayothbugprone-dangling-handle,
14*508113afSJayanth Othayothbugprone-dynamic-static-initializers,
15*508113afSJayanth Othayothbugprone-fold-init-type,
16*508113afSJayanth Othayothbugprone-forwarding-reference-overload,
17*508113afSJayanth Othayothbugprone-implicit-widening-of-multiplication-result,
18*508113afSJayanth Othayothbugprone-inaccurate-erase,
19*508113afSJayanth Othayothbugprone-inc-dec-in-conditions,
20*508113afSJayanth Othayothbugprone-incorrect-enable-if,
21*508113afSJayanth Othayothbugprone-incorrect-roundings,
22*508113afSJayanth Othayothbugprone-infinite-loop,
23*508113afSJayanth Othayothbugprone-integer-division,
24*508113afSJayanth Othayothbugprone-lambda-function-name,
25*508113afSJayanth Othayothbugprone-macro-parentheses,
26*508113afSJayanth Othayothbugprone-macro-repeated-side-effects,
27*508113afSJayanth Othayothbugprone-misplaced-operator-in-strlen-in-alloc,
28*508113afSJayanth Othayothbugprone-misplaced-pointer-arithmetic-in-alloc,
29*508113afSJayanth Othayothbugprone-misplaced-widening-cast,
30*508113afSJayanth Othayothbugprone-move-forwarding-reference,
31*508113afSJayanth Othayothbugprone-multi-level-implicit-pointer-conversion,
32*508113afSJayanth Othayothbugprone-multiple-new-in-one-expression,
33*508113afSJayanth Othayothbugprone-multiple-statement-macro,
34*508113afSJayanth Othayothbugprone-no-escape,
35*508113afSJayanth Othayothbugprone-non-zero-enum-to-bool-conversion,
36*508113afSJayanth Othayothbugprone-not-null-terminated-result,
37*508113afSJayanth Othayothbugprone-optional-value-conversion,
38*508113afSJayanth Othayothbugprone-parent-virtual-call,
39*508113afSJayanth Othayothbugprone-posix-return,
40*508113afSJayanth Othayothbugprone-redundant-branch-condition,
41*508113afSJayanth Othayothbugprone-reserved-identifier,
42*508113afSJayanth Othayothbugprone-shared-ptr-array-mismatch,
43*508113afSJayanth Othayothbugprone-signal-handler,
44*508113afSJayanth Othayothbugprone-signed-char-misuse,
45*508113afSJayanth Othayothbugprone-sizeof-container,
46*508113afSJayanth Othayothbugprone-sizeof-expression,
47*508113afSJayanth Othayothbugprone-spuriously-wake-up-functions,
48*508113afSJayanth Othayothbugprone-standalone-empty,
49*508113afSJayanth Othayothbugprone-string-constructor,
50*508113afSJayanth Othayothbugprone-string-integer-assignment,
51*508113afSJayanth Othayothbugprone-string-literal-with-embedded-nul,
52*508113afSJayanth Othayothbugprone-stringview-nullptr,
53*508113afSJayanth Othayothbugprone-suspicious-enum-usage,
54*508113afSJayanth Othayothbugprone-suspicious-include,
55*508113afSJayanth Othayothbugprone-suspicious-memory-comparison,
56*508113afSJayanth Othayothbugprone-suspicious-memset-usage,
57*508113afSJayanth Othayothbugprone-suspicious-missing-comma,
58*508113afSJayanth Othayothbugprone-suspicious-realloc-usage,
59*508113afSJayanth Othayothbugprone-suspicious-semicolon,
60*508113afSJayanth Othayothbugprone-suspicious-string-compare,
61*508113afSJayanth Othayothbugprone-swapped-arguments,
62*508113afSJayanth Othayothbugprone-switch-missing-default-case,
63*508113afSJayanth Othayothbugprone-terminating-continue,
64*508113afSJayanth Othayothbugprone-throw-keyword-missing,
65*508113afSJayanth Othayothbugprone-too-small-loop-variable,
66*508113afSJayanth Othayothbugprone-undefined-memory-manipulation,
67*508113afSJayanth Othayothbugprone-undelegated-constructor,
68*508113afSJayanth Othayothbugprone-unhandled-exception-at-new,
69*508113afSJayanth Othayothbugprone-unhandled-self-assignment,
70*508113afSJayanth Othayothbugprone-unique-ptr-array-mismatch,
71*508113afSJayanth Othayothbugprone-unsafe-functions,
72*508113afSJayanth Othayothbugprone-unused-local-non-trivial-variable,
73*508113afSJayanth Othayothbugprone-unused-raii,
74*508113afSJayanth Othayothbugprone-unused-return-value,
75*508113afSJayanth Othayothbugprone-use-after-move,
76*508113afSJayanth Othayothbugprone-virtual-near-miss,
774f68fc46SJayanth Othayothreadability-identifier-naming'
784f68fc46SJayanth Othayoth
794f68fc46SJayanth OthayothWarningsAsErrors: '*'
804f68fc46SJayanth OthayothHeaderFilterRegex: '.*'
814f68fc46SJayanth Othayoth
824f68fc46SJayanth OthayothCheckOptions:
834f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.ClassCase,          	value: CamelCase  }
844f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.FunctionCase,  	value: camelBack  }
854f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.NamespaceCase, 	value: lower_case }
86