<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">I've been away for a week (and will be for ~one more), but I've long wanted to write a patch for CMake so that it'd link to the natvis that's part of LLVM's repo. I think you can find the discussion in the January cfe-dev archives, and if you're up to it, go right ahead!<br><br>My local install of git is all screwed up, and since CMake uses git, I haven't gotten around to it.<br><br>sent from my (stupid) windows phone</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:cfe-dev@lists.llvm.org">Michael Spertus via cfe-dev</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎3/‎16/‎2016 4:17 PM</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [cfe-dev] Visual Studio visualizer improvements for Clang</span><br><br></div>Not unlike gdb visualizers, Visual Studio visualizers require some setup: You have to put clang.natvis and llvm.natvis in Documents\Visual Studio 20xx\Visualizers. However, VS2015 added support for visualizers in a project. Once we stop supporting VS2013, we will be able to automagically eliminate the manual setup. Is there a timeline for dropping VS2013 support?<br><br>Mike<br><br>-----Original Message-----<br>From: cfe-dev [mailto:cfe-dev-bounces@lists.llvm.org] On Behalf Of Jonathan Roelofs via cfe-dev<br>Sent: Wednesday, March 16, 2016 12:21 PM<br>To: C Bergström <cbergstrom@pathscale.com>; David Blaikie <dblaikie@gmail.com><br>Cc: cfe-dev@lists.llvm.org<br>Subject: Re: [cfe-dev] Visual Studio visualizer improvements for Clang<br><br><br><br>On 3/16/16 11:16 AM, C Bergström via cfe-dev wrote:<br>> Cool results, but XML - ewwie..<br>> ---------<br>> I digress - What's lldb do in this case?<br><br>https://github.com/llvm-mirror/llvm/blob/master/utils/lldbDataFormatters.py<br><br>><br>> On Thu, Mar 17, 2016 at 1:14 AM, David Blaikie <dblaikie@gmail.com <br>> <mailto:dblaikie@gmail.com>> wrote:<br>><br>>     FWIW, GDB has a visualizer system in python - I wrote up some<br>>     visualizers for SmallVector, etc, but I couldn't find a way to plug<br>>     them in for free into GDB (everything required some reconfiguration<br>>     of GDB to point to a script directory or the like). I might check<br>>     them in anyway with a README telling people how to set them up if<br>>     they want to.<br>><br>>     On Wed, Mar 16, 2016 at 9:59 AM, C Bergström <cfe-dev@lists.llvm.org<br>>     <mailto:cfe-dev@lists.llvm.org>> wrote:<br>><br>>         Looks cool! I'm not a VS guy - how did you achieve this? Was<br>>         there some source changes in clang or is this a plugin that<br>>         leverages clang for VS?<br>><br>>         Thanks<br>><br>>         On Wed, Mar 16, 2016 at 11:04 PM, Michael Spertus via cfe-dev<br>>         <cfe-dev@lists.llvm.org <mailto:cfe-dev@lists.llvm.org>> wrote:<br>><br>>             Chandler suggested that I socialize the improvements that I<br>>             have been making to Clang data structure visualizations in<br>>             Visual Studio. For example, these changes replace the<br>>             traditional incomprehensible Locals/Watch display of a<br>>             TemplateArgumentLoc____<br>><br>>             __ __<br>><br>>             ____<br>><br>>             __ __<br>><br>>             Now it clearly displays that it is a Type Template Parameter<br>>             where T has been replaced by struct A.____<br>><br>>             ____<br>><br>>             __ __<br>><br>>             I only have a small portion of the Clang data types done so<br>>             far, but it is already really helping me keep track of what<br>>             is going on while debugging Clang (It’s also been an<br>>             excellent way for me to learn Clang data structures J ). I<br>>             will be continuing to add further visualizations over the<br>>             next few weeks and ongoing. ____<br>><br>>             __ __<br>><br>>             I hope these prove helpful to the community,____<br>><br>>             __ __<br>><br>>             Mike____<br>><br>><br>>             _______________________________________________<br>>             cfe-dev mailing list<br>>             cfe-dev@lists.llvm.org <mailto:cfe-dev@lists.llvm.org><br>>             http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br>><br>><br>><br>>         _______________________________________________<br>>         cfe-dev mailing list<br>>         cfe-dev@lists.llvm.org <mailto:cfe-dev@lists.llvm.org><br>>         http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br>><br>><br>><br>><br>><br>> _______________________________________________<br>> cfe-dev mailing list<br>> cfe-dev@lists.llvm.org<br>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br>><br><br>--<br>Jon Roelofs<br>jonathan@codesourcery.com<br>CodeSourcery / Mentor Embedded<br>_______________________________________________<br>cfe-dev mailing list<br>cfe-dev@lists.llvm.org<br>http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br>_______________________________________________<br>cfe-dev mailing list<br>cfe-dev@lists.llvm.org<br>http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br></body></html>