You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
23
external/llvm/tools/llvm-dwp/DWPError.h
vendored
Normal file
23
external/llvm/tools/llvm-dwp/DWPError.h
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef TOOLS_LLVM_DWP_DWPERROR
|
||||
#define TOOLS_LLVM_DWP_DWPERROR
|
||||
|
||||
#include "llvm/Support/Error.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include <string>
|
||||
|
||||
namespace llvm {
|
||||
class DWPError : public ErrorInfo<DWPError> {
|
||||
public:
|
||||
DWPError(std::string Info) : Info(std::move(Info)) {}
|
||||
void log(raw_ostream &OS) const override { OS << Info; }
|
||||
std::error_code convertToErrorCode() const override {
|
||||
llvm_unreachable("Not implemented");
|
||||
}
|
||||
static char ID;
|
||||
|
||||
private:
|
||||
std::string Info;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user