Add clang-format to repo

Add clang-format to repo.

Change-Id: I5cc1e4ed3fcbf41a28e16cf929a86cf54a3c5efb
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/inc/power_button.hpp b/inc/power_button.hpp
index 94d15c6..d00f1c6 100644
--- a/inc/power_button.hpp
+++ b/inc/power_button.hpp
@@ -15,12 +15,14 @@
 */
 
 #pragma once
-#include <phosphor-logging/elog-errors.hpp>
-#include <unistd.h>
-#include "xyz/openbmc_project/Chassis/Common/error.hpp"
-#include "xyz/openbmc_project/Chassis/Buttons/Power/server.hpp"
 #include "common.hpp"
 #include "gpio.hpp"
+#include "xyz/openbmc_project/Chassis/Buttons/Power/server.hpp"
+#include "xyz/openbmc_project/Chassis/Common/error.hpp"
+
+#include <unistd.h>
+
+#include <phosphor-logging/elog-errors.hpp>
 
 const static constexpr char* POWER_BUTTON = "POWER_BUTTON";
 
@@ -29,8 +31,7 @@
           sdbusplus::xyz::openbmc_project::Chassis::Buttons::server::Power>
 {
 
-    PowerButton(sdbusplus::bus::bus& bus, const char* path,
-                EventPtr& event,
+    PowerButton(sdbusplus::bus::bus& bus, const char* path, EventPtr& event,
                 sd_event_io_handler_t handler = PowerButton::EventHandler) :
         sdbusplus::server::object::object<
             sdbusplus::xyz::openbmc_project::Chassis::Buttons::server::Power>(
@@ -46,8 +47,8 @@
         {
             phosphor::logging::log<phosphor::logging::level::ERR>(
                 "POWER_BUTTON: failed to config GPIO");
-            throw sdbusplus::xyz::openbmc_project::Chassis::Common::
-                Error::IOError();
+            throw sdbusplus::xyz::openbmc_project::Chassis::Common::Error::
+                IOError();
         }
 
         ret = sd_event_add_io(event.get(), nullptr, fd, EPOLLPRI,
@@ -57,8 +58,8 @@
             phosphor::logging::log<phosphor::logging::level::ERR>(
                 "POWER_BUTTON: failed to add to event loop");
             ::closeGpio(fd);
-            throw sdbusplus::xyz::openbmc_project::Chassis::Common::
-                Error::IOError();
+            throw sdbusplus::xyz::openbmc_project::Chassis::Common::Error::
+                IOError();
         }
     }
 
@@ -70,8 +71,8 @@
     void simPress() override;
     void simLongPress() override;
 
-    static int EventHandler(sd_event_source* es, int fd,
-                            uint32_t revents, void* userdata)
+    static int EventHandler(sd_event_source* es, int fd, uint32_t revents,
+                            void* userdata)
     {
 
         int n = -1;
@@ -81,8 +82,8 @@
         {
             phosphor::logging::log<phosphor::logging::level::ERR>(
                 "POWER_BUTTON: userdata null!");
-            throw sdbusplus::xyz::openbmc_project::Chassis::Common::
-                Error::IOError();
+            throw sdbusplus::xyz::openbmc_project::Chassis::Common::Error::
+                IOError();
         }
 
         PowerButton* powerButton = static_cast<PowerButton*>(userdata);
@@ -91,8 +92,8 @@
         {
             phosphor::logging::log<phosphor::logging::level::ERR>(
                 "POWER_BUTTON: null pointer!");
-            throw sdbusplus::xyz::openbmc_project::Chassis::Common::
-                Error::IOError();
+            throw sdbusplus::xyz::openbmc_project::Chassis::Common::Error::
+                IOError();
         }
 
         n = ::lseek(fd, 0, SEEK_SET);
@@ -101,8 +102,8 @@
         {
             phosphor::logging::log<phosphor::logging::level::ERR>(
                 "POWER_BUTTON: lseek error!");
-            throw sdbusplus::xyz::openbmc_project::Chassis::Common::
-                Error::IOError();
+            throw sdbusplus::xyz::openbmc_project::Chassis::Common::Error::
+                IOError();
         }
 
         n = ::read(fd, &buf, sizeof(buf));
@@ -110,8 +111,8 @@
         {
             phosphor::logging::log<phosphor::logging::level::ERR>(
                 "POWER_BUTTON: read error!");
-            throw sdbusplus::xyz::openbmc_project::Chassis::Common::
-                Error::IOError();
+            throw sdbusplus::xyz::openbmc_project::Chassis::Common::Error::
+                IOError();
         }
 
         if (buf == '0')