From 0f1d06bb591bde85c8ed23716be226abd4cbb855 Mon Sep 17 00:00:00 2001
From: Pedro Gonnet <gonnet@google.com>
Date: Wed, 9 Nov 2016 22:24:34 +0100
Subject: [PATCH] formatting.

---
 src/memswap.h | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/memswap.h b/src/memswap.h
index 2ac1899255..f3e402d139 100644
--- a/src/memswap.h
+++ b/src/memswap.h
@@ -51,7 +51,8 @@
  * @brief Swap the contents of two elements in-place.
  *
  * Keep in mind that this function works best when the underlying data
- * is aligned to the vector length, e.g. with the @c __attribute__((aligned(32)))
+ * is aligned to the vector length, e.g. with the @c
+ * __attribute__((aligned(32)))
  * syntax, and the code is compiled with @c -funroll-loops.
  *
  * @param a Pointer to the first element.
@@ -62,21 +63,21 @@ __attribute__((always_inline)) inline void memswap(void *void_a, void *void_b,
                                                    size_t bytes) {
   char *a = (char *)void_a, *b = (char *)void_b;
 #ifdef __AVX512F__
-  swap_loop(__m512i, a, b, bytes)
+  swap_loop(__m512i, a, b, bytes);
 #endif
 #ifdef __AVX__
-  swap_loop(__m256i, a, b, bytes)
+  swap_loop(__m256i, a, b, bytes);
 #endif
 #ifdef __SSE2__
-  swap_loop(__m128i, a, b, bytes)
+  swap_loop(__m128i, a, b, bytes);
 #endif
 #ifdef __ALTIVEC__
-  swap_loop(vector int, a, b, bytes)
+  swap_loop(vector int, a, b, bytes);
 #endif
-  swap_loop(size_t, a, b, bytes)
-  swap_loop(int, a, b, bytes)
-  swap_loop(short, a, b, bytes)
-  swap_loop(char, a, b, bytes)
+  swap_loop(size_t, a, b, bytes);
+  swap_loop(int, a, b, bytes);
+  swap_loop(short, a, b, bytes);
+  swap_loop(char, a, b, bytes);
 }
 
 #endif /* SWIFT_MEMSWAP_H */
-- 
GitLab