From cd3306c67b4245694586dd4946ef67c0c899f304 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Fri, 14 Dec 2018 18:20:21 +0000 Subject: [PATCH] Fix Visual Studio PointerIntPair visualizer Patch by: Trass3r Differential Revision: https://reviews.llvm.org/D55252 llvm-svn: 349172 --- llvm/utils/LLVMVisualizers/llvm.natvis | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/utils/LLVMVisualizers/llvm.natvis b/llvm/utils/LLVMVisualizers/llvm.natvis index f3b2a32..bbded5d 100644 --- a/llvm/utils/LLVMVisualizers/llvm.natvis +++ b/llvm/utils/LLVMVisualizers/llvm.natvis @@ -85,10 +85,10 @@ For later versions of Visual Studio, no setup is required. - {IntMask}: {($T1)(Value & PointerBitMask)} [{($T3)((Value >> IntShift) & IntMask)}] + {$T5::IntMask}: {($T1)(Value & $T5::PointerBitMask)} [{($T3)((Value >> $T5::IntShift) & $T5::IntMask)}] - ($T1)(Value & PointerBitMask) - ($T3)((Value >> IntShift) & IntMask) + ($T1)(Value & $T5::PointerBitMask) + ($T3)((Value >> $T5::IntShift) & $T5::IntMask) -- 2.7.4