ZequanWu wrote:

> If the objection is that's a pain to do for every formatter, we could have 
> the type matcher do the dereferencing and always pass the formatter the 
> ValueObject that is the type they registered the formatter for.

Do you mean pass the formatter the ValueObject with type `T` that was 
registered when printing `T*` or `T**`, etc? Then the dereferencing needs to 
happen when we trying to get the summary or the synthetic value, could be 
cached of course. Is that right? This sounds good to me.

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

Reply via email to