Skip to content

Commit ca46e07

Browse files
authored
Merge pull request #10573 from medismailben/swift/release/6.2
[lldb/Format] Make progress count show thousands separators (NFC) (llvm#137446)
2 parents 4ee3051 + a1d3548 commit ca46e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Core/FormatEntity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ bool FormatEntity::Format(const Entry &entry, Stream &s,
19681968
if (Target *target = Target::GetTargetFromContexts(exe_ctx, sc)) {
19691969
if (auto progress = target->GetDebugger().GetCurrentProgressReport()) {
19701970
if (progress->total != UINT64_MAX) {
1971-
s.Format("[{0}/{1}]", progress->completed, progress->total);
1971+
s.Format("[{0:N}/{1:N}]", progress->completed, progress->total);
19721972
return true;
19731973
}
19741974
}

0 commit comments

Comments
 (0)