summaryrefslogtreecommitdiff
path: root/tools/llvm-dwp/DWPError.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-dwp/DWPError.h')
-rw-r--r--tools/llvm-dwp/DWPError.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/llvm-dwp/DWPError.h b/tools/llvm-dwp/DWPError.h
index e0dd4edc8a8..62025ed4caa 100644
--- a/tools/llvm-dwp/DWPError.h
+++ b/tools/llvm-dwp/DWPError.h
@@ -1,6 +1,10 @@
+#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:
@@ -15,3 +19,5 @@ private:
std::string Info;
};
}
+
+#endif