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/y2019/image_streamer/image_streamer.cc b/y2019/image_streamer/image_streamer.cc
index 6640df0..cbb4788 100644
--- a/y2019/image_streamer/image_streamer.cc
+++ b/y2019/image_streamer/image_streamer.cc
@@ -1,26 +1,27 @@
-#include "aos/vision/image/image_stream.h"
-
#include <sys/stat.h>
+
#include <deque>
#include <fstream>
#include <string>
+#include "gflags/gflags.h"
+
#include "aos/logging/implementations.h"
#include "aos/logging/logging.h"
#include "aos/vision/blob/codec.h"
#include "aos/vision/events/socket_types.h"
#include "aos/vision/events/udp.h"
+#include "aos/vision/image/image_stream.h"
#include "aos/vision/image/reader.h"
-#include "gflags/gflags.h"
#include "y2019/image_streamer/flip_image.h"
#include "y2019/vision.pb.h"
+using ::aos::monotonic_clock;
using ::aos::events::DataSocket;
using ::aos::events::RXUdpSocket;
using ::aos::events::TCPServer;
using ::aos::vision::DataRef;
using ::aos::vision::Int32Codec;
-using ::aos::monotonic_clock;
using ::y2019::VisionControl;
DEFINE_string(roborio_ip, "10.9.71.2", "RoboRIO IP Address");