mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[TableGen] Use ListSeparator (NFC)
This commit is contained in:
parent
dece4f91fe
commit
6e1c09263f
@ -376,11 +376,9 @@ void CustomDfaEmitter::printActionValue(action_type A, raw_ostream &OS) {
|
||||
const ActionTuple &AT = Actions[A];
|
||||
if (AT.size() > 1)
|
||||
OS << "std::make_tuple(";
|
||||
bool First = true;
|
||||
ListSeparator LS;
|
||||
for (const auto &SingleAction : AT) {
|
||||
if (!First)
|
||||
OS << ", ";
|
||||
First = false;
|
||||
OS << LS;
|
||||
SingleAction.print(OS);
|
||||
}
|
||||
if (AT.size() > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user