Nan Zhou | e3d47cd | 2022-09-16 03:41:53 +0000 | [diff] [blame] | 1 | Checks: ' |
| 2 | -*, |
Jayanth Othayoth | 6ad7c35 | 2024-11-24 08:01:18 -0600 | [diff] [blame] | 3 | bugprone-argument-comment, |
| 4 | bugprone-assert-side-effect, |
Jayanth Othayoth | cb1ee9d | 2024-11-24 22:23:33 -0600 | [diff] [blame] | 5 | bugprone-assignment-in-if, |
Jayanth Othayoth | 6ad7c35 | 2024-11-24 08:01:18 -0600 | [diff] [blame] | 6 | bugprone-bad-signal-to-kill-thread, |
| 7 | bugprone-bool-pointer-implicit-conversion, |
| 8 | bugprone-branch-clone, |
| 9 | bugprone-casting-through-void, |
| 10 | bugprone-chained-comparison, |
| 11 | bugprone-compare-pointer-to-member-virtual-function, |
| 12 | bugprone-copy-constructor-init, |
| 13 | bugprone-dangling-handle, |
| 14 | bugprone-dynamic-static-initializers, |
| 15 | bugprone-empty-catch, |
| 16 | bugprone-fold-init-type, |
| 17 | bugprone-forward-declaration-namespace, |
| 18 | bugprone-forwarding-reference-overload, |
Jayanth Othayoth | 8a59ea2 | 2024-11-24 23:14:10 -0600 | [diff] [blame] | 19 | bugprone-implicit-widening-of-multiplication-result, |
Jayanth Othayoth | 6ad7c35 | 2024-11-24 08:01:18 -0600 | [diff] [blame] | 20 | bugprone-inaccurate-erase, |
| 21 | bugprone-inc-dec-in-conditions, |
| 22 | bugprone-incorrect-enable-if, |
| 23 | bugprone-incorrect-roundings, |
| 24 | bugprone-infinite-loop, |
| 25 | bugprone-integer-division, |
| 26 | bugprone-lambda-function-name, |
| 27 | bugprone-macro-parentheses, |
| 28 | bugprone-macro-repeated-side-effects, |
| 29 | bugprone-misplaced-operator-in-strlen-in-alloc, |
| 30 | bugprone-misplaced-pointer-arithmetic-in-alloc, |
| 31 | bugprone-misplaced-widening-cast, |
| 32 | bugprone-move-forwarding-reference, |
| 33 | bugprone-multi-level-implicit-pointer-conversion, |
| 34 | bugprone-multiple-new-in-one-expression, |
| 35 | bugprone-multiple-statement-macro, |
Jayanth Othayoth | 1c1497a | 2024-11-24 22:35:15 -0600 | [diff] [blame] | 36 | bugprone-narrowing-conversions, |
Jayanth Othayoth | 6ad7c35 | 2024-11-24 08:01:18 -0600 | [diff] [blame] | 37 | bugprone-no-escape, |
| 38 | bugprone-non-zero-enum-to-bool-conversion, |
| 39 | bugprone-not-null-terminated-result, |
| 40 | bugprone-optional-value-conversion, |
| 41 | bugprone-parent-virtual-call, |
| 42 | bugprone-posix-return, |
| 43 | bugprone-redundant-branch-condition, |
| 44 | bugprone-reserved-identifier, |
| 45 | bugprone-shared-ptr-array-mismatch, |
| 46 | bugprone-signal-handler, |
| 47 | bugprone-signed-char-misuse, |
| 48 | bugprone-sizeof-container, |
| 49 | bugprone-sizeof-expression, |
| 50 | bugprone-spuriously-wake-up-functions, |
| 51 | bugprone-standalone-empty, |
| 52 | bugprone-string-constructor, |
| 53 | bugprone-string-integer-assignment, |
| 54 | bugprone-string-literal-with-embedded-nul, |
| 55 | bugprone-stringview-nullptr, |
| 56 | bugprone-suspicious-enum-usage, |
| 57 | bugprone-suspicious-include, |
| 58 | bugprone-suspicious-memory-comparison, |
| 59 | bugprone-suspicious-memset-usage, |
| 60 | bugprone-suspicious-missing-comma, |
| 61 | bugprone-suspicious-realloc-usage, |
| 62 | bugprone-suspicious-semicolon, |
| 63 | bugprone-suspicious-string-compare, |
| 64 | bugprone-swapped-arguments, |
| 65 | bugprone-switch-missing-default-case, |
| 66 | bugprone-terminating-continue, |
| 67 | bugprone-throw-keyword-missing, |
| 68 | bugprone-too-small-loop-variable, |
| 69 | bugprone-unchecked-optional-access, |
| 70 | bugprone-undefined-memory-manipulation, |
| 71 | bugprone-undelegated-constructor, |
| 72 | bugprone-unhandled-exception-at-new, |
| 73 | bugprone-unhandled-self-assignment, |
| 74 | bugprone-unique-ptr-array-mismatch, |
| 75 | bugprone-unsafe-functions, |
Jayanth Othayoth | 52b2546 | 2024-11-24 23:18:19 -0600 | [diff] [blame] | 76 | bugprone-unused-local-non-trivial-variable, |
Jayanth Othayoth | 6ad7c35 | 2024-11-24 08:01:18 -0600 | [diff] [blame] | 77 | bugprone-unused-raii, |
| 78 | bugprone-unused-return-value, |
| 79 | bugprone-use-after-move, |
| 80 | bugprone-virtual-near-miss, |
Jayanth Othayoth | 6968f24 | 2024-11-25 01:18:14 -0600 | [diff] [blame] | 81 | cert-con36-c, |
| 82 | cert-con54-cpp, |
| 83 | cert-dcl03-c, |
| 84 | cert-dcl16-c, |
| 85 | cert-dcl21-cpp, |
| 86 | cert-dcl37-c, |
| 87 | cert-dcl50-cpp, |
| 88 | cert-dcl51-cpp, |
| 89 | cert-dcl54-cpp, |
| 90 | cert-dcl58-cpp, |
| 91 | cert-dcl59-cpp, |
Jayanth Othayoth | f44a39c | 2024-11-25 01:46:47 -0600 | [diff] [blame^] | 92 | cert-env33-c, |
Jayanth Othayoth | 6968f24 | 2024-11-25 01:18:14 -0600 | [diff] [blame] | 93 | cert-err09-cpp, |
| 94 | cert-err34-c, |
| 95 | cert-err52-cpp, |
| 96 | cert-err60-cpp, |
| 97 | cert-err61-cpp, |
| 98 | cert-fio38-c, |
| 99 | cert-flp30-c, |
| 100 | cert-mem57-cpp, |
| 101 | cert-msc30-c, |
| 102 | cert-msc32-c, |
| 103 | cert-msc50-cpp, |
| 104 | cert-msc51-cpp, |
| 105 | cert-oop11-cpp, |
| 106 | cert-oop54-cpp, |
| 107 | cert-oop57-cpp, |
| 108 | cert-oop58-cpp, |
| 109 | cert-pos44-c, |
| 110 | cert-pos47-c, |
| 111 | cert-sig30-c, |
| 112 | cert-str34-c, |
Nan Zhou | e3d47cd | 2022-09-16 03:41:53 +0000 | [diff] [blame] | 113 | readability-identifier-naming' |
| 114 | |
| 115 | WarningsAsErrors: '*' |
| 116 | HeaderFilterRegex: '.*' |
| 117 | |
| 118 | CheckOptions: |
| 119 | - { key: readability-identifier-naming.ClassCase, value: CamelCase } |
| 120 | - { key: readability-identifier-naming.VariableCase, value: camelBack } |
| 121 | - { key: readability-identifier-naming.EnumCase, value: CamelCase } |
| 122 | - { key: readability-identifier-naming.EnumConstantCase, value: camelBack } |
| 123 | - { key: readability-identifier-naming.FunctionCase, value: camelBack } |
| 124 | - { key: readability-identifier-naming.ParameterCase, value: camelBack } |
| 125 | - { key: readability-identifier-naming.NamespaceCase, value: lower_case } |
| 126 | - { key: readability-identifier-naming.StructCase, value: CamelCase } |