We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf5f393 commit 6be3225Copy full SHA for 6be3225
simde/simde-detect-clang.h
@@ -60,7 +60,13 @@
60
*/
61
62
#if defined(__clang__) && !defined(SIMDE_DETECT_CLANG_VERSION)
63
-# if __has_warning("-Warray-compare-cxx26")
+# if __has_warning("-Wlifetime-safety")
64
+# define SIMDE_DETECT_CLANG_VERSION 230000
65
+# elif __has_builtin(__builtin_elementwise_fshl)
66
+# define SIMDE_DETECT_CLANG_VERSION 220000
67
+# elif __has_builtin(__builtin_structured_binding_size)
68
+# define SIMDE_DETECT_CLANG_VERSION 210000
69
+# elif __has_warning("-Warray-compare-cxx26")
70
# define SIMDE_DETECT_CLANG_VERSION 200000
71
# elif __has_warning("-Wmissing-designated-field-initializers")
72
# define SIMDE_DETECT_CLANG_VERSION 190000
0 commit comments