================
@@ -96,6 +97,8 @@ class FormattersMatchCandidate {
bool DidStripTypedef() const { return m_flags.stripped_typedef; }
+ uint32_t GetPtrStrippedDepth() const { return m_ptr_stripped_depth; }
----------------
ZequanWu wrote:
I meant this `FormattersMatchCandidate` has been stripped # of pointers from
its original type. `m_ptr_stripped_depth` is from
`FormatManager::GetPossibleMatches`. That's after we stripped the # of pointers
from a variable. For `int**`, after we recurse into `GetPossibleMatches` twice,
we have `int` and stripped depth being 2.
https://github.com/llvm/llvm-project/pull/138209
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits