CompileTimeErrorReporter#

class CompileTimeErrorReporter#

CompileTimeErrorReporter is used at compile time (not runtime) when an error or warning is generated by Halide.

Note that error() is called a fatal error has occurred, and returning to Halide may cause a crash; implementations of CompileTimeErrorReporter::error() should never return. (Implementations of CompileTimeErrorReporter::warning() may return but may also abort(), exit(), etc.)