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/y2017/joystick_reader.cc b/y2017/joystick_reader.cc
index fd8dc38..7cd2aaf 100644
--- a/y2017/joystick_reader.cc
+++ b/y2017/joystick_reader.cc
@@ -292,8 +292,7 @@
goal_builder.add_hood(hood_goal_offset);
goal_builder.add_shooter(shooter_goal_offset);
- if (builder.Send(goal_builder.Finish()) !=
- aos::RawSender::Error::kOk) {
+ if (builder.Send(goal_builder.Finish()) != aos::RawSender::Error::kOk) {
AOS_LOG(ERROR, "Sending superstructure goal failed.\n");
}
}