aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorphunkyfish <phunkyfish@gmail.com>2019-10-02 17:02:17 +0100
committerphunkyfish <phunkyfish@gmail.com>2019-10-06 09:10:20 +0100
commitd0dd36c61ed2613af812e1b6b40480c83927442f (patch)
treebb273aa43b96a61b25ba28300ea5fae521294dde /.clang-format
parentd1628d4bf5f0a377186960a273e930831b4953ed (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-format5
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