[Lldb-commits] [PATCH] D72133: Data formatters: Look through array element typedefs
Jaroslav Sevcik via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 3 02:36:35 PST 2020
jarin created this revision.
jarin added a project: LLDB.
Herald added a subscriber: lldb-commits.
Motivation: When formatting an array of typedefed chars, we would like to display the array as a string.
The string formatter currently does not trigger because the formatter lookup does not resolve typedefs for array elements (this behavior is inconsistent with pointers, for those we do look through pointee typedefs). This patch tries to make the array formatter lookup somewhat consistent with the pointer formatter lookup.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4492 bytes
Desc: not available
More information about the lldb-commits