[cfe-commits] [PATCH] Add support to VS debugger for previewing SmallString<>
Will Wilson
will at indefiant.com
Thu May 3 10:04:24 PDT 2012
>> For Visual Studio users: Here's little patch to the
>> clangVisualizers.txt that allows the contents of a SmallString to be
>> seen in string form, rather than (somewhat less usefully) as a
>> SmallVector.
>
> I assume this wouldn't work for SmallStrings that include embedded
> '\0' characters? Though I suppose we don't do any better for StringRef
> either, so perhaps that's not a priority.
Unfortunately not, I can't find any support for anything other than
basic zero-terminated strings in the syntax.
> (also - it might be nice to put it above or below the
> SmallVector[Impl] cases - rather than between the two)
Fair point. The attached patch is updated to place it after.
Cheers,
Will.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clangVisualizers_SmallStringSupport.diff
Type: application/octet-stream
Size: 384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120503/4b1683c0/attachment.obj>
More information about the cfe-commits
mailing list