[Lldb-commits] [lldb] [lldb][Progress] Separate title and details (PR #77547)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 9 23:58:29 PST 2024
================
@@ -69,7 +69,8 @@ class Progress {
///
/// @param [in] debugger An optional debugger pointer to specify that this
/// progress is to be reported only to specific debuggers.
- Progress(std::string title, uint64_t total = UINT64_MAX,
+ Progress(std::string title, std::string details = {},
+ uint64_t total = UINT64_MAX,
----------------
clayborg wrote:
Might be good to start using `std::optional<uint64_t>` internally in the `Progress` class and avoid the magic numbers as long as we are changing things up
https://github.com/llvm/llvm-project/pull/77547
More information about the lldb-commits
mailing list