Add clang-format to repo
Add clang-format to repo.
Change-Id: I5cc1e4ed3fcbf41a28e16cf929a86cf54a3c5efb
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/src/gpio.cpp b/src/gpio.cpp
index 72c569a..b78d2bc 100644
--- a/src/gpio.cpp
+++ b/src/gpio.cpp
@@ -14,13 +14,15 @@
// limitations under the License.
*/
-#include <experimental/filesystem>
+#include "gpio.hpp"
+
#include <fcntl.h>
+#include <unistd.h>
+
+#include <experimental/filesystem>
#include <fstream>
#include <phosphor-logging/elog-errors.hpp>
-#include <unistd.h>
#include <xyz/openbmc_project/Common/error.hpp>
-#include "gpio.hpp"
const static constexpr char* SYSMGR_SERVICE = "org.openbmc.managers.System";
const static constexpr char* SYSMGR_OBJ_PATH = "/org/openbmc/managers/System";
@@ -85,7 +87,7 @@
stream.close();
}
- catch (const std::exception &e)
+ catch (const std::exception& e)
{
phosphor::logging::log<phosphor::logging::level::ERR>(
"Error in writing!",