1
0
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:
Kazu Hirata 2021-02-18 22:46:39 -08:00
parent dece4f91fe
commit 6e1c09263f

View File

@ -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)