mirror of
https://github.com/yuzu-mirror/dynarmic.git
synced 2025-12-06 04:42:00 +01:00
mcl: Add UNIMPLEMENTED macro
This commit is contained in:
parent
208acb3026
commit
e7bafeae24
1
externals/mcl/include/mcl/assert.hpp
vendored
1
externals/mcl/include/mcl/assert.hpp
vendored
|
|
@ -24,6 +24,7 @@ template<typename... Ts>
|
||||||
} // namespace mcl::detail
|
} // namespace mcl::detail
|
||||||
|
|
||||||
#define UNREACHABLE() ASSERT_FALSE("Unreachable code!")
|
#define UNREACHABLE() ASSERT_FALSE("Unreachable code!")
|
||||||
|
#define UNIMPLEMENTED() ASSERT_FALSE("Unimplemented at {}:{} ", __FILE__, __LINE__);
|
||||||
|
|
||||||
#define ASSERT(expr) \
|
#define ASSERT(expr) \
|
||||||
[&] { \
|
[&] { \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue