Skip to content
Snippets Groups Projects
Commit 142b4a72 authored by Jeff Cohen's avatar Jeff Cohen
Browse files

Fix VC++ complaint

llvm-svn: 19747
parent ccbd3f0d
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,8 @@ public: ...@@ -79,7 +79,8 @@ public:
/// LLVM bytecode in a variety of ways. This abstract interface hides this /// LLVM bytecode in a variety of ways. This abstract interface hides this
/// complexity behind a simple interface. /// complexity behind a simple interface.
/// ///
struct AbstractInterpreter { class AbstractInterpreter {
public:
static CBE *createCBE(const std::string &ProgramPath, std::string &Message, static CBE *createCBE(const std::string &ProgramPath, std::string &Message,
const std::vector<std::string> *Args = 0); const std::vector<std::string> *Args = 0);
static LLC *createLLC(const std::string &ProgramPath, std::string &Message, static LLC *createLLC(const std::string &ProgramPath, std::string &Message,
......
...@@ -431,7 +431,7 @@ static bool TestForCodeGenCrash(BugDriver &BD, Module *M) { ...@@ -431,7 +431,7 @@ static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
BD.compileProgram(M); BD.compileProgram(M);
std::cerr << '\n'; std::cerr << '\n';
return false; return false;
} catch (ToolExecutionError &TEE) { } catch (ToolExecutionError &) {
std::cerr << "<crash>\n"; std::cerr << "<crash>\n";
return true; // Tool is still crashing. return true; // Tool is still crashing.
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment