mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-22 19:50:55 +00:00
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
This commit is contained in:
parent
6072588d96
commit
e9630c4986
@ -191,10 +191,10 @@ For later versions of Visual Studio, no setup is required.
|
||||
|
||||
<Type Name="llvm::IntrusiveRefCntPtr<*>">
|
||||
<DisplayString Condition="Obj == 0">empty</DisplayString>
|
||||
<DisplayString Condition="(Obj != 0) && (Obj->ref_cnt == 1)">RefPtr [1 ref] {*Obj}</DisplayString>
|
||||
<DisplayString Condition="(Obj != 0) && (Obj->ref_cnt != 1)">RefPtr [{Obj->ref_cnt} refs] {*Obj}</DisplayString>
|
||||
<DisplayString Condition="(Obj != 0) && (Obj->RefCount == 1)">RefPtr [1 ref] {*Obj}</DisplayString>
|
||||
<DisplayString Condition="(Obj != 0) && (Obj->RefCount != 1)">RefPtr [{Obj->RefCount} refs] {*Obj}</DisplayString>
|
||||
<Expand>
|
||||
<Item Condition="Obj != 0" Name="[refs]">Obj->ref_cnt</Item>
|
||||
<Item Condition="Obj != 0" Name="[refs]">Obj->RefCount</Item>
|
||||
<ExpandedItem Condition="Obj != 0">Obj</ExpandedItem>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
Loading…
x
Reference in New Issue
Block a user