| 1 |
# Copyright 2020-2025 David Robillard <[email protected]> |
| 2 |
# SPDX-License-Identifier: 0BSD OR ISC |
| 3 |
|
| 4 |
Checks: > |
| 5 |
-*-else-after-return, |
| 6 |
-*-macro-to-enum, |
| 7 |
-*-magic-numbers, |
| 8 |
-android-cloexec-fopen, |
| 9 |
-bugprone-assignment-in-if-condition, |
| 10 |
-bugprone-easily-swappable-parameters, |
| 11 |
-bugprone-multi-level-implicit-pointer-conversion, |
| 12 |
-bugprone-switch-missing-default-case, |
| 13 |
-cert-dcl37-c, |
| 14 |
-cert-dcl51-cpp, |
| 15 |
-cert-err33-c, |
| 16 |
-cert-err34-c, |
| 17 |
-clang-analyzer-optin.core.EnumCastOutOfRange, |
| 18 |
-clang-analyzer-unix.Malloc, |
| 19 |
-cppcoreguidelines-avoid-non-const-global-variables, |
| 20 |
-google-readability-todo, |
| 21 |
-hicpp-multiway-paths-covered, |
| 22 |
-hicpp-signed-bitwise, |
| 23 |
-misc-include-cleaner, |
| 24 |
-misc-no-recursion, |
| 25 |
-readability-avoid-nested-conditional-operator, |
| 26 |
-readability-identifier-length, |
| 27 |
CheckOptions: |
| 28 |
- key: readability-function-cognitive-complexity.Threshold |
| 29 |
value: '45' |
| 30 |
InheritParentConfig: true |