[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 09:39:04 PST 2025
jimingham wrote:
How does this patch fit with the:
-p ( --skip-pointers )
Don't use this format for pointers-to-type objects.
-r ( --skip-references )
Don't use this format for references-to-type objects.
settings in `type <formatter> add`? It seems like we let the formatters control whether they should also apply to pointers and references to those types. Shouldn't that be what controls whether formatters also apply to pointers?
And if a formatter says it can handle pointers, it's up to the formatter to do that right.
https://github.com/llvm/llvm-project/pull/124048
More information about the lldb-commits
mailing list