summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-17 14:01:15 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-17 14:01:15 +0100
commit38f13f5ce6e66a6f3c57e2e2bf8e945a57813ff4 (patch)
tree2504f07817f1909908aff8e384d6766cc26ec754 /.clang-format
parent19f2cbb9566eddac697c673eed63c0e946f330a6 (diff)
downloadsink-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.
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
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
4AlignAfterOpenBracket: false 4AlignAfterOpenBracket: false
5AllowAllParametersOfDeclarationOnNextLine: true 5AllowAllParametersOfDeclarationOnNextLine: true
6AllowShortBlocksOnASingleLine: false 6AllowShortBlocksOnASingleLine: false
7AllowShortFunctionsOnASingleLine: Inline 7AllowShortFunctionsOnASingleLine: Empty
8AllowShortIfStatementsOnASingleLine: false 8AllowShortIfStatementsOnASingleLine: false
9AllowShortLoopsOnASingleLine: false 9AllowShortLoopsOnASingleLine: false
10AlwaysBreakAfterDefinitionReturnType: false 10AlwaysBreakAfterDefinitionReturnType: false
11AlwaysBreakBeforeMultilineStrings: false 11AlwaysBreakBeforeMultilineStrings: false
12AlwaysBreakTemplateDeclarations: false 12AlwaysBreakTemplateDeclarations: true
13BinPackArguments: true 13BinPackArguments: true
14BinPackParameters: true 14BinPackParameters: true
15BreakBeforeBinaryOperators: false 15BreakBeforeBinaryOperators: false
@@ -20,7 +20,7 @@ ColumnLimit: 180
20CommentPragmas: '' 20CommentPragmas: ''
21ConstructorInitializerAllOnOneLineOrOnePerLine: true 21ConstructorInitializerAllOnOneLineOrOnePerLine: true
22ConstructorInitializerIndentWidth: 4 22ConstructorInitializerIndentWidth: 4
23ContinuationIndentWidth: 0 23ContinuationIndentWidth: 4
24Cpp11BracedListStyle: false 24Cpp11BracedListStyle: false
25DerivePointerBinding: false 25DerivePointerBinding: false
26ForEachMacros: ['foreach', 'Q_FOREACH', 'QBENCHMARK'] 26ForEachMacros: ['foreach', 'Q_FOREACH', 'QBENCHMARK']