1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Adding support for MSVC debugger visualization of the Optional datatype.

llvm-svn: 202760
This commit is contained in:
Aaron Ballman 2014-03-03 21:15:07 +00:00
parent 293dbc48d1
commit a4371fe389

View File

@ -166,4 +166,12 @@ or create a symbolic link so it updates automatically.
<Type Name="llvm::Triple">
<DisplayString>{Data}</DisplayString>
</Type>
<Type Name="llvm::Optional&lt;*&gt;">
<DisplayString Condition="!hasVal">empty</DisplayString>
<DisplayString Condition="hasVal">{*(($T1 *)(unsigned char *)storage.buffer)}</DisplayString>
<Expand>
<Item Name="[underlying]" Condition="hasVal">*(($T1 *)(unsigned char *)storage.buffer)</Item>
</Expand>
</Type>
</AutoVisualizer>