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/vision/target_finder.cc b/y2019/vision/target_finder.cc
index b16fba1..b59792c 100644
--- a/y2019/vision/target_finder.cc
+++ b/y2019/vision/target_finder.cc
@@ -1,8 +1,9 @@
 #include "y2019/vision/target_finder.h"
 
-#include "aos/vision/blob/hierarchical_contour_merge.h"
 #include "ceres/ceres.h"
 
+#include "aos/vision/blob/hierarchical_contour_merge.h"
+
 using namespace aos::vision;
 
 namespace y2019 {
@@ -75,7 +76,7 @@
 
 constexpr int iterations = 7;
 
-}
+}  // namespace
 
 ::Eigen::Vector2f UnWarpPoint(const Point point) {
   const double x0 = ((double)point.x - c_x) / f_x;
@@ -566,8 +567,9 @@
 
   // Sort the target list so that the widest (ie closest) target is first.
   sort(filtered.begin(), filtered.end(),
-       [](const IntermediateResult &a, const IntermediateResult &b)
-           -> bool { return a.target_width > b.target_width; });
+       [](const IntermediateResult &a, const IntermediateResult &b) -> bool {
+         return a.target_width > b.target_width;
+       });
 
   frame_count_++;
   if (!filtered.empty()) {
@@ -588,8 +590,8 @@
                                 int pixel_count, int *desired_exposure) {
   // TODO(ben): Add these values to config file.
   constexpr double low_dist = 0.8;
-  constexpr int low_exposure  = 60;
-  constexpr int mid_exposure  = 200;
+  constexpr int low_exposure = 60;
+  constexpr int mid_exposure = 200;
 
   bool needs_update = false;
   if (results.size() > 0) {