clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I61b093f75011417cc9c7acf9605200f4fa429bac
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/fw-update/activation.hpp b/fw-update/activation.hpp
index 3a061b1..50a6dbb 100644
--- a/fw-update/activation.hpp
+++ b/fw-update/activation.hpp
@@ -115,8 +115,8 @@
{
if (!deleteImpl)
{
- deleteImpl =
- std::make_unique<Delete>(bus, objPath, updateManager);
+ deleteImpl = std::make_unique<Delete>(bus, objPath,
+ updateManager);
}
}
diff --git a/fw-update/device_updater.cpp b/fw-update/device_updater.cpp
index 6123365..4009a48 100644
--- a/fw-update/device_updater.cpp
+++ b/fw-update/device_updater.cpp
@@ -204,9 +204,9 @@
uint8_t compResponse = 0;
uint8_t compResponseCode = 0;
- auto rc =
- decode_pass_component_table_resp(response, respMsgLen, &completionCode,
- &compResponse, &compResponseCode);
+ auto rc = decode_pass_component_table_resp(response, respMsgLen,
+ &completionCode, &compResponse,
+ &compResponseCode);
if (rc)
{
// Handle error scenario
@@ -447,8 +447,8 @@
auto responseMsg = reinterpret_cast<pldm_msg*>(response.data());
uint8_t transferResult = 0;
- auto rc =
- decode_transfer_complete_req(request, payloadLength, &transferResult);
+ auto rc = decode_transfer_complete_req(request, payloadLength,
+ &transferResult);
if (rc)
{
error("Decoding TransferComplete request failed, EID={EID}, RC = {RC}",
@@ -693,4 +693,4 @@
} // namespace fw_update
-} // namespace pldm
\ No newline at end of file
+} // namespace pldm
diff --git a/fw-update/device_updater.hpp b/fw-update/device_updater.hpp
index 03ee0c3..dcda263 100644
--- a/fw-update/device_updater.hpp
+++ b/fw-update/device_updater.hpp
@@ -212,4 +212,4 @@
} // namespace fw_update
-} // namespace pldm
\ No newline at end of file
+} // namespace pldm
diff --git a/fw-update/package_parser.cpp b/fw-update/package_parser.cpp
index 7a387ad..ddc82d6 100644
--- a/fw-update/package_parser.cpp
+++ b/fw-update/package_parser.cpp
@@ -322,4 +322,4 @@
} // namespace fw_update
-} // namespace pldm
\ No newline at end of file
+} // namespace pldm
diff --git a/fw-update/test/package_parser_test.cpp b/fw-update/test/package_parser_test.cpp
index b20777e..1720eb8 100644
--- a/fw-update/test/package_parser_test.cpp
+++ b/fw-update/test/package_parser_test.cpp
@@ -177,4 +177,4 @@
EXPECT_EQ(parser->pkgHeaderSize, fwPkgHdr.size());
EXPECT_EQ(parser->pkgVersion, pkgVersion);
EXPECT_THROW(parser->parse(fwPkgHdr, pkgSize), std::exception);
-}
\ No newline at end of file
+}
diff --git a/fw-update/update_manager.cpp b/fw-update/update_manager.cpp
index 412a420..e43d099 100644
--- a/fw-update/update_manager.cpp
+++ b/fw-update/update_manager.cpp
@@ -291,4 +291,4 @@
} // namespace fw_update
-} // namespace pldm
\ No newline at end of file
+} // namespace pldm