| 52 | |
| 53 | #ifdef __cpp_exceptions |
| 54 | __cold |
| 55 | void _assert_failed(const char *cond, const char *fn, const char *file, int line) { |
| 56 | throw assertion_failure( |
| 57 | log("FAILED ASSERTION `%s` in %s (at %s line %d)", |
| 58 | cond, fn, file, line)); |
| 59 | } |
| 60 | |
| 61 | __cold |
| 62 | void _precondition_failed(const char *cond, const char *fn, const char *file, int line) { |
nothing calls this directly
no test coverage detected