bool got_default = false;
for (auto it = sw->cases.begin(); it != sw->cases.end(); ++it) {
+ dump_attributes(f, indent + " ", (*it)->attributes, '\n', /*modattr=*/false, /*as_comment=*/true);
if ((*it)->compare.size() == 0) {
if (got_default)
continue;
dump_sigspec(f, (*it)->compare[i]);
}
}
- f << stringf(":");
- dump_attributes(f, indent, (*it)->attributes, ' ', /*modattr=*/false, /*as_comment=*/true);
- f << stringf("\n");
+ f << stringf(":\n");
dump_case_body(f, indent + " ", *it);
}