clang-format: update to latest from docs repo
Since `Cpp11` is an alias for `Latest` and we should tend towards using the
latest C++ standard, update the C++ standard to Latest.
https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82
https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format
Also, other OpenBMC repos are doing the same.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I449e88bb4e1e262060110e1a8f3e8db3ddfc74cf
diff --git a/utils.hpp b/utils.hpp
index 715d509..d93a807 100644
--- a/utils.hpp
+++ b/utils.hpp
@@ -1,22 +1,23 @@
#pragma once
+#include "libpldm/base.h"
+#include "libpldm/bios.h"
+#include "libpldm/platform.h"
+
#include <stdint.h>
#include <systemd/sd-bus.h>
#include <unistd.h>
+#include <nlohmann/json.hpp>
+#include <sdbusplus/server.hpp>
+#include <xyz/openbmc_project/Logging/Entry/server.hpp>
+
#include <exception>
#include <filesystem>
#include <iostream>
-#include <nlohmann/json.hpp>
-#include <sdbusplus/server.hpp>
#include <string>
#include <variant>
#include <vector>
-#include <xyz/openbmc_project/Logging/Entry/server.hpp>
-
-#include "libpldm/base.h"
-#include "libpldm/bios.h"
-#include "libpldm/platform.h"
namespace pldm
{
@@ -37,8 +38,7 @@
CustomFD& operator=(CustomFD&&) = delete;
CustomFD(int fd) : fd(fd)
- {
- }
+ {}
~CustomFD()
{