Fix miscellaneous bugs identified by Claude

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Allen Hill
2026-07-08 13:15:59 -07:00
parent cd11501074
commit 2ed6066609
10 changed files with 133 additions and 135 deletions
+7 -3
View File
@@ -1,17 +1,21 @@
---
Checks: |
-*,
bugprone-*,
cppcoreguidelines-
clang-diagnostic-*,
clang-analyzer-*,
-clang-analyzer-core.NullDereference,
bugprone-*,
misc-*,
modernize-*,
performance-*,
readability-*,
-clang-analyzer-core.NullDereference,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-readability-braces-around-statements,
-modernize-avoid-c-arrays,
-modernize-use-std-print,
-readability-magic-numbers,
WarningsAsErrors: ""
ExcludeHeaderFilterRegex: 'out/build'
HeaderFilterRegex: '^src/.*'
@@ -26,7 +30,7 @@ CheckOptions:
- key: readability-identifier-length.IgnoredVariableNames
value: "(in|to|id)"
- key: readability-identifier-length.IgnoredParameterNames
value: "(in|to)"
value: "(in|to|x)"
- key: bugprone-argument-comment.CommentBoolLiterals
value: "0"
- key: bugprone-argument-comment.CommentCharacterLiterals