Static Public Member Functions | |
static void | warn (SourceLocation source_location, std::string msg) |
Issue a warning with a given message. More... | |
static void | set_warning_handler (handler_t handler) |
Sets the global warning handler. More... | |
static void | print_warning (const SourceLocation &source_location, const char *msg) |
The default warning handler. Prints the message to stderr. | |
Definition at line 84 of file Exception.h.
|
static |
Sets the global warning handler.
This is not thread-safe, so it should generally be called once during initialization.
Definition at line 70 of file Exception.cpp.
|
static |
Issue a warning with a given message.
Dispatched to the current warning handler.
Definition at line 66 of file Exception.cpp.