Go to the documentation of this file.
25 #if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)))
27 #define UNREACHABLE __builtin_unreachable()
29 #elif ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5) && (defined(__i386__) || defined(__x86_64__) || defined(__arm__)))
31 #define UNREACHABLE __builtin_unreachable()
33 #elif defined(_MSC_VER)
35 #define UNREACHABLE __assume(0)
46 #define UNREACHABLE assert(false)
50 #endif // UNREACHABLE_HH