source: subsurface/.clang-format

Last change on this file was efaf697, checked in by Dirk Hohndel <dirk@…>, 2 years ago

Reenable ForEachMacros? in .clang-format

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@…>
Signed-off-by: Dirk Hohndel <dirk@…>

  • Property mode set to 100644
File size: 915 bytes
1AccessModifierOffset: -8 # so public: and private: stays at the left site
2AlignEscapedNewlinesLeft: true
3AllowAllParametersOfDeclarationOnNextLine: false
4BinPackParameters: true
5BreakBeforeBinaryOperators: false
6BreakBeforeBraces: Linux
7BreakBeforeTernaryOperators: false
8BreakConstructorInitializersBeforeComma: false
9ColumnLimit: 0
10ConstructorInitializerAllOnOneLineOrOnePerLine: true
11ConstructorInitializerIndentWidth: 8
12ContinuationIndentWidth: 8
13ForEachMacros: [ 'foreach', 'for_each_dc', 'for_each_dive', 'for_each_line', 'Q_FOREACH', 'BOOST_FOREACH' ]
14IndentFunctionDeclarationAfterType: false #personal taste, good for long methods
15IndentWidth: 8
16MaxEmptyLinesToKeep: 2
17NamespaceIndentation: All
18PointerBindsToType: false
19SpaceBeforeAssignmentOperators: true
20# SpaceBeforeParens doesn't work --> SpaceBeforeParens: ControlStatements
21SpacesBeforeTrailingComments: 1
22SpacesInParentheses: false
23UseTab: Always
Note: See TracBrowser for help on using the repository browser.