aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvmc/driver/Error.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc/driver/Error.h')
-rw-r--r--tools/llvmc/driver/Error.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/tools/llvmc/driver/Error.h b/tools/llvmc/driver/Error.h
deleted file mode 100644
index c0aaff1..0000000
--- a/tools/llvmc/driver/Error.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//===--- Error.h - The LLVM Compiler Driver ---------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open
-// Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// Exception classes for LLVMC.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_TOOLS_LLVMC2_ERROR_H
-#define LLVM_TOOLS_LLVMC2_ERROR_H
-
-#include <stdexcept>
-
-namespace llvmc {
-
- class error_code: public std::runtime_error {
- int Code_;
- public:
- error_code (int c)
- : std::runtime_error("Tool returned error code"), Code_(c)
- {}
-
- int code() const { return Code_; }
- };
-
-}
-
-#endif //LLVM_TOOLS_LLVMC2_ERROR_H