commit | 0c9a33d66f74a76c1842990f41da678f79fa0c05 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 13 18:05:09 2021 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 13 18:08:06 2021 +0000 |
tree | 4af4feecb0d975fb6722019522db4122a0078cbc | |
parent | 1fd0b145874a089e2ccd11f3960342059eeb7012 [diff] [blame] |
clang updates The openbmc CI was recently updated to clang-12 which requires some formatting updates to the code: https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be0482426908bb5497fad08 Make those updates and refresh the clang-format file with the one from docs: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Change-Id: Ieb3626526373a053ec84431e7560003f229f338d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/.clang-format b/.clang-format index 7192e55..cab3139 100644 --- a/.clang-format +++ b/.clang-format
@@ -33,15 +33,15 @@ BeforeCatch: true BeforeElse: true IndentBraces: false - SplitEmptyFunction: true - SplitEmptyRecord: true - SplitEmptyNamespace: true + SplitEmptyFunction: false + SplitEmptyRecord: false + SplitEmptyNamespace: false BreakBeforeBinaryOperators: None BreakBeforeBraces: Custom BreakBeforeTernaryOperators: true BreakConstructorInitializers: AfterColon BreakInheritanceList: AfterColon -BreakStringLiterals: true +BreakStringLiterals: false ColumnLimit: 80 CommentPragmas: '^ IWYU pragma:' CompactNamespaces: false @@ -112,3 +112,4 @@ TabWidth: 4 UseTab: Never ... +