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/aos/events/logging/snappy_encoder.h b/aos/events/logging/snappy_encoder.h
index d698ee1..4b6130c 100644
--- a/aos/events/logging/snappy_encoder.h
+++ b/aos/events/logging/snappy_encoder.h
@@ -4,10 +4,11 @@
#include <string_view>
#include "absl/types/span.h"
+#include "flatbuffers/flatbuffers.h"
+
#include "aos/containers/resizeable_buffer.h"
#include "aos/events/logging/buffer_encoder.h"
#include "aos/events/logging/logger_generated.h"
-#include "flatbuffers/flatbuffers.h"
#include "snappy-sinksource.h"
#include "snappy.h"
@@ -16,7 +17,8 @@
// Encodes buffers using snappy.
class SnappyEncoder final : public DataEncoder {
public:
- explicit SnappyEncoder(size_t max_message_size, size_t chunk_size = 128 * 1024);
+ explicit SnappyEncoder(size_t max_message_size,
+ size_t chunk_size = 128 * 1024);
size_t Encode(Copier *copy, size_t start_byte) final;