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/wpilib/ahal/SPI.cc b/frc971/wpilib/ahal/SPI.cc
index 8568210..874858b 100644
--- a/frc971/wpilib/ahal/SPI.cc
+++ b/frc971/wpilib/ahal/SPI.cc
@@ -8,13 +8,14 @@
#include "frc971/wpilib/ahal/SPI.h"
#include <hal/SPI.h>
-#include <wpi/SmallVector.h>
-#include <wpi/mutex.h>
#include <cstring>
#include <utility>
#include "absl/types/span.h"
+#include <wpi/SmallVector.h>
+#include <wpi/mutex.h>
+
#include "frc971/wpilib/ahal/DigitalSource.h"
#include "frc971/wpilib/ahal/WPIErrors.h"