common: prefer __alignof__ over alignof
The latter will generate a -Wc++98-compat-pedantic diagnostic in clang,
the underscore version will not.  This happens even though we check to
make sure the feature is supported (via __has_feature or if we're
compiling in C++11+ mode).
This also changes HEDLEY_GCC_VERSION_CHECK to HEDLEY_GNUC_VERSION_CHECK
for detecting this feature.
# define SIMDE_ALIGN(alignment)
#endif
-#if \
+#if HEDLEY_GNUC_VERSION_CHECK(2,95,0) || \
+ HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ HEDLEY_IBM_VERSION_CHECK(11,1,0)
+# define SIMDE_ALIGN_OF(T) (__alignof__(T))
+#elif \
(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)) || \
HEDLEY_HAS_FEATURE(c11_alignof)
# define SIMDE_ALIGN_OF(T) (_Alignof(T))
(defined(__cplusplus) && (__cplusplus >= 201103L)) || \
HEDLEY_HAS_FEATURE(cxx_alignof)
# define SIMDE_ALIGN_OF(T) (alignof(T))
-#elif HEDLEY_GCC_VERSION_CHECK(2,95,0) || \
- HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
- HEDLEY_IBM_VERSION_CHECK(11,1,0)
-# define SIMDE_ALIGN_OF(T) (__alignof__(T))
#endif
#if defined(SIMDE_ALIGN_OF)
