Files
clang-p2996/lldb/source/Core/Progress.cpp
royitaqi 12fa4b17dc [lldb] Make sure that a Progress "completed" update is always reported at destruction (#102097)
Make all `Progress` destructions to cause `progressEnd` events,
regardless of the value of `m_completed` before the destruction.

Currently, a `Progress` instance with `m_completed != 0 && m_complete !=
m_total` will cause a `progressUpdate` event (not `progressEnd`) at
destruction and. This contradicts with the classdoc: "a progress completed
update is reported even if the user doesn't explicitly cause one to be sent."
2024-08-07 07:58:34 -07:00

6.2 KiB