[PATCH] D17908: Add Visual Studio Visualizers for more Clang types

Mike Spertus via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 7 15:16:59 PST 2016


mspertus added a comment.

Hmm, testing reveals that the preexisting clang.natvis does not work in VS2013!

  Natvis: E:\Users\mspertus\Documents\Visual Studio 2013\Visualizers\clang.natvis(59,21): Error: identifier "clang::TypeAlignmentInBits" is undefined

If I change all clang.natvis occurrences of clang::TypeAlignmentInBits to 4, it now works in VS2013 and VS2015, including all my edits. While this kind of hardwiring is brittle, it seems like the best option until we drop VS2013 support.

Is it ok for me to make that change?


http://reviews.llvm.org/D17908





More information about the cfe-commits mailing list