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/starter/subprocess.cc b/aos/starter/subprocess.cc
index a05ab74..b86b12d 100644
--- a/aos/starter/subprocess.cc
+++ b/aos/starter/subprocess.cc
@@ -280,7 +280,7 @@
}
std::vector<char *> cargs = CArgs();
- const char* path = run_as_sudo_ ? kSudo : path_.c_str();
+ const char *path = run_as_sudo_ ? kSudo : path_.c_str();
execvp(path, cargs.data());
// If we got here, something went wrong