diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-17 14:01:15 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-17 14:01:15 +0100 |
commit | 38f13f5ce6e66a6f3c57e2e2bf8e945a57813ff4 (patch) | |
tree | 2504f07817f1909908aff8e384d6766cc26ec754 | |
parent | 19f2cbb9566eddac697c673eed63c0e946f330a6 (diff) | |
download | sink-38f13f5ce6e66a6f3c57e2e2bf8e945a57813ff4.tar.gz sink-38f13f5ce6e66a6f3c57e2e2bf8e945a57813ff4.zip |
.clang-format improvements
I think I could live with that.
There's a bit much indentation on continuations as seen in
maildirresourcetest, lambdas are often on a single line if they are
only oneliners, and initializer lists are not always broken into
multiple lines, but otherwhise we're good I think.
-rw-r--r-- | .clang-format | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.clang-format b/.clang-format index 8f4bf4a..5fd4fce 100644 --- a/.clang-format +++ b/.clang-format | |||
@@ -4,12 +4,12 @@ AlignTrailingComments: false | |||
4 | AlignAfterOpenBracket: false | 4 | AlignAfterOpenBracket: false |
5 | AllowAllParametersOfDeclarationOnNextLine: true | 5 | AllowAllParametersOfDeclarationOnNextLine: true |
6 | AllowShortBlocksOnASingleLine: false | 6 | AllowShortBlocksOnASingleLine: false |
7 | AllowShortFunctionsOnASingleLine: Inline | 7 | AllowShortFunctionsOnASingleLine: Empty |
8 | AllowShortIfStatementsOnASingleLine: false | 8 | AllowShortIfStatementsOnASingleLine: false |
9 | AllowShortLoopsOnASingleLine: false | 9 | AllowShortLoopsOnASingleLine: false |
10 | AlwaysBreakAfterDefinitionReturnType: false | 10 | AlwaysBreakAfterDefinitionReturnType: false |
11 | AlwaysBreakBeforeMultilineStrings: false | 11 | AlwaysBreakBeforeMultilineStrings: false |
12 | AlwaysBreakTemplateDeclarations: false | 12 | AlwaysBreakTemplateDeclarations: true |
13 | BinPackArguments: true | 13 | BinPackArguments: true |
14 | BinPackParameters: true | 14 | BinPackParameters: true |
15 | BreakBeforeBinaryOperators: false | 15 | BreakBeforeBinaryOperators: false |
@@ -20,7 +20,7 @@ ColumnLimit: 180 | |||
20 | CommentPragmas: '' | 20 | CommentPragmas: '' |
21 | ConstructorInitializerAllOnOneLineOrOnePerLine: true | 21 | ConstructorInitializerAllOnOneLineOrOnePerLine: true |
22 | ConstructorInitializerIndentWidth: 4 | 22 | ConstructorInitializerIndentWidth: 4 |
23 | ContinuationIndentWidth: 0 | 23 | ContinuationIndentWidth: 4 |
24 | Cpp11BracedListStyle: false | 24 | Cpp11BracedListStyle: false |
25 | DerivePointerBinding: false | 25 | DerivePointerBinding: false |
26 | ForEachMacros: ['foreach', 'Q_FOREACH', 'QBENCHMARK'] | 26 | ForEachMacros: ['foreach', 'Q_FOREACH', 'QBENCHMARK'] |