From 07e8d3f6a9db60229702c1003fac04880afdde2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Sch=C3=BCtte?= Date: Mon, 22 Jan 2018 16:03:31 +0100 Subject: [PATCH] Ran clang-format. --- bazel/third_party/cairo/config.h | 32 ++++++++++++------------- bazel/third_party/fontconfig/config.h | 34 +++++++++++++-------------- bazel/third_party/pixman/config.h | 12 +++++----- 3 files changed, 38 insertions(+), 40 deletions(-) diff --git a/bazel/third_party/cairo/config.h b/bazel/third_party/cairo/config.h index 15c1e1d046..2a7f9860af 100644 --- a/bazel/third_party/cairo/config.h +++ b/bazel/third_party/cairo/config.h @@ -31,7 +31,7 @@ /* #undef CAIRO_CAN_TEST_SVG_SURFACE */ /* Define to 1 if the Win32 Printing backend can be tested (needs ghostscript) - */ + */ /* #undef CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE */ /* Define to 1 if dlsym is available */ @@ -303,14 +303,15 @@ /* #undef IPC_RMID_DEFERRED_RELEASE */ /* Define to the sub-directory in which libtool stores uninstalled libraries. - */ + */ #define LT_OBJDIR ".libs/" /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo" +#define PACKAGE_BUGREPORT \ + "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo" /* Define to the full name of this package. */ #define PACKAGE_NAME USE_cairo_INSTEAD @@ -350,26 +351,25 @@ /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 +#define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 +#define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 +#define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 +#define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 +#define __EXTENSIONS__ 1 #endif - /* Define to the value your compiler uses to support the warn-unused-result attribute */ #define WARN_UNUSED_RESULT @@ -377,15 +377,14 @@ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif +#if defined __BIG_ENDIAN__ +#define WORDS_BIGENDIAN 1 +#endif #else -# ifndef WORDS_BIGENDIAN +#ifndef WORDS_BIGENDIAN /* # undef WORDS_BIGENDIAN */ -# endif #endif - +#endif /* Deal with multiple architecture compiles on Mac OS X */ #ifdef __APPLE_CC__ @@ -398,13 +397,12 @@ #endif #endif - /* Define to 1 if the X Window System is missing or not being used. */ /* #undef X_DISPLAY_MISSING */ /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 +#define _DARWIN_USE_64_BIT_INODE 1 #endif /* Number of bits in a file offset, on hosts where this is settable. */ diff --git a/bazel/third_party/fontconfig/config.h b/bazel/third_party/fontconfig/config.h index c5cec74c4c..3686792443 100644 --- a/bazel/third_party/fontconfig/config.h +++ b/bazel/third_party/fontconfig/config.h @@ -48,7 +48,7 @@ #define FLEXIBLE_ARRAY_MEMBER /**/ /* Define to 1 if you have the header file, and it defines `DIR'. - */ + */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the header file. */ @@ -196,14 +196,14 @@ /* #undef HAVE_STRUCT_STATVFS_F_FSTYPENAME */ /* Define to 1 if you have the header file, and it defines `DIR'. - */ + */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_MOUNT_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. - */ + */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ @@ -249,14 +249,15 @@ /* #undef HAVE__MKTEMP_S */ /* Define to the sub-directory in which libtool stores uninstalled libraries. - */ + */ #define LT_OBJDIR ".libs/" /* Name of package */ #define PACKAGE "fontconfig" /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig" +#define PACKAGE_BUGREPORT \ + "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig" /* Define to the full name of this package. */ #define PACKAGE_NAME "fontconfig" @@ -303,44 +304,43 @@ /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 +#define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 +#define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 +#define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 +#define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 +#define __EXTENSIONS__ 1 #endif - /* Version number of package */ #define VERSION "2.11.94" /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif +#if defined __BIG_ENDIAN__ +#define WORDS_BIGENDIAN 1 +#endif #else -# ifndef WORDS_BIGENDIAN +#ifndef WORDS_BIGENDIAN /* # undef WORDS_BIGENDIAN */ -# endif +#endif #endif /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 +#define _DARWIN_USE_64_BIT_INODE 1 #endif /* Number of bits in a file offset, on hosts where this is settable. */ diff --git a/bazel/third_party/pixman/config.h b/bazel/third_party/pixman/config.h index 162f4ca0fb..8f68a1b2bb 100644 --- a/bazel/third_party/pixman/config.h +++ b/bazel/third_party/pixman/config.h @@ -96,7 +96,7 @@ #define HAVE_UNISTD_H 1 /* Define to the sub-directory in which libtool stores uninstalled libraries. - */ + */ #define LT_OBJDIR ".libs/" /* Name of package */ @@ -174,13 +174,13 @@ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif +#if defined __BIG_ENDIAN__ +#define WORDS_BIGENDIAN 1 +#endif #else -# ifndef WORDS_BIGENDIAN +#ifndef WORDS_BIGENDIAN /* # undef WORDS_BIGENDIAN */ -# endif +#endif #endif /* Define to `__inline__' or `__inline' if that's what the C compiler