PrintFatalError overloads
Declared in <llvm/TableGen/Error.h>
Print an error via PrintMsg and then exit the process.
[[noreturn]]
void
PrintFatalError(function_ref<void(raw_ostream&)> PrintMsg);
» more...
Print an error with message Msg and then exit the process.
[[noreturn]]
void
PrintFatalError(Twine const& Msg);
» more...
Print an error at ErrorLoc and then exit the process.
[[noreturn]]
void
PrintFatalError(
ArrayRef<SMLoc> ErrorLoc,
Twine const& Msg);
» more...
Print an error at the location of record Rec and then exit the process.
[[noreturn]]
void
PrintFatalError(
Record const* Rec,
Twine const& Msg);
» more...
Print an error at the location of field RecVal and then exit the process.
[[noreturn]]
void
PrintFatalError(
RecordVal const* RecVal,
Twine const& Msg);
» more...
This function does not return.
| Name | Description |
|---|---|
| PrintMsg | Callback that writes the error body to OS. |
| Msg | Error text to print before exiting. |
| ErrorLoc | Source locations associated with the error. |
| Rec | Record whose source location is used for the error. |
| RecVal | Record field whose source location is used for the error. |