Followup to a previous pacification, this performs the same workaround
to the TableGen generated code for tuple automata.
llvm-svn: 373883
void CustomDfaEmitter::printActionValue(action_type A, raw_ostream &OS) {
const ActionTuple &AT = Actions[A];
if (AT.size() > 1)
- OS << "{";
+ OS << "std::make_tuple(";
bool First = true;
for (const auto &SingleAction : AT) {
if (!First)
SingleAction.print(OS);
}
if (AT.size() > 1)
- OS << "}";
+ OS << ")";
}
namespace llvm {