Skip to content

Commit 2231939

Browse files
amboarwilliamspatrick
authored andcommitted
clang-format: Specify lambda formatting
Do so in accordance with existing community practice: 1. https://github.com/openbmc/bmcweb/blob/5b5574ace856c7f787528ab8f5e5352a90f2a6cb/.clang-format#L84 2. https://github.com/openbmc/dbus-sensors/blob/6747eba5e06ce8f7b407193410aa7d04eb5b833c/.clang-format#L53 Change-Id: Ic89424f510578622c1ac5627e28b0293e4da7e07 Signed-off-by: Andrew Jeffery <[email protected]>
1 parent 3851536 commit 2231939

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

style/cpp/.clang-format

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ IndentRequiresClause: true
7979
IndentWidth: 4
8080
IndentWrappedFunctionNames: true
8181
KeepEmptyLinesAtTheStartOfBlocks: false
82+
LambdaBodyIndentation: OuterScope
8283
MacroBlockBegin: ''
8384
MacroBlockEnd: ''
8485
MaxEmptyLinesToKeep: 1

0 commit comments

Comments
 (0)