jimingham wrote:

It isn't that hard to have your formatter dereference the ValueObject it was 
provided till it's of the form that it wants to deal with (type or pointer) and 
then pass that to the main formatter.

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.

This just seems like a really arbitrary restriction, not particularly 
user-friendly, and is being imposed just to work around formatter bugs, which 
doesn't strike me as a good motivation.

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