mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +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];
|
const ActionTuple &AT = Actions[A];
|
||||||
if (AT.size() > 1)
|
if (AT.size() > 1)
|
||||||
OS << "std::make_tuple(";
|
OS << "std::make_tuple(";
|
||||||
bool First = true;
|
ListSeparator LS;
|
||||||
for (const auto &SingleAction : AT) {
|
for (const auto &SingleAction : AT) {
|
||||||
if (!First)
|
OS << LS;
|
||||||
OS << ", ";
|
|
||||||
First = false;
|
|
||||||
SingleAction.print(OS);
|
SingleAction.print(OS);
|
||||||
}
|
}
|
||||||
if (AT.size() > 1)
|
if (AT.size() > 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user