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/test/libpldmresponder_bios_test.cpp b/test/libpldmresponder_bios_test.cpp index 3ca0c38..9683d49 100644 --- a/test/libpldmresponder_bios_test.cpp +++ b/test/libpldmresponder_bios_test.cpp
@@ -1,3 +1,6 @@ +#include "libpldm/base.h" +#include "libpldm/bios.h" + #include "libpldmresponder/bios.hpp" #include "libpldmresponder/bios_table.hpp" @@ -8,9 +11,6 @@ #include <ctime> #include <filesystem> -#include "libpldm/base.h" -#include "libpldm/bios.h" - #include <gtest/gtest.h> using namespace pldm; @@ -21,8 +21,7 @@ TEST(epochToBCDTime, testTime) { struct tm time - { - }; + {}; time.tm_year = 119; time.tm_mon = 3; time.tm_mday = 13;