5050#undef HEDLEY_VERSION_ENCODE
5151#endif
5252#define HEDLEY_VERSION_ENCODE (major, minor, revision ) \
53- (((major)* 1000000 ) + ((minor)* 1000 ) + (revision))
53+ (((major) * 1000000 ) + ((minor) * 1000 ) + (revision))
5454
5555#if defined(HEDLEY_VERSION_DECODE_MAJOR)
5656#undef HEDLEY_VERSION_DECODE_MAJOR
194194#elif defined(__SUNPRO_C)
195195#define HEDLEY_SUNPRO_VERSION \
196196 HEDLEY_VERSION_ENCODE ( \
197- (__SUNPRO_C >> 8 ) & 0xf, (__SUNPRO_C >> 4 ) & 0xf, (__SUNPRO_C)& 0xf)
197+ (__SUNPRO_C >> 8 ) & 0xf, (__SUNPRO_C >> 4 ) & 0xf, (__SUNPRO_C) & 0xf)
198198#elif defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x1000)
199199#define HEDLEY_SUNPRO_VERSION \
200200 HEDLEY_VERSION_ENCODE ( \
204204#elif defined(__SUNPRO_CC)
205205#define HEDLEY_SUNPRO_VERSION \
206206 HEDLEY_VERSION_ENCODE ( \
207- (__SUNPRO_CC >> 8 ) & 0xf, (__SUNPRO_CC >> 4 ) & 0xf, (__SUNPRO_CC)& 0xf)
207+ (__SUNPRO_CC >> 8 ) & 0xf, (__SUNPRO_CC >> 4 ) & 0xf, (__SUNPRO_CC) & 0xf)
208208#endif
209209
210210#if defined(HEDLEY_SUNPRO_VERSION_CHECK)
@@ -1817,12 +1817,12 @@ HEDLEY_DIAGNOSTIC_POP
18171817#if defined(__INTPTR_TYPE__)
18181818#define HEDLEY_IS_CONSTEXPR_ (expr ) \
18191819 __builtin_types_compatible_p ( \
1820- __typeof__ ((1 ? (void *)((__INTPTR_TYPE__)((expr)* 0)) : (int *)0)), int*)
1820+ __typeof__ ((1 ? (void *)((__INTPTR_TYPE__)((expr) * 0)) : (int *)0)), int*)
18211821#else
18221822#include < stdint.h>
18231823#define HEDLEY_IS_CONSTEXPR_ (expr ) \
18241824 __builtin_types_compatible_p ( \
1825- __typeof__ ((1 ? (void *)((intptr_t )((expr)* 0)) : (int *)0)), int*)
1825+ __typeof__ ((1 ? (void *)((intptr_t )((expr) * 0)) : (int *)0)), int*)
18261826#endif
18271827#elif (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) && \
18281828 !defined (HEDLEY_SUNPRO_VERSION) && !defined(HEDLEY_PGI_VERSION) && \
@@ -1832,13 +1832,13 @@ HEDLEY_DIAGNOSTIC_POP
18321832 HEDLEY_IBM_VERSION_CHECK(12 , 1 , 0 ) || HEDLEY_ARM_VERSION_CHECK(5 , 3 , 0 )
18331833#if defined(__INTPTR_TYPE__)
18341834#define HEDLEY_IS_CONSTEXPR_ (expr ) \
1835- _Generic ((1 ? (void *)((__INTPTR_TYPE__)((expr)* 0)) : (int *)0), \
1835+ _Generic ((1 ? (void *)((__INTPTR_TYPE__)((expr) * 0)) : (int *)0), \
18361836 int*: 1, \
18371837 void*: 0)
18381838#else
18391839#include < stdint.h>
18401840#define HEDLEY_IS_CONSTEXPR_ (expr ) \
1841- _Generic ((1 ? (void *)((intptr_t )* 0) : (int *)0), int*: 1, void*: 0)
1841+ _Generic ((1 ? (void *)((intptr_t ) * 0) : (int *)0), int*: 1, void*: 0)
18421842#endif
18431843#elif defined(HEDLEY_GCC_VERSION) || defined(HEDLEY_INTEL_VERSION) || \
18441844 defined (HEDLEY_TINYC_VERSION) || defined(HEDLEY_TI_ARMCL_VERSION) || \
@@ -1847,7 +1847,7 @@ HEDLEY_DIAGNOSTIC_POP
18471847 defined(HEDLEY_TI_CL7X_VERSION) || defined(HEDLEY_TI_CLPRU_VERSION) || \
18481848 defined(__clang__)
18491849#define HEDLEY_IS_CONSTEXPR_ (expr ) \
1850- (sizeof (void ) != sizeof(*(1 ? ((void *)((expr)* 0L)) \
1850+ (sizeof (void ) != sizeof(*(1 ? ((void *)((expr) * 0L)) \
18511851 : ((struct { char v[sizeof (void ) * 2 ]; }*)1))))
18521852#endif
18531853#endif
0 commit comments