Fix output of typedefs to avoid syntax errors.

* We now can correctly Cify the Olden-power benchmark


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3860 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-09-20 15:20:24 +00:00
parent 58d04d4e35
commit 270d78a8d6
2 changed files with 2 additions and 2 deletions

View File

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

View File

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