diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-19 07:39:26 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-19 07:39:26 +0000 |
commit | 1d29a6d6c7a7f6203065c003d3d2d002870e38a1 (patch) | |
tree | e4829dcf6f561e06c0a4054e91169c5581f92f3d /tools/bugpoint/bugpoint.cpp | |
parent | 280f9c939df526cca97b025bca405fb495db474d (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 'tools/bugpoint/bugpoint.cpp')
-rw-r--r-- | tools/bugpoint/bugpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp index 3c89dce525..65de9658a7 100644 --- a/tools/bugpoint/bugpoint.cpp +++ b/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. " |