mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 21:20:19 +00:00
efaf697e76
The use of ForEachMacros is working as expected when used with clang-format version 3.5.0-10. Also add ConstructorInitializerIndentWidth: 8, which slightly helps with ctor style, but still does not enforce the full subsurface ctor guidelines. Signed-off-by: K. Heller <pestophagous@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
23 lines
915 B
YAML
23 lines
915 B
YAML
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
|
|
ColumnLimit: 0
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 8
|
|
ContinuationIndentWidth: 8
|
|
ForEachMacros: [ 'foreach', 'for_each_dc', 'for_each_dive', 'for_each_line', 'Q_FOREACH', 'BOOST_FOREACH' ]
|
|
IndentFunctionDeclarationAfterType: false #personal taste, good for long methods
|
|
IndentWidth: 8
|
|
MaxEmptyLinesToKeep: 2
|
|
NamespaceIndentation: All
|
|
PointerBindsToType: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
# SpaceBeforeParens doesn't work --> SpaceBeforeParens: ControlStatements
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInParentheses: false
|
|
UseTab: Always
|