summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-22 16:30:58 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-22 16:30:58 +0000
commit83881957edee0b1cb89428fa1a3b022d7d84ee13 (patch)
treee0f226d62d7a06f6249b8e81b4b4a1f4ab233797 /tools
parentc690cc046555c3fbb5d07fde19233f29f8d71dcd (diff)
downloadllvm-83881957edee0b1cb89428fa1a3b022d7d84ee13.tar.gz
llvm-83881957edee0b1cb89428fa1a3b022d7d84ee13.tar.bz2
llvm-83881957edee0b1cb89428fa1a3b022d7d84ee13.tar.xz
Fix VC++ complaint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19747 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/CrashDebugger.cpp2
-rw-r--r--tools/bugpoint/ToolRunner.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp
index 7dd6db4ab5..a8e5e98f25 100644
--- a/tools/bugpoint/CrashDebugger.cpp
+++ b/tools/bugpoint/CrashDebugger.cpp
@@ -431,7 +431,7 @@ static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
BD.compileProgram(M);
std::cerr << '\n';
return false;
- } catch (ToolExecutionError &TEE) {
+ } catch (ToolExecutionError &) {
std::cerr << "<crash>\n";
return true; // Tool is still crashing.
}
diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h
index b5313e942c..e44cd65741 100644
--- a/tools/bugpoint/ToolRunner.h
+++ b/tools/bugpoint/ToolRunner.h
@@ -79,7 +79,8 @@ public:
/// LLVM bytecode in a variety of ways. This abstract interface hides this
/// complexity behind a simple interface.
///
-struct AbstractInterpreter {
+class AbstractInterpreter {
+public:
static CBE *createCBE(const std::string &ProgramPath, std::string &Message,
const std::vector<std::string> *Args = 0);
static LLC *createLLC(const std::string &ProgramPath, std::string &Message,