1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-21 18:22:53 +01:00

[Analysis] Use ListSeparator (NFC)

This commit is contained in:
Kazu Hirata 2021-02-14 08:36:14 -08:00
parent 304d2b10bb
commit 58892aceb7

View File

@ -420,13 +420,9 @@ struct DivergencePropagator {
#ifndef NDEBUG
static void printBlockSet(ConstBlockSet &Blocks, raw_ostream &Out) {
Out << "[";
bool First = true;
for (const auto *BB : Blocks) {
if (!First)
Out << ", ";
First = false;
Out << BB->getName();
}
ListSeparator LS;
for (const auto *BB : Blocks)
Out << LS << BB->getName();
Out << "]";
}
#endif