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>
This commit is contained in:
K. \"pestophagous\" Heller 2015-10-17 17:05:34 -07:00 committed by Dirk Hohndel
parent df7f8b700b
commit 9710b2a540

View file

@ -1,22 +1,22 @@
AlignEscapedNewlinesLeft: true
AccessModifierOffset: -8 # so public: and private: stays at the left site AccessModifierOffset: -8 # so public: and private: stays at the left site
AlignEscapedNewlinesLeft: true
AllowAllParametersOfDeclarationOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false
BinPackParameters: true BinPackParameters: true
BreakBeforeBinaryOperators: false BreakBeforeBinaryOperators: false
BreakBeforeBraces: Linux BreakBeforeBraces: Linux
BreakBeforeTernaryOperators: false BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false BreakConstructorInitializersBeforeComma: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ColumnLimit: 0 ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ContinuationIndentWidth: 8
# ForEachMacros doesn't work, yet -> ForEachMacros: "Q_FOREACH"
IndentFunctionDeclarationAfterType: false #personal taste, good for long methods IndentFunctionDeclarationAfterType: false #personal taste, good for long methods
IndentWidth: 8 IndentWidth: 8
ContinuationIndentWidth: 8
MaxEmptyLinesToKeep: 2 MaxEmptyLinesToKeep: 2
NamespaceIndentation: All NamespaceIndentation: All
SpaceBeforeAssignmentOperators: true
# doesn't work --> SpaceBeforeParens: ControlStatements
SpacesInParentheses: false
SpacesBeforeTrailingComments: 1
UseTab: Always
PointerBindsToType: false PointerBindsToType: false
# doesn't work, yet -> ForEachMacros: "Q_FOREACH" SpaceBeforeAssignmentOperators: true
# SpaceBeforeParens doesn't work --> SpaceBeforeParens: ControlStatements
SpacesBeforeTrailingComments: 1
SpacesInParentheses: false
UseTab: Always