Add .clang-format to repo for automated style
Add .clang-format to repo for automated style. A consistent style
across Openbmc makes the code easier to read and edit.
Change-Id: I7c09792d2482f0be3e01776804347700f3e3e651
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/parser/parser.cpp b/test/parser/parser.cpp
index eda30af..69b2005 100644
--- a/test/parser/parser.cpp
+++ b/test/parser/parser.cpp
@@ -1,9 +1,9 @@
-#include <defines.hpp>
-#include <store.hpp>
-#include <parser.hpp>
#include <cassert>
+#include <defines.hpp>
#include <fstream>
#include <iterator>
+#include <parser.hpp>
+#include <store.hpp>
void runTests()
{
@@ -17,8 +17,7 @@
auto vpdStore = parse(std::move(vpd));
- assert(("P012" ==
- vpdStore.get<Record::VINI, record::Keyword::CC>()));
+ assert(("P012" == vpdStore.get<Record::VINI, record::Keyword::CC>()));
}
}
diff --git a/test/store/store.cpp b/test/store/store.cpp
index 32b403c..4c83ba7 100644
--- a/test/store/store.cpp
+++ b/test/store/store.cpp
@@ -1,9 +1,11 @@
+#include "store.hpp"
+
+#include "defines.hpp"
+
#include <cassert>
#include <string>
#include <unordered_map>
#include <utility>
-#include "defines.hpp"
-#include "store.hpp"
void runTests()
{