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/seasocks/internal/Config.h b/aos/seasocks/internal/Config.h
index e99d356..77c455d 100644
--- a/aos/seasocks/internal/Config.h
+++ b/aos/seasocks/internal/Config.h
@@ -1,6 +1,8 @@
-// Generated by Comran from version 1.1.2 with the autoconf scripts from upstream
+// Generated by Comran from version 1.1.2 with the autoconf scripts from
+// upstream
/* src/main/c/internal/Config.h. Generated from Config.h.in by configure. */
-/* src/main/c/internal/Config.h.in. Generated from configure.ac by autoheader. */
+/* src/main/c/internal/Config.h.in. Generated from configure.ac by autoheader.
+ */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
@@ -194,8 +196,8 @@
previous line. Perhaps some future version of Sun C++ will work with
restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
#if defined __SUNPRO_CC && !defined __RESTRICT
-# define _Restrict
-# define __restrict__
+#define _Restrict
+#define __restrict__
#endif
/* Define to `unsigned int' if <sys/types.h> does not define. */