diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-09-20 15:20:24 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-09-20 15:20:24 +0000 |
| commit | 2895a2f42101894441e3c5876a4f3b2c48f06be0 (patch) | |
| tree | 80f4c1920c169e922889b53ffd6e71118758f8b2 /llvm/lib/CWriter/Writer.cpp | |
| parent | 7bd37ed1a627e481a38f720385317ce241518e7e (diff) | |
| download | bcm5719-llvm-2895a2f42101894441e3c5876a4f3b2c48f06be0.tar.gz bcm5719-llvm-2895a2f42101894441e3c5876a4f3b2c48f06be0.zip | |
Fix output of typedefs to avoid syntax errors.
* We now can correctly Cify the Olden-power benchmark
llvm-svn: 3860
Diffstat (limited to 'llvm/lib/CWriter/Writer.cpp')
| -rw-r--r-- | llvm/lib/CWriter/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CWriter/Writer.cpp b/llvm/lib/CWriter/Writer.cpp index 469a3a8f007..7501a9bfde2 100644 --- a/llvm/lib/CWriter/Writer.cpp +++ b/llvm/lib/CWriter/Writer.cpp @@ -595,7 +595,7 @@ void CWriter::printSymbolTable(const SymbolTable &ST) { const Type *Ty = cast<Type>(I->second); string Name = "l_" + makeNameProper(I->first); Out << "typedef "; - printType(Ty, Name, true); + printType(Ty, Name); Out << ";\n"; } |

