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/events/simulated_event_loop.h b/aos/events/simulated_event_loop.h
index 8242d6c..6d88aa6 100644
--- a/aos/events/simulated_event_loop.h
+++ b/aos/events/simulated_event_loop.h
@@ -11,6 +11,8 @@
 #include <vector>
 
 #include "absl/container/btree_map.h"
+#include "glog/logging.h"
+
 #include "aos/events/event_loop.h"
 #include "aos/events/event_scheduler.h"
 #include "aos/events/simple_channel.h"
@@ -18,7 +20,6 @@
 #include "aos/flatbuffers.h"
 #include "aos/ipc_lib/index.h"
 #include "aos/uuid.h"
-#include "glog/logging.h"
 
 namespace aos {
 
@@ -236,13 +237,13 @@
   // args for the Main class.  Returns a pointer to the class that was started
   // if it was started, or nullptr.
   template <class Main, class... Args>
-  Main *MaybeStart(std::string_view name, Args &&... args);
+  Main *MaybeStart(std::string_view name, Args &&...args);
 
   // Starts an application regardless of if the config says to or not.  name is
   // the name of the application, and args are the constructor args for the
   // application.  Returns a pointer to the class that was started.
   template <class Main, class... Args>
-  Main *AlwaysStart(std::string_view name, Args &&... args);
+  Main *AlwaysStart(std::string_view name, Args &&...args);
 
   // Returns the simulated network delay for messages forwarded between nodes.
   std::chrono::nanoseconds network_delay() const {
@@ -352,7 +353,7 @@
     // application.
     template <class... Args>
     TypedApplication(NodeEventLoopFactory *node_factory, std::string_view name,
-                     Args &&... args)
+                     Args &&...args)
         : Application(node_factory, name),
           main(event_loop.get(), std::forward<Args>(args)...) {
       VLOG(1) << node_factory->scheduler_.distributed_now() << " "
@@ -371,7 +372,7 @@
 };
 
 template <class Main, class... Args>
-Main *NodeEventLoopFactory::MaybeStart(std::string_view name, Args &&... args) {
+Main *NodeEventLoopFactory::MaybeStart(std::string_view name, Args &&...args) {
   const aos::Application *application =
       configuration::GetApplication(configuration(), node(), name);
 
@@ -382,8 +383,7 @@
 }
 
 template <class Main, class... Args>
-Main *NodeEventLoopFactory::AlwaysStart(std::string_view name,
-                                        Args &&... args) {
+Main *NodeEventLoopFactory::AlwaysStart(std::string_view name, Args &&...args) {
   std::unique_ptr<TypedApplication<Main>> app =
       std::make_unique<TypedApplication<Main>>(this, name,
                                                std::forward<Args>(args)...);