forked from OSchip/llvm-project
Restore default arguments for llvm2cpp back to health by declaring an
emitted variable to actually have a type (picky, picky, picky!) llvm-svn: 28625
This commit is contained in:
parent
569f3913a9
commit
3364e527bc
|
@ -1405,7 +1405,7 @@ void CppWriter::printModule(
|
|||
) {
|
||||
Out << "\nModule* " << fname << "() {\n";
|
||||
Out << "\n// Module Construction\n";
|
||||
Out << "\nmod = new Module(\"" << mName << "\");\n";
|
||||
Out << "\nModule* mod = new Module(\"" << mName << "\");\n";
|
||||
Out << "mod->setEndianness(";
|
||||
switch (TheModule->getEndianness()) {
|
||||
case Module::LittleEndian: Out << "Module::LittleEndian);\n"; break;
|
||||
|
|
Loading…
Reference in New Issue