[Lldb-commits] [lldb] [lldb][progress] Hook up new broadcast bit and progress manager (PR #83069)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 29 18:26:28 PST 2024


================
@@ -22,38 +23,47 @@ std::atomic<uint64_t> Progress::g_id(0);
 Progress::Progress(std::string title, std::string details,
                    std::optional<uint64_t> total,
                    lldb_private::Debugger *debugger)
-    : m_title(title), m_details(details), m_id(++g_id), m_completed(0),
-      m_total(Progress::kNonDeterministicTotal) {
+    : m_progress_data{title,
+                      details,
+                      ++g_id,
+                      /*m_progress_data.completed*/ 0,
----------------
JDevlieghere wrote:

Nit: llvm uses this style: ```/*m_progress_data.completed=*/0,```

https://github.com/llvm/llvm-project/pull/83069


More information about the lldb-commits mailing list