mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
Update .clang-format
This commit is contained in:
parent
aadee34238
commit
679672cd63
1 changed files with 9 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue