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: I2ee8cbc4581d0c3ccdc130b646357c45fa0373db
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/tools/main.cpp b/tools/main.cpp
index 1ce68a4..5bda3a0 100644
--- a/tools/main.cpp
+++ b/tools/main.cpp
@@ -80,8 +80,8 @@
bool checkInterface(const std::string& interface)
{
- auto intf =
- std::find(interfaceList.begin(), interfaceList.end(), interface);
+ auto intf = std::find(interfaceList.begin(), interfaceList.end(),
+ interface);
return (intf != interfaceList.end());
}
@@ -226,8 +226,8 @@
/* Input has already been validated in this case. */
if (interface == IPMIBT)
{
- handler =
- std::make_unique<host_tool::BtDataHandler>(&blob, &progress);
+ handler = std::make_unique<host_tool::BtDataHandler>(&blob,
+ &progress);
}
else if (interface == IPMINET)
{