From 4aedf9c3ea03b40a2166bbff4d9561d05c5b6d31 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 13 Aug 2019 01:06:12 +0200 Subject: [PATCH] Tweak .clang-format --- tools/clang-format | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/clang-format b/tools/clang-format index fe6f4d264b..8e31d8ca5f 100644 --- a/tools/clang-format +++ b/tools/clang-format @@ -10,24 +10,29 @@ AllowShortBlocksOnASingleLine: true AllowShortIfStatementsOnASingleLine: false AllowShortCaseLabelsOnASingleLine : false AllowShortLoopsOnASingleLine: false -AlwaysBreakAfterReturnType: AllDefinitions +AlwaysBreakAfterReturnType: TopLevel AlwaysBreakTemplateDeclarations: true BreakBeforeBraces: Linux BreakConstructorInitializersBeforeComma: true -ColumnLimit: 0 +#ColumnLimit: 92 +ColumnLimit: 0 ConstructorInitializerAllOnOneLineOrOnePerLine: false +ConstructorInitializerIndentWidth: 8 IndentCaseLabels: true AccessModifierOffset: -8 +#IndentPPDirectives: AfterHash IndentWidth: 8 KeepEmptyLinesAtTheStartOfBlocks: false PenaltyReturnTypeOnItsOwnLine: 1 MaxEmptyLinesToKeep: 1 +NamespaceIndentation: None ReflowComments: true PointerAlignment: Left SortIncludes: true SpaceAfterCStyleCast: false SpaceBeforeAssignmentOperators: true SpaceBeforeParens: Always +#SpacesInAngles: true SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 1 SpacesInContainerLiterals: true