xref: /openbmc/phosphor-debug-collector/.clang-tidy (revision 109e9948e23279e5821572c7806bf5a845b2283b)
14f68fc46SJayanth OthayothChecks: '
24f68fc46SJayanth Othayoth-*,
3508113afSJayanth Othayothbugprone-argument-comment,
4508113afSJayanth Othayothbugprone-assert-side-effect,
5508113afSJayanth Othayothbugprone-assignment-in-if,
6508113afSJayanth Othayothbugprone-bad-signal-to-kill-thread,
7508113afSJayanth Othayothbugprone-bool-pointer-implicit-conversion,
8508113afSJayanth Othayothbugprone-branch-clone,
9508113afSJayanth Othayothbugprone-casting-through-void,
10508113afSJayanth Othayothbugprone-chained-comparison,
11508113afSJayanth Othayothbugprone-compare-pointer-to-member-virtual-function,
12508113afSJayanth Othayothbugprone-copy-constructor-init,
13508113afSJayanth Othayothbugprone-dangling-handle,
14508113afSJayanth Othayothbugprone-dynamic-static-initializers,
15508113afSJayanth Othayothbugprone-fold-init-type,
16*109e9948SJayanth Othayothbugprone-forward-declaration-namespace,
17508113afSJayanth Othayothbugprone-forwarding-reference-overload,
18508113afSJayanth Othayothbugprone-implicit-widening-of-multiplication-result,
19508113afSJayanth Othayothbugprone-inaccurate-erase,
20508113afSJayanth Othayothbugprone-inc-dec-in-conditions,
21508113afSJayanth Othayothbugprone-incorrect-enable-if,
22508113afSJayanth Othayothbugprone-incorrect-roundings,
23508113afSJayanth Othayothbugprone-infinite-loop,
24508113afSJayanth Othayothbugprone-integer-division,
25508113afSJayanth Othayothbugprone-lambda-function-name,
26508113afSJayanth Othayothbugprone-macro-parentheses,
27508113afSJayanth Othayothbugprone-macro-repeated-side-effects,
28508113afSJayanth Othayothbugprone-misplaced-operator-in-strlen-in-alloc,
29508113afSJayanth Othayothbugprone-misplaced-pointer-arithmetic-in-alloc,
30508113afSJayanth Othayothbugprone-misplaced-widening-cast,
31508113afSJayanth Othayothbugprone-move-forwarding-reference,
32508113afSJayanth Othayothbugprone-multi-level-implicit-pointer-conversion,
33508113afSJayanth Othayothbugprone-multiple-new-in-one-expression,
34508113afSJayanth Othayothbugprone-multiple-statement-macro,
35508113afSJayanth Othayothbugprone-no-escape,
36508113afSJayanth Othayothbugprone-non-zero-enum-to-bool-conversion,
37508113afSJayanth Othayothbugprone-not-null-terminated-result,
38508113afSJayanth Othayothbugprone-optional-value-conversion,
39508113afSJayanth Othayothbugprone-parent-virtual-call,
40508113afSJayanth Othayothbugprone-posix-return,
41508113afSJayanth Othayothbugprone-redundant-branch-condition,
42508113afSJayanth Othayothbugprone-reserved-identifier,
43508113afSJayanth Othayothbugprone-shared-ptr-array-mismatch,
44508113afSJayanth Othayothbugprone-signal-handler,
45508113afSJayanth Othayothbugprone-signed-char-misuse,
46508113afSJayanth Othayothbugprone-sizeof-container,
47508113afSJayanth Othayothbugprone-sizeof-expression,
48508113afSJayanth Othayothbugprone-spuriously-wake-up-functions,
49508113afSJayanth Othayothbugprone-standalone-empty,
50508113afSJayanth Othayothbugprone-string-constructor,
51508113afSJayanth Othayothbugprone-string-integer-assignment,
52508113afSJayanth Othayothbugprone-string-literal-with-embedded-nul,
53508113afSJayanth Othayothbugprone-stringview-nullptr,
54508113afSJayanth Othayothbugprone-suspicious-enum-usage,
55508113afSJayanth Othayothbugprone-suspicious-include,
56508113afSJayanth Othayothbugprone-suspicious-memory-comparison,
57508113afSJayanth Othayothbugprone-suspicious-memset-usage,
58508113afSJayanth Othayothbugprone-suspicious-missing-comma,
59508113afSJayanth Othayothbugprone-suspicious-realloc-usage,
60508113afSJayanth Othayothbugprone-suspicious-semicolon,
61508113afSJayanth Othayothbugprone-suspicious-string-compare,
62508113afSJayanth Othayothbugprone-swapped-arguments,
63508113afSJayanth Othayothbugprone-switch-missing-default-case,
64508113afSJayanth Othayothbugprone-terminating-continue,
65508113afSJayanth Othayothbugprone-throw-keyword-missing,
66508113afSJayanth Othayothbugprone-too-small-loop-variable,
67508113afSJayanth Othayothbugprone-undefined-memory-manipulation,
68508113afSJayanth Othayothbugprone-undelegated-constructor,
69508113afSJayanth Othayothbugprone-unhandled-exception-at-new,
70508113afSJayanth Othayothbugprone-unhandled-self-assignment,
71508113afSJayanth Othayothbugprone-unique-ptr-array-mismatch,
72508113afSJayanth Othayothbugprone-unsafe-functions,
73508113afSJayanth Othayothbugprone-unused-local-non-trivial-variable,
74508113afSJayanth Othayothbugprone-unused-raii,
75508113afSJayanth Othayothbugprone-unused-return-value,
76508113afSJayanth Othayothbugprone-use-after-move,
77508113afSJayanth Othayothbugprone-virtual-near-miss,
784f68fc46SJayanth Othayothreadability-identifier-naming'
794f68fc46SJayanth Othayoth
804f68fc46SJayanth OthayothWarningsAsErrors: '*'
814f68fc46SJayanth OthayothHeaderFilterRegex: '.*'
824f68fc46SJayanth Othayoth
834f68fc46SJayanth OthayothCheckOptions:
844f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.ClassCase,          	value: CamelCase  }
854f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.FunctionCase,  	value: camelBack  }
864f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.NamespaceCase, 	value: lower_case }
87