[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp
Chris Lattner
lattner at apoc.cs.uiuc.edu
Fri Sep 20 10:21:01 PDT 2002
Changes in directory llvm/lib/CWriter:
Writer.cpp updated: 1.49 -> 1.50
---
Log message:
Fix output of typedefs to avoid syntax errors.
* We now can correctly Cify the Olden-power benchmark
---
Diffs of the changes:
Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.49 llvm/lib/CWriter/Writer.cpp:1.50
--- llvm/lib/CWriter/Writer.cpp:1.49 Fri Sep 20 10:18:30 2002
+++ llvm/lib/CWriter/Writer.cpp Fri Sep 20 10:20:24 2002
@@ -595,7 +595,7 @@
const Type *Ty = cast<Type>(I->second);
string Name = "l_" + makeNameProper(I->first);
Out << "typedef ";
- printType(Ty, Name, true);
+ printType(Ty, Name);
Out << ";\n";
}
More information about the llvm-commits
mailing list