error overloads
Declared in <llvm/CGData/CodeGenDataReader.h>
Record a CGDataError from E and return a matching error.
Error
error(Error&& E);
» more...
Set the current error and return same.
Error
error(
cgdata_error Err,
std::string const& ErrMsg = "");
» more...
Err is success, otherwise a CGDataError for Err.| Name | Description |
|---|---|
| E | Error to consume; expected to contain a CGDataError. |
| Err | Codegen-data error code to record. |
| ErrMsg | Optional detail message associated with Err. |