[committed] libstdc++: Whitespace changes to keep lines below 80 columns

Message ID 20200707223845.GA889875@redhat.com
State New
Headers show
Series
  • [committed] libstdc++: Whitespace changes to keep lines below 80 columns
Related show

Commit Message

Jason Merrill via Gcc-patches July 7, 2020, 10:38 p.m.
Also remove leading spaces that are followed by tabs.

libstdc++-v3/ChangeLog:

	* include/std/limits: Whitespace changes.

Committed to trunk.
commit 9ca8fefeb720c8a9dec58e9a99042e6727309251
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Jul 7 23:26:38 2020 +0100

    libstdc++: Whitespace changes to keep lines below 80 columns
    
    Also remove leading spaces that are followed by tabs.
    
    libstdc++-v3/ChangeLog:
    
            * include/std/limits: Whitespace changes.

Comments

Jason Merrill via Gcc-patches July 7, 2020, 10:42 p.m. | #1
On 07/07/20 23:38 +0100, Jonathan Wakely wrote:
>Also remove leading spaces that are followed by tabs.

>

>libstdc++-v3/ChangeLog:

>

>	* include/std/limits: Whitespace changes.


I missed a couple of leading spaces, fixed with this one.

Committed to trunk.
commit 161aa50ee2d1142802d7200733fee1cf532d6696
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Jul 7 23:39:44 2020 +0100

    libstdc++: Whitespace changes to remove spaces before tabs
    
    libstdc++-v3/ChangeLog:
    
            * include/std/limits: Whitespace changes.

diff --git a/libstdc++-v3/include/std/limits b/libstdc++-v3/include/std/limits
index bee9b9f6bb6..f5e403be727 100644
--- a/libstdc++-v3/include/std/limits
+++ b/libstdc++-v3/include/std/limits
@@ -1536,11 +1536,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       static _GLIBCXX_CONSTEXPR TYPE					\
       denorm_min() _GLIBCXX_USE_NOEXCEPT				\
       { return static_cast<TYPE>(0); }					\
- 									\
+									\
       static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; 		\
       static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; 		\
       static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; 		\
- 									\
+									\
       static _GLIBCXX_USE_CONSTEXPR bool traps 				\
 	= __glibcxx_integral_traps; 					\
       static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; 	\

Patch

diff --git a/libstdc++-v3/include/std/limits b/libstdc++-v3/include/std/limits
index 898406f91ee..bee9b9f6bb6 100644
--- a/libstdc++-v3/include/std/limits
+++ b/libstdc++-v3/include/std/limits
@@ -1479,152 +1479,152 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
 #if !defined(__STRICT_ANSI__)
 
-#define __INT_N(TYPE, BITSIZE, EXT, UEXT)			\
-  template<> 									\
-    struct numeric_limits<TYPE> 						\
-    { 										\
-      static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; 		\
- 										\
-      static _GLIBCXX_CONSTEXPR TYPE 						\
-	min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min_b (TYPE, BITSIZE); } \
- 										\
-      static _GLIBCXX_CONSTEXPR TYPE 						\
-      max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE); } 	\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR int digits 					\
-       = BITSIZE - 1; 								\
-      static _GLIBCXX_USE_CONSTEXPR int digits10 				\
-       = (BITSIZE - 1) * 643L / 2136; 						\
-      										\
-      static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; 			\
-      static _GLIBCXX_USE_CONSTEXPR int radix = 2; 				\
- 										\
-      static _GLIBCXX_CONSTEXPR TYPE 						\
-      epsilon() _GLIBCXX_USE_NOEXCEPT { return 0; } 				\
- 										\
-      static _GLIBCXX_CONSTEXPR TYPE 						\
-      round_error() _GLIBCXX_USE_NOEXCEPT { return 0; } 			\
- 										\
-      EXT									\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR int min_exponent = 0; 			\
-      static _GLIBCXX_USE_CONSTEXPR int min_exponent10 = 0; 			\
-      static _GLIBCXX_USE_CONSTEXPR int max_exponent = 0; 			\
-      static _GLIBCXX_USE_CONSTEXPR int max_exponent10 = 0; 			\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; 		\
-      static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; 		\
-      static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm 		\
-       = denorm_absent; 							\
-      static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; 		\
- 										\
-      static _GLIBCXX_CONSTEXPR TYPE 						\
-      infinity() _GLIBCXX_USE_NOEXCEPT 						\
-      { return static_cast<TYPE>(0); } 						\
- 										\
-      static _GLIBCXX_CONSTEXPR TYPE 						\
-      quiet_NaN() _GLIBCXX_USE_NOEXCEPT 					\
-      { return static_cast<TYPE>(0); } 						\
-       										\
-      static _GLIBCXX_CONSTEXPR TYPE 						\
-      signaling_NaN() _GLIBCXX_USE_NOEXCEPT 					\
-      { return static_cast<TYPE>(0); } 						\
-       										\
-      static _GLIBCXX_CONSTEXPR TYPE 						\
-      denorm_min() _GLIBCXX_USE_NOEXCEPT 					\
-      { return static_cast<TYPE>(0); } 						\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; 			\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR bool traps 					\
-       = __glibcxx_integral_traps; 						\
-      static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; 		\
-      static _GLIBCXX_USE_CONSTEXPR float_round_style round_style 		\
-       = round_toward_zero; 							\
-    }; 										\
- 										\
-  template<> 									\
-    struct numeric_limits<unsigned TYPE> 					\
-    { 										\
-      static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; 		\
- 										\
-      static _GLIBCXX_CONSTEXPR unsigned TYPE 					\
-      min() _GLIBCXX_USE_NOEXCEPT { return 0; } 				\
- 										\
-      static _GLIBCXX_CONSTEXPR unsigned TYPE 					\
-      max() _GLIBCXX_USE_NOEXCEPT						\
-      { return  __glibcxx_max_b (unsigned TYPE, BITSIZE); }			\
- 										\
-      UEXT									\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR int digits 					\
-       = BITSIZE; 								\
-      static _GLIBCXX_USE_CONSTEXPR int digits10 				\
-       = BITSIZE * 643L / 2136; 						\
-      static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; 			\
-      static _GLIBCXX_USE_CONSTEXPR int radix = 2; 				\
- 										\
-      static _GLIBCXX_CONSTEXPR unsigned TYPE 					\
-      epsilon() _GLIBCXX_USE_NOEXCEPT { return 0; } 				\
- 										\
-      static _GLIBCXX_CONSTEXPR unsigned TYPE 					\
-      round_error() _GLIBCXX_USE_NOEXCEPT { return 0; } 			\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR int min_exponent = 0; 			\
-      static _GLIBCXX_USE_CONSTEXPR int min_exponent10 = 0; 			\
-      static _GLIBCXX_USE_CONSTEXPR int max_exponent = 0; 			\
-      static _GLIBCXX_USE_CONSTEXPR int max_exponent10 = 0; 			\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; 		\
-      static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; 		\
-      static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm 		\
-       = denorm_absent; 							\
-      static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; 		\
- 										\
-      static _GLIBCXX_CONSTEXPR unsigned TYPE 					\
-      infinity() _GLIBCXX_USE_NOEXCEPT 						\
-      { return static_cast<unsigned TYPE>(0); } 				\
- 										\
-      static _GLIBCXX_CONSTEXPR unsigned TYPE 					\
-      quiet_NaN() _GLIBCXX_USE_NOEXCEPT 					\
-      { return static_cast<unsigned TYPE>(0); } 				\
- 										\
-      static _GLIBCXX_CONSTEXPR unsigned TYPE 					\
-      signaling_NaN() _GLIBCXX_USE_NOEXCEPT 					\
-      { return static_cast<unsigned TYPE>(0); } 				\
- 										\
-      static _GLIBCXX_CONSTEXPR unsigned TYPE 					\
-      denorm_min() _GLIBCXX_USE_NOEXCEPT 					\
-      { return static_cast<unsigned TYPE>(0); } 				\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; 			\
-      static _GLIBCXX_USE_CONSTEXPR bool is_modulo = true; 			\
- 										\
-      static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; 	\
-      static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; 		\
-      static _GLIBCXX_USE_CONSTEXPR float_round_style round_style 		\
-       = round_toward_zero; 							\
+#define __INT_N(TYPE, BITSIZE, EXT, UEXT)				\
+  template<>								\
+    struct numeric_limits<TYPE>						\
+    {									\
+      static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true;		\
+									\
+      static _GLIBCXX_CONSTEXPR TYPE					\
+      min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min_b (TYPE, BITSIZE); } \
+									\
+      static _GLIBCXX_CONSTEXPR TYPE					\
+      max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE); } \
+									\
+      static _GLIBCXX_USE_CONSTEXPR int digits				\
+	= BITSIZE - 1;							\
+      static _GLIBCXX_USE_CONSTEXPR int digits10			\
+	= (BITSIZE - 1) * 643L / 2136;					\
+									\
+      static _GLIBCXX_USE_CONSTEXPR bool is_signed = true;		\
+      static _GLIBCXX_USE_CONSTEXPR bool is_integer = true;		\
+      static _GLIBCXX_USE_CONSTEXPR bool is_exact = true;		\
+      static _GLIBCXX_USE_CONSTEXPR int radix = 2;			\
+									\
+      static _GLIBCXX_CONSTEXPR TYPE					\
+      epsilon() _GLIBCXX_USE_NOEXCEPT { return 0; }			\
+									\
+      static _GLIBCXX_CONSTEXPR TYPE 					\
+      round_error() _GLIBCXX_USE_NOEXCEPT { return 0; }			\
+									\
+      EXT								\
+									\
+      static _GLIBCXX_USE_CONSTEXPR int min_exponent = 0;		\
+      static _GLIBCXX_USE_CONSTEXPR int min_exponent10 = 0;		\
+      static _GLIBCXX_USE_CONSTEXPR int max_exponent = 0;		\
+      static _GLIBCXX_USE_CONSTEXPR int max_exponent10 = 0;		\
+									\
+      static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false;		\
+      static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false;		\
+      static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false;	\
+      static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm	\
+	= denorm_absent;						\
+      static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false;	\
+									\
+      static _GLIBCXX_CONSTEXPR TYPE					\
+      infinity() _GLIBCXX_USE_NOEXCEPT					\
+      { return static_cast<TYPE>(0); }					\
+									\
+      static _GLIBCXX_CONSTEXPR TYPE					\
+      quiet_NaN() _GLIBCXX_USE_NOEXCEPT					\
+      { return static_cast<TYPE>(0); }					\
+									\
+      static _GLIBCXX_CONSTEXPR TYPE					\
+      signaling_NaN() _GLIBCXX_USE_NOEXCEPT				\
+      { return static_cast<TYPE>(0); }					\
+									\
+      static _GLIBCXX_CONSTEXPR TYPE					\
+      denorm_min() _GLIBCXX_USE_NOEXCEPT				\
+      { return static_cast<TYPE>(0); }					\
+ 									\
+      static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; 		\
+      static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; 		\
+      static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; 		\
+ 									\
+      static _GLIBCXX_USE_CONSTEXPR bool traps 				\
+	= __glibcxx_integral_traps; 					\
+      static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; 	\
+      static _GLIBCXX_USE_CONSTEXPR float_round_style round_style 	\
+	= round_toward_zero; 						\
+    }; 									\
+									\
+  template<>								\
+    struct numeric_limits<unsigned TYPE>				\
+    {									\
+      static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true;		\
+									\
+      static _GLIBCXX_CONSTEXPR unsigned TYPE				\
+      min() _GLIBCXX_USE_NOEXCEPT { return 0; }				\
+									\
+      static _GLIBCXX_CONSTEXPR unsigned TYPE				\
+      max() _GLIBCXX_USE_NOEXCEPT					\
+      { return  __glibcxx_max_b (unsigned TYPE, BITSIZE); }		\
+									\
+      UEXT								\
+									\
+      static _GLIBCXX_USE_CONSTEXPR int digits				\
+	= BITSIZE;							\
+      static _GLIBCXX_USE_CONSTEXPR int digits10			\
+	= BITSIZE * 643L / 2136; 					\
+      static _GLIBCXX_USE_CONSTEXPR bool is_signed = false;		\
+      static _GLIBCXX_USE_CONSTEXPR bool is_integer = true;		\
+      static _GLIBCXX_USE_CONSTEXPR bool is_exact = true;		\
+      static _GLIBCXX_USE_CONSTEXPR int radix = 2;			\
+									\
+      static _GLIBCXX_CONSTEXPR unsigned TYPE 				\
+      epsilon() _GLIBCXX_USE_NOEXCEPT { return 0; }			\
+									\
+      static _GLIBCXX_CONSTEXPR unsigned TYPE				\
+      round_error() _GLIBCXX_USE_NOEXCEPT { return 0; }			\
+									\
+      static _GLIBCXX_USE_CONSTEXPR int min_exponent = 0;		\
+      static _GLIBCXX_USE_CONSTEXPR int min_exponent10 = 0;		\
+      static _GLIBCXX_USE_CONSTEXPR int max_exponent = 0; 		\
+      static _GLIBCXX_USE_CONSTEXPR int max_exponent10 = 0;		\
+									\
+      static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false;		\
+      static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false;		\
+      static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false;	\
+      static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm	\
+       = denorm_absent; 						\
+      static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false;	\
+									\
+      static _GLIBCXX_CONSTEXPR unsigned TYPE 				\
+      infinity() _GLIBCXX_USE_NOEXCEPT 					\
+      { return static_cast<unsigned TYPE>(0); }				\
+									\
+      static _GLIBCXX_CONSTEXPR unsigned TYPE				\
+      quiet_NaN() _GLIBCXX_USE_NOEXCEPT 				\
+      { return static_cast<unsigned TYPE>(0); }				\
+									\
+      static _GLIBCXX_CONSTEXPR unsigned TYPE				\
+      signaling_NaN() _GLIBCXX_USE_NOEXCEPT				\
+      { return static_cast<unsigned TYPE>(0); }				\
+									\
+      static _GLIBCXX_CONSTEXPR unsigned TYPE 				\
+      denorm_min() _GLIBCXX_USE_NOEXCEPT				\
+      { return static_cast<unsigned TYPE>(0); }				\
+									\
+      static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false;		\
+      static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true;		\
+      static _GLIBCXX_USE_CONSTEXPR bool is_modulo = true;		\
+									\
+      static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; \
+      static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false;	\
+      static _GLIBCXX_USE_CONSTEXPR float_round_style round_style	\
+	= round_toward_zero;						\
     };
 
 #if __cplusplus >= 201103L
 
-#define __INT_N_201103(TYPE)							\
-      static constexpr TYPE 							\
-      lowest() noexcept { return min(); }					\
+#define __INT_N_201103(TYPE)						\
+      static constexpr TYPE 						\
+      lowest() noexcept { return min(); }				\
       static constexpr int max_digits10 = 0;
 
-#define __INT_N_U201103(TYPE)							\
-      static constexpr unsigned TYPE 						\
-      lowest() noexcept { return min(); }					\
+#define __INT_N_U201103(TYPE)						\
+      static constexpr unsigned TYPE  					\
+      lowest() noexcept { return min(); }				\
       static constexpr int max_digits10 = 0;
 
 #else
@@ -1634,19 +1634,23 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
 #ifdef __GLIBCXX_TYPE_INT_N_0
   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
-	  __INT_N_201103 (__GLIBCXX_TYPE_INT_N_0), __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
+	  __INT_N_201103 (__GLIBCXX_TYPE_INT_N_0),
+	  __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
 #endif
 #ifdef __GLIBCXX_TYPE_INT_N_1
   __INT_N (__GLIBCXX_TYPE_INT_N_1, __GLIBCXX_BITSIZE_INT_N_1,
-	  __INT_N_201103 (__GLIBCXX_TYPE_INT_N_1), __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_1))
+	  __INT_N_201103 (__GLIBCXX_TYPE_INT_N_1),
+	  __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_1))
 #endif
 #ifdef __GLIBCXX_TYPE_INT_N_2
   __INT_N (__GLIBCXX_TYPE_INT_N_2, __GLIBCXX_BITSIZE_INT_N_2,
-	  __INT_N_201103 (__GLIBCXX_TYPE_INT_N_2), __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_2))
+	  __INT_N_201103 (__GLIBCXX_TYPE_INT_N_2),
+	  __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_2))
 #endif
 #ifdef __GLIBCXX_TYPE_INT_N_3
   __INT_N (__GLIBCXX_TYPE_INT_N_3, __GLIBCXX_BITSIZE_INT_N_3,
-	  __INT_N_201103 (__GLIBCXX_TYPE_INT_N_3), __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_3))
+	  __INT_N_201103 (__GLIBCXX_TYPE_INT_N_3),
+	  __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_3))
 #endif
 
 #undef __INT_N