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/event_scheduler.cc b/aos/events/event_scheduler.cc
index 2bd7cef..115b2c7 100644
--- a/aos/events/event_scheduler.cc
+++ b/aos/events/event_scheduler.cc
@@ -51,7 +51,8 @@
monotonic_clock::max_time);
}
- const monotonic_clock::time_point monotonic_time = events_list_.begin()->first;
+ const monotonic_clock::time_point monotonic_time =
+ events_list_.begin()->first;
if (cached_event_list_monotonic_time_ != monotonic_time) {
cached_event_list_time_ = ToDistributedClock(monotonic_time);
cached_event_list_monotonic_time_ = monotonic_time;