19void OutputError::anchor() {}
20void OutputConfigError::anchor() {}
21void TempFileOutputError::anchor() {}
43class OutputErrorCategory :
public std::error_category {
45 const char *
name()
const noexcept override;
46 std::
string message(
int EV)
const override;
51 static OutputErrorCategory ErrorCategory;
55const char *OutputErrorCategory::name()
const noexcept {
56 return "llvm.vfs.output";
59std::string OutputErrorCategory::message(
int EV)
const {
63 return "invalid config";
65 return "output not closed";
67 return "output already closed";
69 return "output has open proxy";
72 "An enumerator of OutputErrorCode does not have a message defined.");
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
This file contains the declarations of the OutputError class.
void log(raw_ostream &OS) const override
Print an error message to an output stream.
This class implements an extremely fast bulk output stream that can only output to a stream.
void log(raw_ostream &OS) const override
StringRef getOutputPath() const
void log(raw_ostream &OS) const override
Print an error message to an output stream.
void log(raw_ostream &OS) const override
StringRef getTempPath() const
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
const std::error_category & output_category()
This is an optimization pass for GlobalISel generic memory operations.
Implement std::hash so that hash_code can be used in STL containers.