| 1 |
# Copyright 2020-2026 David Robillard <[email protected]> |
| 2 |
# SPDX-License-Identifier: 0BSD OR MIT |
| 3 |
|
| 4 |
Checks: > |
| 5 |
-*-macro-to-enum, |
| 6 |
-*-non-private-member-variables-in-classes, |
| 7 |
-*-special-member-functions, |
| 8 |
-*-use-auto, |
| 9 |
-*-vararg, |
| 10 |
-bugprone-branch-clone, |
| 11 |
-bugprone-casting-through-void, |
| 12 |
-bugprone-random-generator-seed, |
| 13 |
-bugprone-switch-missing-default-case, |
| 14 |
-cert-err33-c, |
| 15 |
-cert-msc32-c, |
| 16 |
-cert-msc51-cpp, |
| 17 |
-clang-analyzer-optin.cplusplus.VirtualCall, |
| 18 |
-clang-analyzer-security.ArrayBound, |
| 19 |
-clang-analyzer-security.insecureAPI.strcpy, |
| 20 |
-cppcoreguidelines-avoid-non-const-global-variables, |
| 21 |
-cppcoreguidelines-init-variables, |
| 22 |
-cppcoreguidelines-prefer-member-initializer, |
| 23 |
-cppcoreguidelines-pro-bounds-constant-array-index, |
| 24 |
-cppcoreguidelines-pro-type-union-access, |
| 25 |
-google-readability-casting, |
| 26 |
-google-readability-todo, |
| 27 |
-misc-use-anonymous-namespace, |
| 28 |
-modernize-avoid-c-style-cast, |
| 29 |
-modernize-avoid-variadic-functions, |
| 30 |
-performance-type-promotion-in-math-fn, |
| 31 |
-readability-convert-member-functions-to-static, |
| 32 |
-readability-delete-null-pointer, |
| 33 |
-readability-inconsistent-declaration-parameter-name, |
| 34 |
-readability-inconsistent-ifelse-braces, |
| 35 |
-readability-isolate-declaration, |
| 36 |
-readability-math-missing-parentheses, |
| 37 |
-readability-non-const-parameter, |
| 38 |
-readability-redundant-parentheses, |
| 39 |
-readability-use-std-min-max, |
| 40 |
CheckOptions: |
| 41 |
- key: readability-function-cognitive-complexity.Threshold |
| 42 |
value: '123' |
| 43 |
InheritParentConfig: true |