[NFC][MLIR][AsmPrinter] Use interleaveComma instead of interleave (#163197)
This commit is contained in:
parent
55ed34cb15
commit
b06e0a2f90
@ -2200,10 +2200,9 @@ void AsmPrinter::Impl::printLocationInternal(LocationAttr loc, bool pretty,
|
||||
os << '>';
|
||||
}
|
||||
os << '[';
|
||||
interleave(
|
||||
loc.getLocations(),
|
||||
[&](Location loc) { printLocationInternal(loc, pretty); },
|
||||
[&]() { os << ", "; });
|
||||
interleaveComma(loc.getLocations(), [&](Location loc) {
|
||||
printLocationInternal(loc, pretty);
|
||||
});
|
||||
os << ']';
|
||||
})
|
||||
.Default([&](LocationAttr loc) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user