diff options
author | K. \"pestophagous\" Heller <pestophagous@gmail.com> | 2015-10-17 17:05:35 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-19 07:37:05 -0700 |
commit | efaf697e769bb6108798febd1b4a9db611b61374 (patch) | |
tree | 8f5cda9418b6ff989d5d3c9ffd8fbb9ae78135d2 /.clang-format | |
parent | 9710b2a5401ed918885cb6ef6a3d9b3a9f6e5db6 (diff) | |
download | subsurface-efaf697e769bb6108798febd1b4a9db611b61374.tar.gz |
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@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index c441d9e37..81c427805 100644 --- a/.clang-format +++ b/.clang-format @@ -8,8 +8,9 @@ BreakBeforeTernaryOperators: false BreakConstructorInitializersBeforeComma: false ColumnLimit: 0 ConstructorInitializerAllOnOneLineOrOnePerLine: true +ConstructorInitializerIndentWidth: 8 ContinuationIndentWidth: 8 -# ForEachMacros doesn't work, yet -> ForEachMacros: "Q_FOREACH" +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 |