In the <DisplayString> of PointerIntPair , I cast the pointer to the actual type, so VS can leverage it while visualizing, not unlike the recent change to PointerUnion visualization.
In the expansion, the current code is casting to the incorrect type (wrong number of stars), so I fixed that as well.
llvm-svn: 263821
</Type>\r
\r
<Type Name="llvm::PointerIntPair<*,*,*,*>">\r
- <DisplayString>{(void*)(Value & PointerBitMask)} [{($T3)((Value >> IntShift) & IntMask)}]</DisplayString>\r
+ <DisplayString>{IntMask}: {($T1)(Value & PointerBitMask)} [{($T3)((Value >> IntShift) & IntMask)}]</DisplayString>\r
<Expand>\r
- <Item Name="[ptr]">($T1*)(Value & PointerBitMask)</Item>\r
+ <Item Name="[ptr]">($T1)(Value & PointerBitMask)</Item>\r
<Item Name="[int]">($T3)((Value >> IntShift) & IntMask)</Item>\r
</Expand>\r
</Type>\r