clang-format: update to latest version
Pick up latest .clang-format file from the docs repository.
Fix formatting on all files.
Minor compile fixes due to GCC10 and sdbusplus changes.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie1f7a4e59b6cf015310effef50d558ff59731024
diff --git a/elog-errors.hpp b/elog-errors.hpp
index 44bc5eb..9b0d9af 100644
--- a/elog-errors.hpp
+++ b/elog-errors.hpp
@@ -5,6 +5,7 @@
#include <phosphor-logging/elog.hpp>
#include <phosphor-logging/log.hpp>
#include <sdbusplus/exception.hpp>
+
#include <string>
#include <tuple>
#include <type_traits>
@@ -1032,9 +1033,7 @@
namespace Fault
{
namespace _Shutdown
-{
-
-} // namespace _Shutdown
+{} // namespace _Shutdown
struct Shutdown
{
@@ -1068,9 +1067,7 @@
namespace Fault
{
namespace _PowerOnFailure
-{
-
-} // namespace _PowerOnFailure
+{} // namespace _PowerOnFailure
struct PowerOnFailure
{