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/frc971/control_loops/aiming/aiming.cc b/frc971/control_loops/aiming/aiming.cc
index cea2476..4cf9255 100644
--- a/frc971/control_loops/aiming/aiming.cc
+++ b/frc971/control_loops/aiming/aiming.cc
@@ -1,6 +1,7 @@
 #include "frc971/control_loops/aiming/aiming.h"
 
 #include "glog/logging.h"
+
 #include "frc971/zeroing/wrap.h"
 
 namespace frc971::control_loops::aiming {
@@ -104,8 +105,9 @@
   // in the derivative of atan because xdot and ydot are the derivatives of
   // robot_pos and we are working with the atan of (target_pos - robot_pos).
   const double atan_diff =
-      (squared_norm < 1e-3) ? 0.0 : (rel_x * rel_ydot - rel_y * rel_xdot) /
-                                        squared_norm;
+      (squared_norm < 1e-3)
+          ? 0.0
+          : (rel_x * rel_ydot - rel_y * rel_xdot) / squared_norm;
   // heading = atan2(relative_y, relative_x) - robot_theta
   // dheading / dt =
   //     (rel_x * rel_y' - rel_y * rel_x') / (rel_x^2 + rel_y^2) - dtheta / dt
diff --git a/frc971/control_loops/aiming/aiming.h b/frc971/control_loops/aiming/aiming.h
index 47fd06a..c743fe8 100644
--- a/frc971/control_loops/aiming/aiming.h
+++ b/frc971/control_loops/aiming/aiming.h
@@ -58,5 +58,5 @@
 };
 
 TurretGoal AimerGoal(const ShotConfig &config, const RobotState &state);
-}
+}  // namespace frc971::control_loops::aiming
 #endif  // FRC971_CONTROL_LOOPS_AIMING_AIMING_H_
diff --git a/frc971/control_loops/aiming/aiming_test.cc b/frc971/control_loops/aiming/aiming_test.cc
index c1f7367..4ec7eb9 100644
--- a/frc971/control_loops/aiming/aiming_test.cc
+++ b/frc971/control_loops/aiming/aiming_test.cc
@@ -1,8 +1,9 @@
 #include "frc971/control_loops/aiming/aiming.h"
 
-#include "frc971/control_loops/pose.h"
 #include "gtest/gtest.h"
+
 #include "frc971/constants.h"
+#include "frc971/control_loops/pose.h"
 
 namespace frc971::control_loops::aiming::testing {