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/y2014_bot3/joystick_reader.cc b/y2014_bot3/joystick_reader.cc
index 9b25c37..0c48552 100644
--- a/y2014_bot3/joystick_reader.cc
+++ b/y2014_bot3/joystick_reader.cc
@@ -99,9 +99,8 @@
} else if (data.IsPressed(kHumanPlayer)) {
rollers_goal.human_player = true;
}
- if (builder.Send(control_loops::rollers::Goal::Pack(*builder.fbb(),
- &rollers_goal)) !=
- aos::RawSender::Error::kOk) {
+ if (builder.Send(control_loops::rollers::Goal::Pack(
+ *builder.fbb(), &rollers_goal)) != aos::RawSender::Error::kOk) {
AOS_LOG(WARNING, "Sending rollers values failed.\n");
}
}