summaryrefslogtreecommitdiff
path: root/tools/clang-format
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-format')
-rw-r--r--tools/clang-format9
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