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/util/threaded_queue.h b/aos/util/threaded_queue.h
index 0b06632..943609e 100644
--- a/aos/util/threaded_queue.h
+++ b/aos/util/threaded_queue.h
@@ -38,9 +38,8 @@
// get called after setting done to true.
bool done = false;
};
- ThreadedQueue(
- std::function<PushResult(SharedState)> push_request_handler,
- SharedState initial_state);
+ ThreadedQueue(std::function<PushResult(SharedState)> push_request_handler,
+ SharedState initial_state);
~ThreadedQueue();
// Sets state. Triggers a new call to push_request_handler.
void SetState(const SharedState &state);