Improve clang-format style

This commit is contained in:
Ivan Lezhankin 2018-11-09 14:32:55 +03:00
parent 71545ec226
commit aeb0759f22

View File

@ -1,6 +1,6 @@
BasedOnStyle: WebKit BasedOnStyle: WebKit
Language: Cpp Language: Cpp
AlignAfterOpenBracket: false AlignAfterOpenBracket: AlwaysBreak
BreakBeforeBraces: Custom BreakBeforeBraces: Custom
BraceWrapping: BraceWrapping:
AfterClass: true AfterClass: true
@ -25,7 +25,7 @@ Standard: Cpp11
PointerAlignment: Middle PointerAlignment: Middle
MaxEmptyLinesToKeep: 2 MaxEmptyLinesToKeep: 2
KeepEmptyLinesAtTheStartOfBlocks: false KeepEmptyLinesAtTheStartOfBlocks: false
AllowShortFunctionsOnASingleLine: Empty AllowShortFunctionsOnASingleLine: InlineOnly
AlwaysBreakTemplateDeclarations: true AlwaysBreakTemplateDeclarations: true
IndentCaseLabels: true IndentCaseLabels: true
SpaceAfterTemplateKeyword: true SpaceAfterTemplateKeyword: true