Changes in directory llvm/tools/llvm2cpp:
CppWriter.cpp updated: 1.10 -> 1.11 --- Log message: Restore default arguments for llvm2cpp back to health by declaring an emitted variable to actually have a type (picky, picky, picky!) --- Diffs of the changes: (+1 -1) CppWriter.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm2cpp/CppWriter.cpp diff -u llvm/tools/llvm2cpp/CppWriter.cpp:1.10 llvm/tools/llvm2cpp/CppWriter.cpp:1.11 --- llvm/tools/llvm2cpp/CppWriter.cpp:1.10 Wed May 31 23:21:20 2006 +++ llvm/tools/llvm2cpp/CppWriter.cpp Thu Jun 1 02:24:29 2006 @@ -1405,7 +1405,7 @@ ) { 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; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits