clang-format: re-format for clang-19
clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have been deprecated, so adjust the style file
accordingly.
See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style.
See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.
Change-Id: I01fcad7867561151b7543e86204d9e875205f9fb
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/fru_device.cpp b/src/fru_device.cpp
index f2452f5..403f6eb 100644
--- a/src/fru_device.cpp
+++ b/src/fru_device.cpp
@@ -247,8 +247,7 @@
constexpr size_t smbusWriteThenReadMsgCount = 2;
std::array<struct i2c_msg, smbusWriteThenReadMsgCount> msgs{};
- struct i2c_rdwr_ioctl_data rdwr
- {};
+ struct i2c_rdwr_ioctl_data rdwr{};
msgs[0].addr = address;
msgs[0].flags = 0;
@@ -1151,8 +1150,7 @@
return false;
}
- struct FruArea fruAreaParams
- {};
+ struct FruArea fruAreaParams{};
if (!findFruAreaLocationAndField(fruData, propertyName, fruAreaParams))
{