mirror of
https://github.com/depp/syncfiles.git
synced 2024-05-28 23:41:27 +00:00
Adjust clang-format settings
The main intent is to not allow enums to get condensed to a single line, but this has the side effect of making clang-format stop attaching braces to the start of the enum. I felt it made sense to use a different brace style everywhere rather than live with just enums with braces on a separate line.
This commit is contained in:
parent
6ec3549cd7
commit
43cb03c572
|
@ -4,6 +4,7 @@ AccessModifierOffset: -4
|
||||||
AllowShortFunctionsOnASingleLine: Inline
|
AllowShortFunctionsOnASingleLine: Inline
|
||||||
AllowShortIfStatementsOnASingleLine: false
|
AllowShortIfStatementsOnASingleLine: false
|
||||||
AllowShortLoopsOnASingleLine: false
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
AllowShortEnumsOnASingleLine: false
|
||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
IncludeBlocks: Preserve
|
IncludeBlocks: Preserve
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
|
@ -20,3 +21,4 @@ SpacesBeforeTrailingComments: 1
|
||||||
Standard: Cpp11
|
Standard: Cpp11
|
||||||
TabWidth: 4
|
TabWidth: 4
|
||||||
UseTab: AlignWithSpaces
|
UseTab: AlignWithSpaces
|
||||||
|
BreakBeforeBraces: Linux
|
||||||
|
|
Loading…
Reference in New Issue
Block a user