commit | 223193951d3c45670a8a415ac0e87b5ea97e71fb | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Wed Feb 08 11:01:50 2023 +1030 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Feb 14 20:47:03 2023 +0000 |
tree | 28b654282e85a592828d818d500cbd8a404eb6d1 | |
parent | 3851536d249f9d630bdb2f591cf10d96c5b7cd5b [diff] |
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 <andrew@aj.id.au>
diff --git a/style/cpp/.clang-format b/style/cpp/.clang-format index 5f0cb09..82c0e2c 100644 --- a/style/cpp/.clang-format +++ b/style/cpp/.clang-format
@@ -79,6 +79,7 @@ IndentWidth: 4 IndentWrappedFunctionNames: true KeepEmptyLinesAtTheStartOfBlocks: false +LambdaBodyIndentation: OuterScope MacroBlockBegin: '' MacroBlockEnd: '' MaxEmptyLinesToKeep: 1