forked from OSchip/llvm-project
[TableGen] Use ListSeparator (NFC)
This commit is contained in:
parent
c86c96a710
commit
744a96afed
|
@ -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