[PATCH] D18163: Add visualizers for more clang types. Create more C++-like visualizations for existing Clang types
Mike Spertus via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 14 15:22:53 PDT 2016
mspertus created this revision.
mspertus added reviewers: aaron.ballman, zturner.
mspertus added a subscriber: cfe-commits.
Herald added a subscriber: aemerson.
This adds visualizers for PointerType and TemplateTypeParmType.
As I have been using these visualizers, I have found the DisplayStrings to be too verbose to cleanly see in the Locals Window, so I have changed the Display Strings to display in a more C++-like style. For example, instead of a SubstTemplateTypeParmType displaying as
SubstTemplateTypeParmType: {Identifier (("T"))} => Record (25), {Identifier (("A"))}
it now displays more readably as
SubstTemplateTypeParmType: {typename T <= struct A}
The `<expand>` sections still can be used for all the gory details if necessary
http://reviews.llvm.org/D18163
Files:
clang.natvis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18163.50658.patch
Type: text/x-patch
Size: 10207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160314/0d4295cb/attachment-0001.bin>
More information about the cfe-commits
mailing list