mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[Analysis] Use ListSeparator (NFC)
This commit is contained in:
parent
304d2b10bb
commit
58892aceb7
@ -420,13 +420,9 @@ struct DivergencePropagator {
|
|||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
static void printBlockSet(ConstBlockSet &Blocks, raw_ostream &Out) {
|
static void printBlockSet(ConstBlockSet &Blocks, raw_ostream &Out) {
|
||||||
Out << "[";
|
Out << "[";
|
||||||
bool First = true;
|
ListSeparator LS;
|
||||||
for (const auto *BB : Blocks) {
|
for (const auto *BB : Blocks)
|
||||||
if (!First)
|
Out << LS << BB->getName();
|
||||||
Out << ", ";
|
|
||||||
First = false;
|
|
||||||
Out << BB->getName();
|
|
||||||
}
|
|
||||||
Out << "]";
|
Out << "]";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user