summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/bugpoint.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
commit3562c2dd9fd8b82432b6bc682ef92ace785f940f (patch)
tree99a3b3087ddf39bcfe1ef636b8dca3f3d817f0c3 /llvm/tools/bugpoint/bugpoint.cpp
parentc94edd6cdee4f3a51ae42be6e3cb6c585271c8be (diff)
downloadbcm5719-llvm-3562c2dd9fd8b82432b6bc682ef92ace785f940f.tar.gz
bcm5719-llvm-3562c2dd9fd8b82432b6bc682ef92ace785f940f.zip
Make ToolExecutionError inherit std::exception and implement its
interface: getMessage() is gone, use what() instead. llvm-svn: 11621
Diffstat (limited to 'llvm/tools/bugpoint/bugpoint.cpp')
-rw-r--r--llvm/tools/bugpoint/bugpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/bugpoint.cpp b/llvm/tools/bugpoint/bugpoint.cpp
index 3c89dce525a..65de9658a7e 100644
--- a/llvm/tools/bugpoint/bugpoint.cpp
+++ b/llvm/tools/bugpoint/bugpoint.cpp
@@ -54,7 +54,7 @@ int main(int argc, char **argv) {
try {
return D.run();
} catch (ToolExecutionError &TEE) {
- std::cerr << "Tool execution error: " << TEE.getMessage() << "\n";
+ std::cerr << "Tool execution error: " << TEE.what() << "\n";
return 1;
} catch (...) {
std::cerr << "Whoops, an exception leaked out of bugpoint. "
OpenPOWER on IntegriCloud