commit | 6492f524b7b2dfc9f04ee0ad68c4c2e35bbbcd25 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Tue Jun 16 10:34:05 2020 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Tue Jun 16 13:36:32 2020 +0800 |
tree | aa1258ec49bda25b1d2593cd0b81967842fb1bbd | |
parent | a18a126569cf7e33c7b93e6f996a5ee75641bb84 [diff] [blame] |
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/oem/ibm/libpldmresponder/file_io_type_dump.cpp b/oem/ibm/libpldmresponder/file_io_type_dump.cpp index 8572259..188fc4a 100644 --- a/oem/ibm/libpldmresponder/file_io_type_dump.cpp +++ b/oem/ibm/libpldmresponder/file_io_type_dump.cpp
@@ -1,5 +1,8 @@ #include "file_io_type_dump.hpp" +#include "libpldm/base.h" +#include "oem/ibm/libpldm/file_io.h" + #include "utils.hpp" #include "xyz/openbmc_project/Common/error.hpp" @@ -7,14 +10,12 @@ #include <systemd/sd-bus.h> #include <unistd.h> -#include <exception> -#include <filesystem> -#include <iostream> #include <sdbusplus/server.hpp> #include <xyz/openbmc_project/Dump/NewDump/server.hpp> -#include "libpldm/base.h" -#include "oem/ibm/libpldm/file_io.h" +#include <exception> +#include <filesystem> +#include <iostream> using namespace pldm::utils;