Formatting rules update -- indentation rules improvements (#3506)
* Update clang-format rules * Remove superfluous clang-format rule * Adjust formatting rules: make continuation indentation 0
This commit is contained in:
parent
7b5e4d75f8
commit
008d7259e4
1 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
---
|
---
|
||||||
BasedOnStyle: Webkit
|
BasedOnStyle: Webkit
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
SpaceBeforeParens: Always
|
SpaceBeforeParens: Always
|
||||||
SpaceAfterTemplateKeyword: true
|
SpaceAfterTemplateKeyword: true
|
||||||
Standard: Cpp11
|
Standard: Cpp11
|
||||||
TabWidth: 4
|
TabWidth: 4
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
PointerAlignment: Middle
|
PointerAlignment: Middle
|
||||||
UseTab: ForContinuationAndIndentation
|
UseTab: ForContinuationAndIndentation
|
||||||
|
|
@ -15,9 +15,9 @@ AllowShortCaseLabelsOnASingleLine: false
|
||||||
AllowShortFunctionsOnASingleLine: false
|
AllowShortFunctionsOnASingleLine: false
|
||||||
AllowShortLambdasOnASingleLine: All
|
AllowShortLambdasOnASingleLine: All
|
||||||
AllowShortLoopsOnASingleLine: false
|
AllowShortLoopsOnASingleLine: false
|
||||||
BreakConstructorInitializersBeforeComma: true
|
|
||||||
BreakConstructorInitializers: AfterColon
|
BreakConstructorInitializers: AfterColon
|
||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||||
|
ConstructorInitializerIndentWidth: 4
|
||||||
ContinuationIndentWidth: 0
|
ContinuationIndentWidth: 0
|
||||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||||
IndentCaseLabels: true
|
IndentCaseLabels: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue