common: Change semantics of UNREACHABLE to unconditionally crash

This commit is contained in:
Liam 2022-06-07 17:02:29 -04:00
parent 063d8354a7
commit c1771c98f3
72 changed files with 182 additions and 173 deletions

View file

@ -11,3 +11,8 @@ void assert_handle_failure() {
Crash();
}
}
[[noreturn]] void unreachable_impl() {
Crash();
throw std::runtime_error("Unreachable code");
}