blob: ab846f49a559cf3a03a8d160c3f8701b8e0fdd0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#define CONCAT_IMPL(a, b) a##b
#define CONCAT(a, b) CONCAT_IMPL(a, b)
#define UNIQUE_NAME(prefix) CONCAT(prefix, __LINE__)
#if defined(_MSC_VER)
# define UNREACHABLE __assume(false)
#elif defined(__clang__) || defined(__GNUC__)
# define UUNREACHABLE __builtin_unreachable()
#endif
|