9#ifndef LLVM_SUPPORT_ERROREXTRAS_H
10#define LLVM_SUPPORT_ERROREXTRAS_H
19template <
typename... Ts>
26template <
typename... Ts>
29 std::forward<Ts>(Vals)...);
Lightweight error class with error context and mandatory checking.
This is an optimization pass for GlobalISel generic memory operations.
Error createStringErrorV(std::error_code EC, char const *Fmt, Ts &&...Vals)
LLVM_ABI std::error_code inconvertibleErrorCode()
The value returned by this function can be returned from convertToErrorCode for Error values where no...
auto formatv(bool Validate, const char *Fmt, Ts &&...Vals)
Error make_error(ArgTs &&... Args)
Make a Error instance representing failure using the given error info type.