| 1 |
# Copyright 2020-2025 David Robillard <[email protected]> |
| 2 |
# SPDX-License-Identifier: 0BSD OR ISC |
| 3 |
|
| 4 |
Checks: > |
| 5 |
*, |
| 6 |
-*-macro-to-enum, |
| 7 |
-*-magic-numbers, |
| 8 |
-*-narrowing-conversions, |
| 9 |
-altera-*, |
| 10 |
-boost-*, |
| 11 |
-bugprone-assignment-in-if-condition, |
| 12 |
-bugprone-easily-swappable-parameters, |
| 13 |
-bugprone-invalid-enum-default-initialization, |
| 14 |
-bugprone-multi-level-implicit-pointer-conversion, |
| 15 |
-bugprone-unchecked-string-to-number-conversion, |
| 16 |
-cert-err33-c, |
| 17 |
-cert-err34-c, |
| 18 |
-clang-analyzer-security.ArrayBound, |
| 19 |
-cppcoreguidelines-avoid-non-const-global-variables, |
| 20 |
-google-readability-todo, |
| 21 |
-hicpp-signed-bitwise, |
| 22 |
-llvm-header-guard, |
| 23 |
-llvmlibc-*, |
| 24 |
-misc-include-cleaner, |
| 25 |
-readability-identifier-length, |
| 26 |
-readability-implicit-bool-conversion, |
| 27 |
CheckOptions: |
| 28 |
- key: hicpp-uppercase-literal-suffix.NewSuffixes |
| 29 |
value: 'L;U;UL;ULL' |
| 30 |
- key: readability-function-cognitive-complexity.IgnoreMacros |
| 31 |
value: 'true' |
| 32 |
- key: readability-function-cognitive-complexity.Threshold |
| 33 |
value: '22' |
| 34 |
- key: readability-uppercase-literal-suffix.NewSuffixes |
| 35 |
value: 'L;U;UL;ULL' |
| 36 |
WarningsAsErrors: '*' |
| 37 |
HeaderFilterRegex: '.*' |
| 38 |
FormatStyle: file |