summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/tools/llvm-dwp/DWPError.h
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-08-03 15:06:44 +0000
committerpatrick <patrick@openbsd.org>2020-08-03 15:06:44 +0000
commitb64793999546ed8adebaeebd9d8345d18db8927d (patch)
tree4357c27b561d73b0e089727c6ed659f2ceff5f47 /gnu/llvm/tools/llvm-dwp/DWPError.h
parentAdd support for UTF-8 DISPLAY-HINTs with octet length. For now only (diff)
downloadwireguard-openbsd-b64793999546ed8adebaeebd9d8345d18db8927d.tar.xz
wireguard-openbsd-b64793999546ed8adebaeebd9d8345d18db8927d.zip
Remove LLVM 8.0.1 files.
Diffstat (limited to 'gnu/llvm/tools/llvm-dwp/DWPError.h')
-rw-r--r--gnu/llvm/tools/llvm-dwp/DWPError.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/gnu/llvm/tools/llvm-dwp/DWPError.h b/gnu/llvm/tools/llvm-dwp/DWPError.h
deleted file mode 100644
index 62025ed4caa..00000000000
--- a/gnu/llvm/tools/llvm-dwp/DWPError.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#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