Clang-format update
This commit is contained in:
parent
b8bf28f597
commit
f45d2a29fc
1 changed files with 3 additions and 1 deletions
|
@ -2,8 +2,9 @@ BasedOnStyle: LLVM
|
||||||
IndentWidth: 4 # Use 4 spaces for indentation
|
IndentWidth: 4 # Use 4 spaces for indentation
|
||||||
TabWidth: 4 # Tab width is also 4 spaces
|
TabWidth: 4 # Tab width is also 4 spaces
|
||||||
UseTab: Never # Always use spaces instead of tabs
|
UseTab: Never # Always use spaces instead of tabs
|
||||||
ColumnLimit: 80 # Wrap lines after 80 characters
|
ColumnLimit: 120 # Wrap lines after 80 characters
|
||||||
AllowShortLoopsOnASingleLine: true
|
AllowShortLoopsOnASingleLine: true
|
||||||
|
AllowShortFunctionsOnASingleLine: false
|
||||||
AlwaysBreakTemplateDeclarations: true
|
AlwaysBreakTemplateDeclarations: true
|
||||||
BreakConstructorInitializers: BeforeComma
|
BreakConstructorInitializers: BeforeComma
|
||||||
AlignConsecutiveDeclarations:
|
AlignConsecutiveDeclarations:
|
||||||
|
@ -14,3 +15,4 @@ AlignConsecutiveDeclarations:
|
||||||
AlignFunctionPointers: false
|
AlignFunctionPointers: false
|
||||||
PadOperators: false
|
PadOperators: false
|
||||||
AlignConsecutiveMacros: true
|
AlignConsecutiveMacros: true
|
||||||
|
AllowShortCaseLabelsOnASingleLine: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue