[PATCH] D55252: fix PointerIntPair visualizer

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 14 10:23:37 PST 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL349172: Fix Visual Studio PointerIntPair visualizer (authored by zturner, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D55252?vs=176550&id=178250#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55252/new/

https://reviews.llvm.org/D55252

Files:
  llvm/trunk/utils/LLVMVisualizers/llvm.natvis


Index: llvm/trunk/utils/LLVMVisualizers/llvm.natvis
===================================================================
--- llvm/trunk/utils/LLVMVisualizers/llvm.natvis
+++ llvm/trunk/utils/LLVMVisualizers/llvm.natvis
@@ -85,10 +85,10 @@
   </Type>
 
   <Type Name="llvm::PointerIntPair<*,*,*,*>">
-    <DisplayString>{IntMask}: {($T1)(Value & PointerBitMask)} [{($T3)((Value >> IntShift) & IntMask)}]</DisplayString>
+    <DisplayString>{$T5::IntMask}: {($T1)(Value & $T5::PointerBitMask)} [{($T3)((Value >> $T5::IntShift) & $T5::IntMask)}]</DisplayString>
     <Expand>
-      <Item Name="[ptr]">($T1)(Value & PointerBitMask)</Item>
-      <Item Name="[int]">($T3)((Value >> IntShift) & IntMask)</Item>
+      <Item Name="[ptr]">($T1)(Value & $T5::PointerBitMask)</Item>
+      <Item Name="[int]">($T3)((Value >> $T5::IntShift) & $T5::IntMask)</Item>
     </Expand>
   </Type>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55252.178250.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181214/614c8388/attachment.bin>


More information about the llvm-commits mailing list