fix: build under gcc

This commit is contained in:
2024-03-15 00:53:14 +00:00
parent 5634d1bb39
commit 1e39cc3431
7 changed files with 18 additions and 13 deletions
+6 -3
View File
@@ -1,10 +1,14 @@
---
Checks: '*,-modernize-use-nodiscard'
Checks: '*,-modernize-use-nodiscard,-llvmlibc-*,-fuchsia-trailing-return,-fuchsia*,-altera-*'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: file
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: '1'
- key: hicpp-braces-around-statements.ShortStatementLines
value: '1'
- key: bugprone-use-after-move
value: '1'
- key: bugprone-assert-side-effect.AssertMacros
@@ -40,5 +44,4 @@ CheckOptions:
- key: hicpp-special-member-functions.AllowMissingMoveFunctions
value: '0'
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
value: '0'
...
value: '0'