Cannot output `static' in generated cpp code: results in error. It's already

specified as a static member in class definition.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6370 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-05-27 22:29:02 +00:00
parent 86172ab3d6
commit b9dd8154b6
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
std::string ClassName = "SparcV9CodeEmitter::";
//const std::string &Namespace = Inst->getValue("Namespace")->getName();
o << "static unsigned " << ClassName
o << "unsigned " << ClassName
<< "getBinaryCodeForInstr(MachineInstr &MI) {\n"
<< " unsigned Value = 0;\n"
<< " std::cerr << MI;\n"

View File

@ -18,7 +18,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
std::string ClassName = "SparcV9CodeEmitter::";
//const std::string &Namespace = Inst->getValue("Namespace")->getName();
o << "static unsigned " << ClassName
o << "unsigned " << ClassName
<< "getBinaryCodeForInstr(MachineInstr &MI) {\n"
<< " unsigned Value = 0;\n"
<< " std::cerr << MI;\n"