[Lldb-commits] [lldb] [lldb][Progress] Separate title and details (PR #77547)
Chelsea Cassanova via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 10 14:45:12 PST 2024
================
@@ -90,10 +90,11 @@ class Progress {
/// @param [in] amount The amount to increment m_completed by.
///
/// @param [in] an optional message associated with this update.
- void Increment(uint64_t amount = 1, std::string update = {});
+ void Increment(uint64_t amount = 1,
+ std::optional<std::string> updated_detail = {});
----------------
chelcassanova wrote:
`updated_detail` is still kept as an empty string by default, though I'm unsure if the empty string or `std::nullopt` is preferred here
https://github.com/llvm/llvm-project/pull/77547
More information about the lldb-commits
mailing list