Clang format: enable brace wrapping for structs

[ci skip]
This commit is contained in:
Charles Dang 2017-04-23 13:55:17 +11:00
parent dc0003fd91
commit 21512d44ee

View file

@ -9,7 +9,21 @@ AllowShortFunctionsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: true
BreakBeforeBraces: Linux
# Same as 'Linux', but includes structs
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
BinPackParameters: false