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/y2023/vision/aprilrobotics.h b/y2023/vision/aprilrobotics.h
index 01e3138..123f352 100644
--- a/y2023/vision/aprilrobotics.h
+++ b/y2023/vision/aprilrobotics.h
@@ -1,6 +1,13 @@
#include <string>
+#include "Eigen/Dense"
+#include "opencv2/core/eigen.hpp"
+#include "opencv2/imgproc.hpp"
+#include "third_party/apriltag/apriltag.h"
+#include "third_party/apriltag/apriltag_pose.h"
+#include "third_party/apriltag/tag16h5.h"
+
#include "aos/events/event_loop.h"
#include "aos/events/shm_event_loop.h"
#include "aos/network/team_number.h"
@@ -12,11 +19,6 @@
#include "frc971/vision/target_mapper.h"
#include "frc971/vision/vision_generated.h"
#include "frc971/vision/visualize_robot.h"
-#include "opencv2/core/eigen.hpp"
-#include "opencv2/imgproc.hpp"
-#include "third_party/apriltag/apriltag.h"
-#include "third_party/apriltag/apriltag_pose.h"
-#include "third_party/apriltag/tag16h5.h"
#include "y2023/constants/constants_generated.h"
namespace y2023 {