ImHex/lib/libimhex/include/hex/helpers/intrinsics.hpp

13 lines
188 B
C++

#pragma once
namespace hex {
[[noreturn]] inline void unreachable() {
__builtin_unreachable();
}
inline void unused(auto && ... x) {
((void)x, ...);
}
}