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/y2019/jevois/camera/image_stream.h b/y2019/jevois/camera/image_stream.h
index dc52bd5..f1ab0af 100644
--- a/y2019/jevois/camera/image_stream.h
+++ b/y2019/jevois/camera/image_stream.h
@@ -1,12 +1,12 @@
 #ifndef Y2019_JEVOIS_CAMERA_IMAGE_STREAM_H_
 #define Y2019_JEVOIS_CAMERA_IMAGE_STREAM_H_
 
+#include <memory>
+
 #include "aos/vision/events/epoll_events.h"
 #include "aos/vision/image/camera_params.pb.h"
 #include "y2019/jevois/camera/reader.h"
 
-#include <memory>
-
 namespace y2019 {
 namespace camera {
 
diff --git a/y2019/jevois/camera/reader.cc b/y2019/jevois/camera/reader.cc
index 259e650..84bf7fe 100644
--- a/y2019/jevois/camera/reader.cc
+++ b/y2019/jevois/camera/reader.cc
@@ -13,9 +13,10 @@
 #include <cstdlib>
 #include <cstring>
 
-#include "aos/time/time.h"
 #include "glog/logging.h"
 
+#include "aos/time/time.h"
+
 #define CLEAR(x) memset(&(x), 0, sizeof(x))
 
 namespace y2019 {
diff --git a/y2019/jevois/cobs_test.cc b/y2019/jevois/cobs_test.cc
index fa4742f..303c4d3 100644
--- a/y2019/jevois/cobs_test.cc
+++ b/y2019/jevois/cobs_test.cc
@@ -1,9 +1,10 @@
 #include "y2019/jevois/cobs.h"
 
 #include "absl/types/span.h"
-#include "aos/testing/test_logging.h"
 #include "gtest/gtest.h"
 
+#include "aos/testing/test_logging.h"
+
 namespace frc971 {
 namespace jevois {
 
diff --git a/y2019/jevois/spi.h b/y2019/jevois/spi.h
index cdb0dfc..62e5ea7 100644
--- a/y2019/jevois/spi.h
+++ b/y2019/jevois/spi.h
@@ -6,6 +6,7 @@
 #include <optional>
 
 #include "absl/types/span.h"
+
 #include "y2019/jevois/structures.h"
 
 // This file manages serializing and deserializing the various structures for
diff --git a/y2019/jevois/structures.h b/y2019/jevois/structures.h
index 73705b1..85cca21 100644
--- a/y2019/jevois/structures.h
+++ b/y2019/jevois/structures.h
@@ -7,6 +7,7 @@
 #include <cstdint>
 
 #include "Eigen/Dense"
+
 #include "aos/containers/sized_array.h"
 #include "aos/time/time.h"
 
diff --git a/y2019/jevois/teensy.cc b/y2019/jevois/teensy.cc
index 95fe186..7c71ae8 100644
--- a/y2019/jevois/teensy.cc
+++ b/y2019/jevois/teensy.cc
@@ -3,6 +3,7 @@
 #include <optional>
 
 #include "absl/types/span.h"
+
 #include "aos/time/time.h"
 #include "motors/core/kinetis.h"
 #include "motors/core/time.h"
diff --git a/y2019/jevois/uart.cc b/y2019/jevois/uart.cc
index 9cded62..0fc25c9 100644
--- a/y2019/jevois/uart.cc
+++ b/y2019/jevois/uart.cc
@@ -3,6 +3,7 @@
 #include <array>
 
 #include "absl/types/span.h"
+
 #include "aos/util/bitpacking.h"
 #include "y2019/jevois/jevois_crc.h"
 #ifdef __linux__
diff --git a/y2019/jevois/uart.h b/y2019/jevois/uart.h
index 7a7f251..d3eebee 100644
--- a/y2019/jevois/uart.h
+++ b/y2019/jevois/uart.h
@@ -4,6 +4,7 @@
 #include <optional>
 
 #include "absl/types/span.h"
+
 #include "aos/containers/sized_array.h"
 #include "y2019/jevois/cobs.h"
 #include "y2019/jevois/structures.h"