MCPcopy Create free account
hub / github.com/couchbase/fleece / _assert_failed

Function _assert_failed

Fleece/Support/betterassert.cc:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 2

assertion_failureClass · 0.85
logFunction · 0.85

Tested by

no test coverage detected