diff options
author | phunkyfish <phunkyfish@gmail.com> | 2019-10-02 17:02:17 +0100 |
---|---|---|
committer | phunkyfish <phunkyfish@gmail.com> | 2019-10-06 09:10:20 +0100 |
commit | d0dd36c61ed2613af812e1b6b40480c83927442f (patch) | |
tree | bb273aa43b96a61b25ba28300ea5fae521294dde /.clang-format | |
parent | d1628d4bf5f0a377186960a273e930831b4953ed (diff) |
[clang-format] change constructor init list to colon on newline, break after comma for longer lines
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format index c0ec891d43..02f730e6d6 100644 --- a/.clang-format +++ b/.clang-format @@ -22,12 +22,13 @@ BinPackParameters: false BreakBeforeBinaryOperators: None BreakBeforeBraces: Allman BreakBeforeTernaryOperators: true -BreakConstructorInitializersBeforeComma: true +BreakConstructorInitializersBeforeComma: false +BreakConstructorInitializers: BeforeColon BreakAfterJavaFieldAnnotations: false BreakStringLiterals: true ColumnLimit: 100 CommentPragmas: '^ IWYU pragma:' -ConstructorInitializerAllOnOneLineOrOnePerLine: false +ConstructorInitializerAllOnOneLineOrOnePerLine: true ConstructorInitializerIndentWidth: 2 ContinuationIndentWidth: 4 Cpp11BracedListStyle: true |