From 38f13f5ce6e66a6f3c57e2e2bf8e945a57813ff4 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 17 Feb 2016 14:01:15 +0100 Subject: .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. --- .clang-format | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index 8f4bf4a..5fd4fce 100644 --- a/.clang-format +++ b/.clang-format @@ -4,12 +4,12 @@ AlignTrailingComments: false AlignAfterOpenBracket: false AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false -AllowShortFunctionsOnASingleLine: Inline +AllowShortFunctionsOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: false AlwaysBreakBeforeMultilineStrings: false -AlwaysBreakTemplateDeclarations: false +AlwaysBreakTemplateDeclarations: true BinPackArguments: true BinPackParameters: true BreakBeforeBinaryOperators: false @@ -20,7 +20,7 @@ ColumnLimit: 180 CommentPragmas: '' ConstructorInitializerAllOnOneLineOrOnePerLine: true ConstructorInitializerIndentWidth: 4 -ContinuationIndentWidth: 0 +ContinuationIndentWidth: 4 Cpp11BracedListStyle: false DerivePointerBinding: false ForEachMacros: ['foreach', 'Q_FOREACH', 'QBENCHMARK'] -- cgit v1.2.3