[llvm-commits] CVS: llvm/lib/Support/ToolRunner.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Feb 19 01:42:54 PST 2004


Changes in directory llvm/lib/Support:

ToolRunner.cpp updated: 1.20 -> 1.21

---
Log message:

Make ToolExecutionError inherit std::exception and implement its
interface: getMessage() is gone, use what() instead.


---
Diffs of the changes:  (+2 -0)

Index: llvm/lib/Support/ToolRunner.cpp
diff -u llvm/lib/Support/ToolRunner.cpp:1.20 llvm/lib/Support/ToolRunner.cpp:1.21
--- llvm/lib/Support/ToolRunner.cpp:1.20	Wed Feb 18 17:24:41 2004
+++ llvm/lib/Support/ToolRunner.cpp	Thu Feb 19 01:39:26 2004
@@ -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 ";





More information about the llvm-commits mailing list