Run clang-format on the entire repo
This patch clang-formats the entire repo. Third-party code is
excluded.
I needed to fix up the .clang-format file so that all the header
includes are ordered properly. I could have sworn that it used to work
without the extra modification, but I guess not.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I64bb9f2c795401393f9dfe2fefc4f04cb36b52f6
diff --git a/aos/starter/irq_affinity_lib_test.cc b/aos/starter/irq_affinity_lib_test.cc
index 0fe240b..f491f6f 100644
--- a/aos/starter/irq_affinity_lib_test.cc
+++ b/aos/starter/irq_affinity_lib_test.cc
@@ -1,7 +1,7 @@
#include "aos/starter/irq_affinity_lib.h"
-#include "gtest/gtest.h"
#include "gmock/gmock.h"
+#include "gtest/gtest.h"
namespace aos::testing {
@@ -270,9 +270,10 @@
EXPECT_EQ(status.states()[0].interrupt_number, 8);
EXPECT_EQ(status.states()[0].chip_name, "IR-IO-APIC");
EXPECT_THAT(status.states()[0].count,
- ::testing::ElementsAre(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+ ::testing::ElementsAre(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0));
EXPECT_EQ(status.states()[0].hwirq, "8-edge");
EXPECT_THAT(status.states()[0].actions, ::testing::ElementsAre("rtc0"));
}
-} // aos::testing
+} // namespace aos::testing