This is an archive of the discontinued LLVM Phabricator instance.

Display name of identifier tokens in Visual Studio native visualizer
ClosedPublic

Authored by mspertus on Sep 11 2015, 10:13 AM.

Details

Reviewers
aaron.ballman
Summary

The Token visualizer in clang.natvis makes debugging Clang in Visual Studio much easier for keywords (because a given keyword is always the same), but it doesn't work very well for identifiers (because they are all different). This change has the visualizer display the name of the identifier. I have been using this daily, and I find this simple change has lead to a much-improved day-to-day experience.

Diff Detail

Event Timeline

mspertus updated this revision to Diff 34557.Sep 11 2015, 10:13 AM
mspertus retitled this revision from to Display name of identifier tokens in Visual Studio native visualizer.
mspertus updated this object.
mspertus added a subscriber: cfe-commits.
aaron.ballman accepted this revision.Sep 11 2015, 11:16 AM
aaron.ballman added a reviewer: aaron.ballman.
aaron.ballman added a subscriber: aaron.ballman.

LGTM, thank for you this (I think it's going to help me out quite a bit)!

This revision is now accepted and ready to land.Sep 11 2015, 11:16 AM

Thanks, Aaron! Hal mentioned that I might need to ask you to commit on my behalf as I don't have commit access as of now.

I've commit in r247442, thank you for the patch!