[cfe-dev] Visual Studio visualizer improvements for Clang

Michael Spertus via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 23 18:31:43 PDT 2016


A quick update: Visualizers for classes and their members are now checked in:

[cid:image003.png at 01D18543.033011C0]

Mike


From: Michael Spertus
Sent: Wednesday, March 16, 2016 10:04 AM
To: 'cfe-dev at lists.llvm.org' <cfe-dev at lists.llvm.org>
Subject: Visual Studio visualizer improvements for Clang

Chandler suggested that I socialize the improvements that I have been making to Clang data structure visualizations in Visual Studio. For example, these changes replace the traditional incomprehensible Locals/Watch display of a TemplateArgumentLoc

[cid:image004.png at 01D18543.033011C0]

Now it clearly displays that it is a Type Template Parameter where T has been replaced by struct A.
[cid:image005.png at 01D18543.033011C0]

I only have a small portion of the Clang data types done so far, but it is already really helping me keep track of what is going on while debugging Clang (It's also been an excellent way for me to learn Clang data structures :) ). I will be continuing to add further visualizations over the next few weeks and ongoing.

I hope these prove helpful to the community,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160323/d1f92369/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 111900 bytes
Desc: image003.png
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160323/d1f92369/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 14085 bytes
Desc: image004.png
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160323/d1f92369/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 11842 bytes
Desc: image005.png
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160323/d1f92369/attachment-0005.png>


More information about the cfe-dev mailing list