mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
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:
parent
58d04d4e35
commit
270d78a8d6
@ -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";
|
||||
}
|
||||
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user