diff options
author | Robin Gareus <robin@gareus.org> | 2019-08-13 01:06:12 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-08-13 01:06:12 +0200 |
commit | 4aedf9c3ea03b40a2166bbff4d9561d05c5b6d31 (patch) | |
tree | 46e11348dd7035ceb4aa684bb44c82bb8bd99ec0 /tools | |
parent | e08ab1e30a5217e67664a5b6ea1bae41675f01fe (diff) |
Tweak .clang-format
Diffstat (limited to 'tools')
-rw-r--r-- | tools/clang-format | 9 |
1 files 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 |