mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Fix VC++ complaint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19747 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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) {
|
|||||||
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.
|
||||||
}
|
}
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user