aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/ToolRunner.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-19 07:39:26 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-19 07:39:26 +0000
commit1d29a6d6c7a7f6203065c003d3d2d002870e38a1 (patch)
treee4829dcf6f561e06c0a4054e91169c5581f92f3d /lib/Support/ToolRunner.cpp
parent280f9c939df526cca97b025bca405fb495db474d (diff)
Make ToolExecutionError inherit std::exception and implement its
interface: getMessage() is gone, use what() instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/ToolRunner.cpp')
-rw-r--r--lib/Support/ToolRunner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/ToolRunner.cpp b/lib/Support/ToolRunner.cpp
index 6ad3d4392c..4a7be56461 100644
--- a/lib/Support/ToolRunner.cpp
+++ b/lib/Support/ToolRunner.cpp
@@ -21,6 +21,8 @@
#include <sstream>
using namespace llvm;
+ToolExecutionError::~ToolExecutionError() throw() { }
+
static void ProcessFailure(std::string ProgPath, const char** Args) {
std::ostringstream OS;
OS << "\nError running tool:\n ";