Followup to a previous pacification, this performs the same workaround
to the TableGen generated code for tuple automata.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373883
91177308-0d34-0410-b5e6-
96231b3b80d8
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 {