[Lldb-commits] [lldb] [lldb][progress][NFC] Add unit test for progress reports (PR #79533)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 29 23:11:28 PST 2024
================
@@ -39,7 +39,7 @@ class ProgressEventData : public EventData {
GetAsStructuredData(const Event *event_ptr);
uint64_t GetID() const { return m_id; }
- bool IsFinite() const { return m_total != UINT64_MAX; }
+ bool IsFinite() const { return m_total != 1; }
----------------
clayborg wrote:
I mention creating a variable in the Progress class in an inline comment below:
```
bool IsFinite() const { return m_total != Progress::NO_TOTAL; }
```
https://github.com/llvm/llvm-project/pull/79533
More information about the lldb-commits
mailing list