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:
parent
293dbc48d1
commit
a4371fe389
@ -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<*>">
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user