22 const char *
name()
const noexcept
override {
return "llvm.msf"; }
23 std::string
message(
int Condition)
const override {
24 switch (static_cast<msf_error_code>(Condition)) {
26 return "An unknown error has occurred.";
28 return "The buffer is not large enough to read the requested number of " 31 return "The specified stream is not writable.";
33 return "The specified stream does not exist.";
35 return "The data is in an unexpected format.";
37 return "The block is already in use.";
This class represents lattice values for constants.
const char * name() const noexcept override
static ManagedStatic< _object_error_category > error_category
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
static llvm::ManagedStatic< MSFErrorCategory > MSFCategory
const std::error_category & MSFErrCategory()
ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on...
std::string message(int Condition) const override