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:
theohax 2021-10-19 14:23:07 +03:00 committed by GitHub
commit 008d7259e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,10 @@
---
BasedOnStyle: Webkit
Language: Cpp
Language: Cpp
SpaceBeforeParens: Always
SpaceAfterTemplateKeyword: true
Standard: Cpp11
TabWidth: 4
Standard: Cpp11
TabWidth: 4
IndentWidth: 4
PointerAlignment: Middle
UseTab: ForContinuationAndIndentation
@ -15,9 +15,9 @@ AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 0
KeepEmptyLinesAtTheStartOfBlocks: false
IndentCaseLabels: true