mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Call this method with the object we have
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24279 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ed0c4ecf05
commit
36c975c023
@ -999,7 +999,7 @@ void CWriter::printModuleTypes(const SymbolTable &ST) {
|
||||
Out << "/* Structure forward decls */\n";
|
||||
for (; I != End; ++I)
|
||||
if (const Type *STy = dyn_cast<StructType>(I->second)) {
|
||||
std::string Name = "struct l_" + Mangler::makeNameProper(I->first);
|
||||
std::string Name = "struct l_" + Mang->makeNameProper(I->first);
|
||||
Out << Name << ";\n";
|
||||
TypeNames.insert(std::make_pair(STy, Name));
|
||||
}
|
||||
@ -1010,7 +1010,7 @@ void CWriter::printModuleTypes(const SymbolTable &ST) {
|
||||
Out << "/* Typedefs */\n";
|
||||
for (I = ST.type_begin(); I != End; ++I) {
|
||||
const Type *Ty = cast<Type>(I->second);
|
||||
std::string Name = "l_" + Mangler::makeNameProper(I->first);
|
||||
std::string Name = "l_" + Mang->makeNameProper(I->first);
|
||||
Out << "typedef ";
|
||||
printType(Out, Ty, Name);
|
||||
Out << ";\n";
|
||||
|
@ -999,7 +999,7 @@ void CWriter::printModuleTypes(const SymbolTable &ST) {
|
||||
Out << "/* Structure forward decls */\n";
|
||||
for (; I != End; ++I)
|
||||
if (const Type *STy = dyn_cast<StructType>(I->second)) {
|
||||
std::string Name = "struct l_" + Mangler::makeNameProper(I->first);
|
||||
std::string Name = "struct l_" + Mang->makeNameProper(I->first);
|
||||
Out << Name << ";\n";
|
||||
TypeNames.insert(std::make_pair(STy, Name));
|
||||
}
|
||||
@ -1010,7 +1010,7 @@ void CWriter::printModuleTypes(const SymbolTable &ST) {
|
||||
Out << "/* Typedefs */\n";
|
||||
for (I = ST.type_begin(); I != End; ++I) {
|
||||
const Type *Ty = cast<Type>(I->second);
|
||||
std::string Name = "l_" + Mangler::makeNameProper(I->first);
|
||||
std::string Name = "l_" + Mang->makeNameProper(I->first);
|
||||
Out << "typedef ";
|
||||
printType(Out, Ty, Name);
|
||||
Out << ";\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user