Skip to content

Commit f82283a

Browse files
authored
llvm-reduce: Use 80 dashes for section separator in status printing (#133686)
1 parent 606e0b4 commit f82283a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

llvm/tools/llvm-reduce/deltas/Delta.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ static cl::opt<unsigned> NumJobs(
6363
unsigned NumJobs = 1;
6464
#endif
6565

66+
static StringLiteral SeparatorLine =
67+
"--------------------------------------------------------------------------"
68+
"------\n";
69+
6670
/// Splits Chunks in half and prints them.
6771
/// If unable to split (when chunk size is 1) returns false.
6872
static bool increaseGranularity(std::vector<Chunk> &Chunks) {
@@ -223,7 +227,7 @@ void llvm::runDeltaPass(TestRunner &Test, const DeltaPass &Pass) {
223227
if (!Targets) {
224228
if (Verbose)
225229
errs() << "\nNothing to reduce\n";
226-
errs() << "----------------------------\n";
230+
errs() << SeparatorLine;
227231
return;
228232
}
229233

@@ -359,5 +363,5 @@ void llvm::runDeltaPass(TestRunner &Test, const DeltaPass &Pass) {
359363
}
360364
if (Verbose)
361365
errs() << "Couldn't increase anymore.\n";
362-
errs() << "----------------------------\n";
366+
errs() << SeparatorLine;
363367
}

0 commit comments

Comments
 (0)