[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
Tue Feb 27 14:47:39 PST 2024


================
@@ -29,8 +30,12 @@ Progress::Progress(std::string title, std::string details,
 
   if (debugger)
     m_debugger_id = debugger->GetID();
+
+  m_progress_data = {m_title,     m_details, m_id,
+                     m_completed, m_total,   m_debugger_id};
----------------
JDevlieghere wrote:

Did `clang-format` format this like this? Interesting... 

Anyway, you should initialize this in the constructors initializer list (and get rid of `m_title` etc) as per my previous comment. 

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


More information about the lldb-commits mailing list