aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format14
1 files changed, 7 insertions, 7 deletions
diff --git a/.clang-format b/.clang-format
index 092136768..c441d9e37 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,22 +1,22 @@
-AlignEscapedNewlinesLeft: true
AccessModifierOffset: -8 # so public: and private: stays at the left site
+AlignEscapedNewlinesLeft: true
AllowAllParametersOfDeclarationOnNextLine: false
BinPackParameters: true
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Linux
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false
-ConstructorInitializerAllOnOneLineOrOnePerLine: true
ColumnLimit: 0
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+ContinuationIndentWidth: 8
+# ForEachMacros doesn't work, yet -> ForEachMacros: "Q_FOREACH"
IndentFunctionDeclarationAfterType: false #personal taste, good for long methods
IndentWidth: 8
-ContinuationIndentWidth: 8
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
+PointerBindsToType: false
SpaceBeforeAssignmentOperators: true
-# doesn't work --> SpaceBeforeParens: ControlStatements
-SpacesInParentheses: false
+# SpaceBeforeParens doesn't work --> SpaceBeforeParens: ControlStatements
SpacesBeforeTrailingComments: 1
+SpacesInParentheses: false
UseTab: Always
-PointerBindsToType: false
-# doesn't work, yet -> ForEachMacros: "Q_FOREACH"