From 9710b2a5401ed918885cb6ef6a3d9b3a9f6e5db6 Mon Sep 17 00:00:00 2001 From: "K. \\\"pestophagous\\\" Heller" Date: Sat, 17 Oct 2015 17:05:34 -0700 Subject: 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 Signed-off-by: Dirk Hohndel --- .clang-format | 14 +++++++------- 1 file 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" -- cgit v1.2.3-70-g09d2