User clang-format InsertBraces instead of clang-tidy (#1059)

This commit is contained in:
Christian Semmler 2024-07-04 14:35:49 -07:00 committed by GitHub
parent 09684b3c03
commit 0873b782c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -20,6 +20,7 @@ EmptyLineBeforeAccessModifier: Always
IncludeBlocks: Regroup IncludeBlocks: Regroup
IndentAccessModifiers: false IndentAccessModifiers: false
IndentWidth: 4 IndentWidth: 4
InsertBraces: true
InsertNewlineAtEOF: true InsertNewlineAtEOF: true
PointerAlignment: Left PointerAlignment: Left
QualifierAlignment: Custom QualifierAlignment: Custom

View file

@ -1,6 +1,5 @@
Checks: > Checks: >
-*, -*,
readability-braces-around-statements,
modernize-use-override modernize-use-override
WarningsAsErrors: '-*,readability-braces-around-statements,modernize-use-override' WarningsAsErrors: '-*,modernize-use-override'
HeaderFilterRegex: ".*" HeaderFilterRegex: ".*"