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.cc b/aos/starter/irq_affinity.cc
index 7b74fe1..8b6bb2a 100644
--- a/aos/starter/irq_affinity.cc
+++ b/aos/starter/irq_affinity.cc
@@ -4,12 +4,13 @@
#include <sys/resource.h>
#include <sys/types.h>
+#include "gflags/gflags.h"
+
#include "aos/events/shm_event_loop.h"
#include "aos/init.h"
#include "aos/starter/irq_affinity_lib.h"
#include "aos/starter/kthread_generated.h"
#include "aos/util/top.h"
-#include "gflags/gflags.h"
DEFINE_string(config, "aos_config.json", "File path of aos configuration");