#include <Error.h>
Definition at line 94 of file Error.h.
◆ anonymous enum
Enumerator |
---|
User | |
Warning | |
Runtime | |
Definition at line 95 of file Error.h.
◆ ErrorReport()
Halide::Internal::ErrorReport::ErrorReport |
( |
const char * | f, |
|
|
int | l, |
|
|
const char * | cs, |
|
|
int | flags ) |
◆ ~ErrorReport()
Halide::Internal::ErrorReport::~ErrorReport |
( |
| ) |
|
When you're done using << on the object, and let it fall out of scope, this errors out, or throws an exception if they are enabled.
This is a little dangerous because the destructor will also be called if there's an exception in flight due to an error in one of the arguments passed to operator<<. We handle this by only actually throwing if there isn't an exception in flight already.
◆ ref()
◆ operator<<()
template<typename T >
ErrorReport & Halide::Internal::ErrorReport::operator<< |
( |
const T & | x | ) |
|
|
inline |
◆ msg
std::ostringstream Halide::Internal::ErrorReport::msg |
◆ flags
const int Halide::Internal::ErrorReport::flags |
The documentation for this struct was generated from the following file: