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/simulation_logger.cc b/aos/util/simulation_logger.cc
index 1f55ece..24691ef 100644
--- a/aos/util/simulation_logger.cc
+++ b/aos/util/simulation_logger.cc
@@ -1,4 +1,5 @@
#include "aos/util/simulation_logger.h"
+
#include "aos/events/logging/logfile_utils.h"
namespace aos::util {
@@ -30,7 +31,8 @@
std::vector<std::unique_ptr<LoggerState>> MakeLoggersForAllNodes(
aos::SimulatedEventLoopFactory *factory, std::string_view output_folder) {
std::vector<std::unique_ptr<LoggerState>> loggers;
- for (const aos::Node *node : configuration::GetNodes(factory->configuration())) {
+ for (const aos::Node *node :
+ configuration::GetNodes(factory->configuration())) {
loggers.emplace_back(
std::make_unique<LoggerState>(factory, node, output_folder));
}