|
Vcsn
2.0
Be Rational
|
Go to the documentation of this file. 1 #ifndef VCSN_MISC_BUILTINS_HH
2 # define VCSN_MISC_BUILTINS_HH
4 # if defined __clang__ || defined __GNUC__
6 # define BUILTIN_UNREACHABLE() __builtin_unreachable()
8 # elif defined _MSC_VER
10 # define BUILTIN_UNREACHABLE() __assume(0)
14 # define BUILTIN_UNREACHABLE() \
16 assert(!"unreachable code"); \
22 #endif // !VCSN_MISC_BUILTINS_HH