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