================
@@ -43,6 +44,17 @@ bool Char32SummaryProvider(ValueObject &valobj, Stream 
&stream,
 bool WCharSummaryProvider(ValueObject &valobj, Stream &stream,
                           const TypeSummaryOptions &options); // wchar_t
 
+std::optional<uint64_t> GetWCharByteSize(Target &target);
+
+/// Print a summary for a string buffer to \a stream.
+///
+/// The buffer consists of a data pointer, \a location_sp, and a known \a size.
----------------
Michael137 wrote:

Lets document the parameters like:
```
\param[in] stream ...
\param[in] summary_options ...
etc.
```

https://github.com/llvm/llvm-project/pull/144258
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to