Ignore warning from simde on clang

This commit is contained in:
Kovid Goyal
2023-11-14 15:38:21 +05:30
parent 73d657a21a
commit 794bd85371

View File

@@ -8,7 +8,13 @@
#define SIMDE_ENABLE_NATIVE_ALIASES
#include "data-types.h"
#include "simd-string.h"
#ifdef __clang__
_Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"")
#endif
#include <simde/x86/avx2.h>
#ifdef __clang__
_Pragma("clang diagnostic pop")
#endif
static bool has_sse4_2 = false, has_avx2 = false;