13 [[noreturn]]
void NOT_REACHED(
const std::source_location location)
15 FatalError(
"NOT_REACHED triggered at line {} of {}", location.line(), location.file_name());
18 [[noreturn]]
void AssertFailedError(
const char *expression,
const std::source_location location)
20 FatalError(
"Assertion failed at line {} of {}: {}", location.line(), location.file_name(), expression);
Error reporting related functions.
Definition of base types and functions in a cross-platform compatible way.