From: Aaron Ballman Date: Wed, 9 Jan 2019 18:59:56 +0000 (+0000) Subject: Fix visualization of intrusive reference counted objects in MSVC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9630c4986359ed5a2f2e784f07f5ccff12c1534;p=llvm Fix visualization of intrusive reference counted objects in MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350748 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/LLVMVisualizers/llvm.natvis b/utils/LLVMVisualizers/llvm.natvis index 89c99f41325..42d3a122bec 100644 --- a/utils/LLVMVisualizers/llvm.natvis +++ b/utils/LLVMVisualizers/llvm.natvis @@ -191,10 +191,10 @@ For later versions of Visual Studio, no setup is required. empty - RefPtr [1 ref] {*Obj} - RefPtr [{Obj->ref_cnt} refs] {*Obj} + RefPtr [1 ref] {*Obj} + RefPtr [{Obj->RefCount} refs] {*Obj} - Obj->ref_cnt + Obj->RefCount Obj