[Lldb-commits] [lldb] [lldb][Formatters] Do not recursively dereference pointer type when creating formatter candicates list. (PR #124048)

via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 23 14:41:49 PST 2025


jimingham wrote:

I still feel like we should offer options here.  If I as a formatter writer are interested in handling all the pointer types of the type I've registered my formatter for, I should be allowed to do that.  If I say, my formatter is valid for all the pointer types as well as the type I've registered for, but I only want to write the formatter to handle Values of the original type, we could offer to do the dereferencing for them, and then pass the formatter in.  And of course, if you only want to be asked about values of the type you registered your formatter for, you can do that already.

https://github.com/llvm/llvm-project/pull/124048


More information about the lldb-commits mailing list