31 unsigned num_errors_ = 0;
32 unsigned num_warnings_ = 0;
SymPool(const SymPool &)=delete
Use/derive from this class for "global" variables that you need all over the place.
unsigned num_warnings() const
void warn(Loc loc, std::format_string< Args... > fmt, Args &&... args)
static void note(Loc loc, std::format_string< Args... > fmt, Args &&... args)
void err(Loc loc, std::format_string< Args... > fmt, Args &&... args)
unsigned num_errors() const