mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Put comma in correct place for call to StructType::get
llvm-svn: 59241
This commit is contained in:
parent
9dc2bd7973
commit
ab7198eb4b
@ -152,10 +152,12 @@ static void EmitTypeGenerate(std::ostream &OS,
|
||||
OS << "StructType::get(";
|
||||
|
||||
for (std::vector<Record*>::const_iterator
|
||||
I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I)
|
||||
I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I) {
|
||||
EmitTypeGenerate(OS, *I, ArgNo);
|
||||
OS << ", ";
|
||||
}
|
||||
|
||||
OS << ", NULL)";
|
||||
OS << " NULL)";
|
||||
}
|
||||
|
||||
static void EmitTypeGenerate(std::ostream &OS, const Record *ArgType,
|
||||
|
Loading…
x
Reference in New Issue
Block a user