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/y2020/control_loops/drivetrain/drivetrain_base.cc b/y2020/control_loops/drivetrain/drivetrain_base.cc
index 952c3dc..7b42df5 100644
--- a/y2020/control_loops/drivetrain/drivetrain_base.cc
+++ b/y2020/control_loops/drivetrain/drivetrain_base.cc
@@ -60,7 +60,8 @@
.finished() /*imu_transform*/,
};
- if (::aos::network::GetTeamNumber() != constants::Values::kCodingRobotTeamNumber) {
+ if (::aos::network::GetTeamNumber() !=
+ constants::Values::kCodingRobotTeamNumber) {
// TODO(james): Check X/Y axis
// transformations.
kDrivetrainConfig.imu_transform = (Eigen::Matrix<double, 3, 3>() << 1.0,