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: I0a1783b101aa4e7d4b80fd5e1fc1b2beb86c5caa
diff --git a/main.cpp b/main.cpp
index e903e1c..061c15f 100644
--- a/main.cpp
+++ b/main.cpp
@@ -17,12 +17,13 @@
#include <ipmid/api.h>
-#include <cstdint>
-#include <cstdio>
-#include <functional>
#include <ipmid/api-types.hpp>
#include <ipmid/handler.hpp>
#include <ipmid/iana.hpp>
+
+#include <cstdint>
+#include <cstdio>
+#include <functional>
#include <span>
namespace oem
@@ -52,9 +53,8 @@
oem::google::sysCmd, ::ipmi::Privilege::User,
[](::ipmi::Context::ptr ctx, uint8_t cmd,
const std::vector<uint8_t>& data) {
- return handleSysCommand(&handlerImpl, ctx,
- cmd, data);
- });
+ return handleSysCommand(&handlerImpl, ctx, cmd, data);
+ });
}
} // namespace ipmi