aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format9
1 files changed, 9 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 390acb9..ff932d0 100644
--- a/.clang-format
+++ b/.clang-format
@@ -13,6 +13,7 @@ ReflowComments: Always
SeparateDefinitionBlocks: Leave
AllowShortFunctionsOnASingleLine: None
+AllowShortLambdasOnASingleLine: Inline
BreakConstructorInitializers: BeforeComma
ConstructorInitializerIndentWidth: 8
@@ -21,6 +22,14 @@ BreakAfterReturnType: Automatic
PenaltyReturnTypeOnItsOwnLine: 0
BreakTemplateDeclarations: Yes
+ForEachMacros:
+ - GIVEN
+ - AND_GIVEN
+ - THEN
+ - AND_THEN
+ - WHEN
+ - AND_WHEN
+
BracedInitializerIndentWidth: 8
BreakBeforeBraces: Custom
BraceWrapping: