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/log_reader.cc b/aos/events/logging/log_reader.cc
index cbe37d5..f805c66 100644
--- a/aos/events/logging/log_reader.cc
+++ b/aos/events/logging/log_reader.cc
@@ -11,6 +11,9 @@
#include "absl/strings/escaping.h"
#include "absl/types/span.h"
+#include "flatbuffers/flatbuffers.h"
+#include "openssl/sha.h"
+
#include "aos/events/event_loop.h"
#include "aos/events/logging/boot_timestamp.h"
#include "aos/events/logging/logfile_sorting.h"
@@ -25,8 +28,6 @@
#include "aos/time/time.h"
#include "aos/util/file.h"
#include "aos/uuid.h"
-#include "flatbuffers/flatbuffers.h"
-#include "openssl/sha.h"
DEFINE_bool(skip_missing_forwarding_entries, false,
"If true, drop any forwarding entries with missing data. If "
@@ -2340,7 +2341,8 @@
// handlers that would've happened before requested start time until that
// start time.
if (start_event_notifier_) {
- // Only call OnStart() if the start time for this node (realtime_start_time())
+ // Only call OnStart() if the start time for this node
+ // (realtime_start_time())
if (start_event_notifier_->realtime_event_time() >
realtime_start_time(boot_count())) {
VLOG(1) << "Skipping, " << start_event_notifier_->realtime_event_time()