================ @@ -55,6 +55,12 @@ void AddFilter(TypeCategoryImpl::SharedPointer category_sp, std::optional<size_t> ExtractIndexFromString(const char *item_name); +/// Returns \c false if the smart pointer formatters shouldn't continue +/// formatting the rest of the object. Currently this is the case when the +/// pointer is a nullptr. +bool DumpCxxSmartPtrPointerSummary(Stream &stream, ValueObject &ptr, + const TypeSummaryOptions &options); ---------------- Michael137 wrote:
Applied your suggestion (and refactored the weak/strong count logic in the latest commit). Happy to split that up into a separate PR if this is becoming too noisy. https://github.com/llvm/llvm-project/pull/146909 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits