Update .clang-format

This commit is contained in:
tooomm 2026-05-16 19:23:55 +02:00 committed by GitHub
parent aadee34238
commit 679672cd63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,9 @@ AccessModifierOffset: -4
ColumnLimit: 120
---
Language: Cpp
BreakBeforeBraces: Custom
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: None
BinPackParameters: false
BraceWrapping:
AfterClass: true
AfterControlStatement: false
@ -18,18 +20,14 @@ BraceWrapping:
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
AllowShortFunctionsOnASingleLine: None
BinPackParameters: false
AllowAllParametersOfDeclarationOnNextLine: false
IndentCaseLabels: true
PointerAlignment: Right
SortIncludes: true
BreakBeforeBraces: Custom
IncludeBlocks: Regroup
StatementAttributeLikeMacros: [emit]
# requires clang-format 15
IndentCaseLabels: true
InsertBraces: true
# requires clang-format 16
# RemoveSemicolon: true
PointerAlignment: Right
RemoveSemicolon: true
SortIncludes: true
StatementAttributeLikeMacros: [emit]
---
Language: Proto
AllowShortFunctionsOnASingleLine: None