Update clang-format
refer: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format
Tested: built openpower-occ-control successfully.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I136870023229ff906d471dd4d8debfd404812ff1
diff --git a/occ_pass_through.cpp b/occ_pass_through.cpp
index a53cba4..db133b1 100644
--- a/occ_pass_through.cpp
+++ b/occ_pass_through.cpp
@@ -9,11 +9,12 @@
#include <fmt/core.h>
#include <unistd.h>
-#include <algorithm>
-#include <memory>
#include <org/open_power/OCC/Device/error.hpp>
#include <phosphor-logging/elog.hpp>
#include <phosphor-logging/log.hpp>
+
+#include <algorithm>
+#include <memory>
#include <string>
namespace open_power
@@ -73,10 +74,10 @@
{
if (response.size() >= 5)
{
- log<level::DEBUG>(fmt::format("PassThrough::send() "
- "response had {} bytes",
- response.size())
- .c_str());
+ log<level::DEBUG>(
+ fmt::format("PassThrough::send() response had {} bytes",
+ response.size())
+ .c_str());
}
else
{