4#ifndef ESBMC_FORMATS_START_ASSERTION
5# error Do not include this header directly, use <util/message/format.h>
14 constexpr auto parse(format_parse_context &ctx)
16 auto it = ctx.begin(), end = ctx.end();
17 if (it != end && *it !=
'}')
18 throw format_error(
"invalid format");
23 template <
typename FormatContext>
26 return fmt::format_to(ctx.out(),
"{}", p.pretty(0));
Base class for all expressions.
Definition irep2.h:725
Classes and definitions for non-stringy internal representation.