================
@@ -404,8 +404,49 @@ 
lldb_private::formatters::LibStdcppSharedPtrSyntheticFrontEndCreator(
                     : nullptr);
 }
 
+static ValueObjectSP GetReferenceCountPointer(ValueObject &parent,
+                                              bool is_atomic_child) {
+  auto refcount = parent.GetChildMemberWithName("_M_refcount");
----------------
Michael137 wrote:

We usually suffix shared_ptr's with `_sp`. Applies to rest of function too.

Also, we try to avoid `auto` when the type is not obvious. I think that'd apply 
here too

https://github.com/llvm/llvm-project/pull/174218
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to