Parameterise Peripheral by its Devices and add CDChanger as one

This commit is contained in:
Allen Hill
2026-06-26 20:10:35 -07:00
parent d98cc8acad
commit 66bbf8639e
21 changed files with 1047 additions and 1022 deletions
+26 -18
View File
@@ -1,10 +1,32 @@
---
Checks: "-*,clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-core.NullDereference,bugprone-*,misc-*,modernize-*,performance-*"
Checks: |
-*,
clang-diagnostic-*,
clang-analyzer-*,
-clang-analyzer-core.NullDereference,
bugprone-*,
misc-*,
modernize-*,
performance-*,
readability-*,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-readability-braces-around-statements,
WarningsAsErrors: ""
HeaderFilterRegex: ""
AnalyzeTemporaryDtors: false
ExcludeHeaderFilterRegex: 'out/build'
HeaderFilterRegex: '^src/.*'
SystemHeaders: false
# AnalyzeTemporaryDtors: false
FormatStyle: none
CheckOptions:
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: "true"
- key: readability-magic-numbers.IgnoredIntegerValues
value: "3;10;0x80;0xc0;0xFF;0x7f;0xf"
- key: readability-identifier-length.IgnoredVariableNames
value: "(in|to|id)"
- key: readability-identifier-length.IgnoredParameterNames
value: "(in|to)"
- key: bugprone-argument-comment.CommentBoolLiterals
value: "0"
- key: bugprone-argument-comment.CommentCharacterLiterals
@@ -31,8 +53,6 @@ CheckOptions:
value: __builtin_expect
- key: bugprone-dangling-handle.HandleClasses
value: "std::basic_string_view;std::experimental::basic_string_view"
- key: bugprone-dynamic-static-initializers.HeaderFileExtensions
value: ";h;hh;hpp;hxx"
- key: bugprone-easily-swappable-parameters.IgnoredParameterNames
value: '"";iterator;Iterator;begin;Begin;end;End;first;First;last;Last;lhs;LHS;rhs;RHS'
- key: bugprone-easily-swappable-parameters.IgnoredParameterTypeSuffixes
@@ -105,10 +125,6 @@ CheckOptions:
value: llvm
- key: bugprone-suspicious-enum-usage.StrictMode
value: "false"
- key: bugprone-suspicious-include.HeaderFileExtensions
value: ";h;hh;hpp;hxx"
- key: bugprone-suspicious-include.ImplementationFileExtensions
value: "c;cc;cpp;cxx"
- key: bugprone-suspicious-missing-comma.MaxConcatenatedTokens
value: "5"
- key: bugprone-suspicious-missing-comma.RatioThreshold
@@ -151,19 +167,13 @@ CheckOptions:
value: "false"
- key: llvm-qualified-auto.AddConstToQualified
value: "false"
- key: misc-definitions-in-headers.HeaderFileExtensions
value: ";h;hh;hpp;hxx"
- key: misc-definitions-in-headers.UseHeaderFileExtension
value: "true"
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: "false"
- key: misc-non-private-member-variables-in-classes.IgnorePublicMemberVariables
value: "false"
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
value: "true"
- key: misc-throw-by-value-catch-by-reference.MaxSize
value: "-1"
- key: misc-throw-by-value-catch-by-reference.WarnOnLargeObjects
- key: misc-throw-by-value-catch-by-reference.WarnOnLargeObject
value: "false"
- key: misc-uniqueptr-reset-release.IncludeStyle
value: llvm
@@ -243,8 +253,6 @@ CheckOptions:
value: "true"
- key: modernize-use-equals-delete.IgnoreMacros
value: "true"
- key: modernize-use-nodiscard.ReplacementString
value: "[[nodiscard]]"
- key: modernize-use-noexcept.ReplacementString
value: ""
- key: modernize-use-noexcept.UseNoexceptFalse