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:
Reid Spencer 2006-06-01 07:24:29 +00:00
parent 569f3913a9
commit 3364e527bc
1 changed files with 1 additions and 1 deletions

View File

@ -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;