mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 21:05:23 +00:00
Fix visualization of intrusive reference counted objects in MSVC.
llvm-svn: 350748
This commit is contained in:
parent
584f87abfa
commit
91283eb602
@ -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