xref: /openbmc/phosphor-debug-collector/.clang-tidy (revision 418d460aac4bdef797fd7aff123ef16dfd78305f)
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,
15316a2277SJayanth Othayothbugprone-empty-catch,
16508113afSJayanth Othayothbugprone-fold-init-type,
17109e9948SJayanth Othayothbugprone-forward-declaration-namespace,
18508113afSJayanth Othayothbugprone-forwarding-reference-overload,
19508113afSJayanth Othayothbugprone-implicit-widening-of-multiplication-result,
20508113afSJayanth Othayothbugprone-inaccurate-erase,
21508113afSJayanth Othayothbugprone-inc-dec-in-conditions,
22508113afSJayanth Othayothbugprone-incorrect-enable-if,
23508113afSJayanth Othayothbugprone-incorrect-roundings,
24508113afSJayanth Othayothbugprone-infinite-loop,
25508113afSJayanth Othayothbugprone-integer-division,
26508113afSJayanth Othayothbugprone-lambda-function-name,
27508113afSJayanth Othayothbugprone-macro-parentheses,
28508113afSJayanth Othayothbugprone-macro-repeated-side-effects,
29508113afSJayanth Othayothbugprone-misplaced-operator-in-strlen-in-alloc,
30508113afSJayanth Othayothbugprone-misplaced-pointer-arithmetic-in-alloc,
31508113afSJayanth Othayothbugprone-misplaced-widening-cast,
32508113afSJayanth Othayothbugprone-move-forwarding-reference,
33508113afSJayanth Othayothbugprone-multi-level-implicit-pointer-conversion,
34508113afSJayanth Othayothbugprone-multiple-new-in-one-expression,
35508113afSJayanth Othayothbugprone-multiple-statement-macro,
3617ba876cSJayanth Othayothbugprone-narrowing-conversions,
37508113afSJayanth Othayothbugprone-no-escape,
38508113afSJayanth Othayothbugprone-non-zero-enum-to-bool-conversion,
39508113afSJayanth Othayothbugprone-not-null-terminated-result,
40508113afSJayanth Othayothbugprone-optional-value-conversion,
41508113afSJayanth Othayothbugprone-parent-virtual-call,
42508113afSJayanth Othayothbugprone-posix-return,
43508113afSJayanth Othayothbugprone-redundant-branch-condition,
44508113afSJayanth Othayothbugprone-reserved-identifier,
45508113afSJayanth Othayothbugprone-shared-ptr-array-mismatch,
46508113afSJayanth Othayothbugprone-signal-handler,
47508113afSJayanth Othayothbugprone-signed-char-misuse,
48508113afSJayanth Othayothbugprone-sizeof-container,
49508113afSJayanth Othayothbugprone-sizeof-expression,
50508113afSJayanth Othayothbugprone-spuriously-wake-up-functions,
51508113afSJayanth Othayothbugprone-standalone-empty,
52508113afSJayanth Othayothbugprone-string-constructor,
53508113afSJayanth Othayothbugprone-string-integer-assignment,
54508113afSJayanth Othayothbugprone-string-literal-with-embedded-nul,
55508113afSJayanth Othayothbugprone-stringview-nullptr,
56508113afSJayanth Othayothbugprone-suspicious-enum-usage,
57508113afSJayanth Othayothbugprone-suspicious-include,
58508113afSJayanth Othayothbugprone-suspicious-memory-comparison,
59508113afSJayanth Othayothbugprone-suspicious-memset-usage,
60508113afSJayanth Othayothbugprone-suspicious-missing-comma,
61508113afSJayanth Othayothbugprone-suspicious-realloc-usage,
62508113afSJayanth Othayothbugprone-suspicious-semicolon,
63508113afSJayanth Othayothbugprone-suspicious-string-compare,
64508113afSJayanth Othayothbugprone-swapped-arguments,
65508113afSJayanth Othayothbugprone-switch-missing-default-case,
66508113afSJayanth Othayothbugprone-terminating-continue,
67508113afSJayanth Othayothbugprone-throw-keyword-missing,
68508113afSJayanth Othayothbugprone-too-small-loop-variable,
69*418d460aSJayanth Othayothbugprone-unchecked-optional-access,
70508113afSJayanth Othayothbugprone-undefined-memory-manipulation,
71508113afSJayanth Othayothbugprone-undelegated-constructor,
72508113afSJayanth Othayothbugprone-unhandled-exception-at-new,
73508113afSJayanth Othayothbugprone-unhandled-self-assignment,
74508113afSJayanth Othayothbugprone-unique-ptr-array-mismatch,
75508113afSJayanth Othayothbugprone-unsafe-functions,
76508113afSJayanth Othayothbugprone-unused-local-non-trivial-variable,
77508113afSJayanth Othayothbugprone-unused-raii,
78508113afSJayanth Othayothbugprone-unused-return-value,
79508113afSJayanth Othayothbugprone-use-after-move,
80508113afSJayanth Othayothbugprone-virtual-near-miss,
814f68fc46SJayanth Othayothreadability-identifier-naming'
824f68fc46SJayanth Othayoth
834f68fc46SJayanth OthayothWarningsAsErrors: '*'
844f68fc46SJayanth OthayothHeaderFilterRegex: '.*'
854f68fc46SJayanth Othayoth
864f68fc46SJayanth OthayothCheckOptions:
874f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.ClassCase,          	value: CamelCase  }
884f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.FunctionCase,  	value: camelBack  }
894f68fc46SJayanth Othayoth  - { key: readability-identifier-naming.NamespaceCase, 	value: lower_case }
90