aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorGravatar K. \"pestophagous\" Heller <pestophagous@gmail.com>2015-10-17 17:05:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-19 07:36:43 -0700
commit9710b2a5401ed918885cb6ef6a3d9b3a9f6e5db6 (patch)
treef9d60d67b28d8a1512ac793679cc3d1e079dcb38 /.clang-format
parentdf7f8b700b9595bfebbf5032ff857a41753e1c1c (diff)
downloadsubsurface-9710b2a5401ed918885cb6ef6a3d9b3a9f6e5db6.tar.gz
Sort the entries in .clang-format alphabetically.
No changes were made to the values of the entries. Sorting makes it easier for a clang-format n00b to compare each setting to its documentation on the http://clang.llvm.org/docs/ClangFormatStyleOptions.html web page. Signed-off-by: K. Heller <pestophagous@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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"