MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
dbg.h File Reference
#include <algorithm>
#include <sstream>
#include <stdexcept>
#include <absl/container/flat_hash_map.h>
#include <absl/container/flat_hash_set.h>
#include <fe/loc.h>
#include <fe/sym.h>
#include <fe/term.h>
Include dependency graph for dbg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mim::Error
struct  mim::Error::Msg
struct  mim::Dbg

Namespaces

namespace  mim

Functions

template<class T = std::logic_error, class... Args>
void mim::error (std::format_string< Args... > fmt, Args &&... args)
 Wraps std::format to throw T with a formatted message.
std::ostream & mim::operator<< (std::ostream &os, const Error::Msg &msg)
Formatted Output
template<class... Args>
void mim::error (Loc loc, std::format_string< Args... > f, Args &&... args)