| 1 |
Checks: > |
| 2 |
bugprone-copy-constructor-init, |
| 3 |
bugprone-dangling-handle, |
| 4 |
bugprone-infinite-loop, |
| 5 |
bugprone-stringview-nullptr, |
| 6 |
bugprone-use-after-move, |
| 7 |
|
| 8 |
llvm-include-order, |
| 9 |
llvm-namespace-comment, |
| 10 |
|
| 11 |
misc-definitions-in-headers, |
| 12 |
misc-misplaced-const, |
| 13 |
misc-non-copyable-objects, |
| 14 |
misc-uniqueptr-reset-release, |
| 15 |
|
| 16 |
modernize-loop-convert, |
| 17 |
modernize-redundant-void-arg, |
| 18 |
modernize-use-override, |
| 19 |
|
| 20 |
readability-duplicate-include, |
| 21 |
readability-identifier-naming, |
| 22 |
readability-function-cognitive-complexity, |
| 23 |
readability-function-size, |
| 24 |
readability-misplaced-array-index, |
| 25 |
readability-redundant-control-flow, |
| 26 |
readability-redundant-function-ptr-dereference, |
| 27 |
readability-redundant-preprocessor, |
| 28 |
readability-simplify-boolean-expr, |
| 29 |
readability-simplify-subscript-expr, |
| 30 |
readability-uniqueptr-delete-release, |
| 31 |
|
| 32 |
CheckOptions: |
| 33 |
- key: readability-function-cognitive-complexity.Threshold |
| 34 |
value: 143 # TODO: bring that number down |
| 35 |
- key: readability-function-size.LineThreshold |
| 36 |
value: 194 # TODO: bring that number down |
| 37 |
- key: readability-identifier-naming.GetConfigPerFile |
| 38 |
value: false |
| 39 |
- key: readability-identifier-naming.ParameterCase |
| 40 |
value: lower_case |
| 41 |
- key: readability-identifier-naming.ParameterPrefix |
| 42 |
value: __ |
| 43 |
- key: readability-identifier-naming.PrivateMemberCase |
| 44 |
value: lower_case |
| 45 |
- key: readability-identifier-naming.PrivateMemberPrefix |
| 46 |
value: __ |
| 47 |
- key: readability-identifier-naming.PrivateMemberSuffix |
| 48 |
value: _ |
| 49 |
|
| 50 |
# TODO: investigate these checks |
| 51 |
# bugprone-branch-clone, |
| 52 |
# bugprone-macro-parentheses, |
| 53 |
# cppcoreguidelines-prefer-member-initializer, |
| 54 |
# misc-unused-parameters, |
| 55 |
# modernize-use-bool-literals, |
| 56 |
# modernize-use-default-member-init, |
| 57 |
# modernize-use-equals-default, |
| 58 |
# modernize-use-equals-delete, |
| 59 |
# modernize-use-nullptr, |
| 60 |
# portability-restrict-system-includes, |
| 61 |
# readability-function-cognitive-complexity, |
| 62 |
# readability-implicit-bool-conversion, |
| 63 |
# readability-isolate-declaration, |
| 64 |
# readability-redundant-access-specifiers, |
| 65 |
# readability-redundant-declaration, |
| 66 |
# readability-redundant-member-init, |
| 67 |
# |