Returned comment

This commit is contained in:
Alexey Milovidov 2023-11-10 02:32:17 +01:00
parent 453b747d03
commit ff11d69be4

View File

@ -125,6 +125,9 @@
#define UNREACHABLE() abort()
// clang-format off
#else
/// Here sizeof() trick is used to suppress unused warning for result,
/// since simple "(void)x" will evaluate the expression, while
/// "sizeof(!(x))" will not.
#define chassert(x) (void)sizeof(!(x))
#define UNREACHABLE() __builtin_unreachable()
#endif