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/DigitalOutput.cc b/frc971/wpilib/ahal/DigitalOutput.cc
index ac00df3..389cfae 100644
--- a/frc971/wpilib/ahal/DigitalOutput.cc
+++ b/frc971/wpilib/ahal/DigitalOutput.cc
@@ -10,10 +10,10 @@
#include <limits>
#include <sstream>
+#include "frc971/wpilib/ahal/WPIErrors.h"
#include "hal/DIO.h"
#include "hal/HAL.h"
#include "hal/Ports.h"
-#include "frc971/wpilib/ahal/WPIErrors.h"
using namespace frc;
@@ -80,10 +80,10 @@
}
/**
- * Gets the value being output from the Digital Output.
- *
- * @return the state of the digital output.
- */
+ * Gets the value being output from the Digital Output.
+ *
+ * @return the state of the digital output.
+ */
bool DigitalOutput::Get() const {
if (StatusIsFatal()) return false;