mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Enable RemoveSemicolon & update format.sh (#6896)
* Update .clang-format * Add libs that got added in the meantime * Use libcockatrice_*
This commit is contained in:
parent
f8ce5c2e39
commit
989a5be23b
2 changed files with 10 additions and 18 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
|
||||
|
|
|
|||
|
|
@ -14,13 +14,7 @@ cd "${BASH_SOURCE%/*}/" || exit 2 # could not find path, this could happen with
|
|||
|
||||
# defaults
|
||||
include=("cockatrice/src" \
|
||||
"libcockatrice_card" \
|
||||
"libcockatrice_deck_list" \
|
||||
"libcockatrice_network" \
|
||||
"libcockatrice_protocol" \
|
||||
"libcockatrice_rng" \
|
||||
"libcockatrice_settings" \
|
||||
"libcockatrice_utility" \
|
||||
libcockatrice_* \
|
||||
"oracle/src" \
|
||||
"servatrice/src" \
|
||||
"tests")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue