Skip to content

Commit

Permalink
drop VC 2013 visualizers (microsoft#2804)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsb4000 committed Aug 13, 2022
1 parent f77de88 commit 492bfcc
Showing 1 changed file with 0 additions and 222 deletions.
222 changes: 0 additions & 222 deletions stl/debugger/STL.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -316,16 +316,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
<Expand/>
</Type>

<!-- VC 2013 -->
<Type Name="std::unique_ptr&lt;*&gt;" Priority="MediumLow">
<SmartPointer Usage="Minimal">_Myptr</SmartPointer>
<DisplayString Condition="_Myptr == 0">empty</DisplayString>
<DisplayString Condition="_Myptr != 0">unique_ptr {*_Myptr}</DisplayString>
<Expand>
<Item Condition="_Myptr != 0" Name="[ptr]">_Myptr</Item>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::unique_ptr&lt;void, *&gt;">
<SmartPointer Usage="Minimal">_Mypair._Myval2</SmartPointer>
Expand Down Expand Up @@ -355,15 +345,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Expand>
</Type>

<!-- VC 2013 -->
<Type Name="std::_Ref_count_del&lt;*&gt;" Priority="MediumLow">
<DisplayString>custom deleter</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">_Ptr</Item>
<Item Name="[deleter]">_Dtor</Item>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::_Ref_count_del&lt;*&gt;">
<DisplayString>custom deleter</DisplayString>
Expand All @@ -373,16 +354,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Expand>
</Type>

<!-- VC 2013 -->
<Type Name="std::_Ref_count_del_alloc&lt;*&gt;" Priority="MediumLow">
<DisplayString>custom deleter, custom allocator</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">_Ptr</Item>
<Item Name="[deleter]">_Dtor</Item>
<Item Name="[allocator]">_Myal</Item>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::_Ref_count_del_alloc&lt;*&gt;">
<DisplayString>custom deleter, custom allocator</DisplayString>
Expand All @@ -400,15 +371,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Expand>
</Type>

<!-- VC 2013 -->
<Type Name="std::_Ref_count_obj_alloc&lt;*&gt;" Priority="MediumLow">
<DisplayString>allocate_shared</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">($T1 *) &amp;_Storage</Item>
<Item Name="[allocator]">_Myal</Item>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::_Ref_count_obj_alloc&lt;*&gt;">
<DisplayString>allocate_shared</DisplayString>
Expand Down Expand Up @@ -506,28 +468,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Type>


<!-- VC 2013 -->
<Type Name="std::_Callable_base&lt;*,1&gt;">
<DisplayString>{*_Ptr}</DisplayString>
<Expand>
<Item Name="[ptr]">_Ptr</Item>
</Expand>
</Type>

<!-- VC 2013 -->
<Type Name="std::_Callable_base&lt;*,0&gt;">
<DisplayString>{_Object}</DisplayString>
<Expand/>
</Type>

<!-- VC 2013 -->
<Type Name="std::reference_wrapper&lt;*&gt;" Priority="MediumLow">
<DisplayString>{_Callee}</DisplayString>
<Expand>
<ExpandedItem>_Callee</ExpandedItem>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::reference_wrapper&lt;*&gt;">
<DisplayString>{*_Ptr}</DisplayString>
Expand Down Expand Up @@ -674,15 +614,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
<Expand/>
</Type>

<!-- VC 2013 -->
<Type Name="std::_Bind&lt;*&gt;">
<DisplayString>bind({_Myfun}, {_Mybargs,view(noparens)})</DisplayString>
<Expand>
<Item Name="[f]">_Myfun</Item>
<Item Name="[bound_args]">_Mybargs</Item>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::_Binder&lt;*&gt;">
<DisplayString>bind({_Mypair}, {_Mypair._Myval2,view(noparens)})</DisplayString>
Expand All @@ -701,28 +632,13 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Type>


<!-- VC 2013 -->
<Type Name="std::_Mem_fn_wrap&lt;*&gt;">
<DisplayString>mem_fn({_Callee._Object})</DisplayString>
<Expand/>
</Type>

<!-- VC 2015 -->
<Type Name="std::_Mem_fn&lt;*&gt;">
<DisplayString>mem_fn({_Pm})</DisplayString>
<Expand/>
</Type>


<!-- VC 2013 -->
<Type Name="std::_Func_impl&lt;*&gt;" Priority="MediumLow">
<DisplayString>{_Callee._Object}</DisplayString>
<Expand>
<Item Name="[functor]">_Callee._Object</Item>
<Item Name="[allocator]">_Myal</Item>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::_Func_impl&lt;*&gt;">
<DisplayString>{_Mypair._Myval2}</DisplayString>
Expand All @@ -739,15 +655,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Expand>
</Type>

<!-- VC 2013 -->
<Type Name="std::function&lt;*&gt;" Priority="MediumLow">
<DisplayString Condition="_Impl == 0">empty</DisplayString>
<DisplayString Condition="_Impl != 0">{*_Impl}</DisplayString>
<Expand>
<ExpandedItem Condition="_Impl != 0">*_Impl</ExpandedItem>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::function&lt;*&gt;">
<DisplayString Condition="_Mystorage._Ptrs[_EEN_IMPL] == 0">empty</DisplayString>
Expand Down Expand Up @@ -971,41 +878,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Expand>
</Type>

<!-- VC 2013 -->
<Type Name="std::basic_string&lt;char,*&gt;" Priority="MediumLow">
<DisplayString Condition="_Myres &lt; _BUF_SIZE">{_Bx._Buf,na}</DisplayString>
<DisplayString Condition="_Myres &gt;= _BUF_SIZE">{_Bx._Ptr,na}</DisplayString>
<StringView Condition="_Myres &lt; _BUF_SIZE">_Bx._Buf,na</StringView>
<StringView Condition="_Myres &gt;= _BUF_SIZE">_Bx._Ptr,na</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">_Mysize</Item>
<Item Name="[capacity]" ExcludeView="simple">_Myres</Item>
<ArrayItems>
<Size>_Mysize</Size>
<ValuePointer Condition="_Myres &lt; _BUF_SIZE">_Bx._Buf</ValuePointer>
<ValuePointer Condition="_Myres &gt;= _BUF_SIZE">_Bx._Ptr</ValuePointer>
</ArrayItems>
</Expand>
</Type>

<!-- VC 2013 -->
<Type Name="std::basic_string&lt;wchar_t,*&gt;" Priority="MediumLow">
<AlternativeType Name="std::basic_string&lt;unsigned short,*&gt;" />
<DisplayString Condition="_Myres &lt; _BUF_SIZE">{_Bx._Buf,su}</DisplayString>
<DisplayString Condition="_Myres &gt;= _BUF_SIZE">{_Bx._Ptr,su}</DisplayString>
<StringView Condition="_Myres &lt; _BUF_SIZE">_Bx._Buf,su</StringView>
<StringView Condition="_Myres &gt;= _BUF_SIZE">_Bx._Ptr,su</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">_Mysize</Item>
<Item Name="[capacity]" ExcludeView="simple">_Myres</Item>
<ArrayItems>
<Size>_Mysize</Size>
<ValuePointer Condition="_Myres &lt; _BUF_SIZE">_Bx._Buf</ValuePointer>
<ValuePointer Condition="_Myres &gt;= _BUF_SIZE">_Bx._Ptr</ValuePointer>
</ArrayItems>
</Expand>
</Type>

<!--
* VC 2015+ ABI basic_string
* Notes:
Expand Down Expand Up @@ -1182,17 +1054,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Expand>
</Type>

<!-- VC 2013 -->
<Type Name="std::deque&lt;*&gt;" Priority="MediumLow">
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<IndexListItems>
<Size>_Mysize</Size>
<ValueNode>_Map[(($i + _Myoff) / _EEN_DS) % _Mapsize][($i + _Myoff) % _EEN_DS]</ValueNode>
</IndexListItems>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::deque&lt;*&gt;">
<DisplayString>{{ size={_Mypair._Myval2._Mysize} }}</DisplayString>
Expand All @@ -1216,19 +1077,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Type>


<!-- VC 2013 -->
<Type Name="std::forward_list&lt;*&gt;" Priority="MediumLow">
<DisplayString Condition="_Myhead == 0">empty</DisplayString>
<DisplayString Condition="_Myhead != 0">non-empty</DisplayString>
<Expand>
<LinkedListItems>
<HeadPointer>_Myhead</HeadPointer>
<NextPointer>_Next</NextPointer>
<ValueNode>_Myval</ValueNode>
</LinkedListItems>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::forward_list&lt;*&gt;">
<DisplayString Condition="_Mypair._Myval2._Myhead == 0">empty</DisplayString>
Expand All @@ -1250,20 +1098,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
<DisplayString Condition="_Ptr != 0">{**this}</DisplayString>
</Type>


<!-- VC 2013 -->
<Type Name="std::list&lt;*&gt;" Priority="MediumLow">
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<LinkedListItems>
<Size>_Mysize</Size>
<HeadPointer>_Myhead-&gt;_Next</HeadPointer>
<NextPointer>_Next</NextPointer>
<ValueNode>_Myval</ValueNode>
</LinkedListItems>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::list&lt;*&gt;">
<DisplayString>{{ size={_Mypair._Myval2._Mysize} }}</DisplayString>
Expand All @@ -1284,18 +1118,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Type>


<!-- VC 2013 -->
<Type Name="std::vector&lt;bool,*&gt;" Priority="MediumLow">
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<Item Name="[capacity]" ExcludeView="simple">(_Myvec._Myend - _Myvec._Myfirst) * _EEN_VBITS</Item>
<IndexListItems>
<Size>_Mysize</Size>
<ValueNode>(bool)((_Myvec._Myfirst[$i / _EEN_VBITS] &gt;&gt; ($i % _EEN_VBITS)) &amp; 1)</ValueNode>
</IndexListItems>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::vector&lt;bool,*&gt;">
<Intrinsic Name="size" Expression="_Mysize" />
Expand All @@ -1322,18 +1144,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Type>


<!-- VC 2013 -->
<Type Name="std::vector&lt;*&gt;" Priority="MediumLow">
<DisplayString>{{ size={_Mylast - _Myfirst} }}</DisplayString>
<Expand>
<Item Name="[capacity]" ExcludeView="simple">_Myend - _Myfirst</Item>
<ArrayItems>
<Size>_Mylast - _Myfirst</Size>
<ValuePointer>_Myfirst</ValuePointer>
</ArrayItems>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::vector&lt;*&gt;">
<Intrinsic Name="size" Expression="(size_t)(_Mypair._Myval2._Mylast - _Mypair._Myval2._Myfirst)" />
Expand All @@ -1358,23 +1168,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Type>


<!-- VC 2013 -->
<Type Name="std::map&lt;*&gt;" Priority="MediumLow">
<AlternativeType Name="std::multimap&lt;*&gt;" />
<AlternativeType Name="std::set&lt;*&gt;" />
<AlternativeType Name="std::multiset&lt;*&gt;" />
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<TreeItems>
<Size>_Mysize</Size>
<HeadPointer>_Myhead-&gt;_Parent</HeadPointer>
<LeftPointer>_Left</LeftPointer>
<RightPointer>_Right</RightPointer>
<ValueNode Condition="_Isnil == 0">_Myval</ValueNode>
</TreeItems>
</Expand>
</Type>

<!-- VC 2015 -->
<Type Name="std::map&lt;*&gt;" Priority="Medium">
<AlternativeType Name="std::multimap&lt;*&gt;" />
Expand Down Expand Up @@ -1428,21 +1221,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
</Type>


<!-- VC 2013 - must have lower priority -->
<Type Name="std::unordered_map&lt;*&gt;" Priority="MediumLow">
<AlternativeType Name="std::unordered_multimap&lt;*&gt;" />
<AlternativeType Name="std::unordered_set&lt;*&gt;" />
<AlternativeType Name="std::unordered_multiset&lt;*&gt;" />
<AlternativeType Name="stdext::hash_map&lt;*&gt;" />
<AlternativeType Name="stdext::hash_multimap&lt;*&gt;" />
<AlternativeType Name="stdext::hash_set&lt;*&gt;" />
<AlternativeType Name="stdext::hash_multiset&lt;*&gt;" />
<DisplayString>{_List}</DisplayString>
<Expand>
<ExpandedItem>_List</ExpandedItem>
</Expand>
</Type>

<!-- VC 2015 - must have higher priority -->
<Type Name="stdext::hash_map&lt;*&gt;" Priority="Medium">
<AlternativeType Name="stdext::hash_multimap&lt;*&gt;" />
Expand Down

0 comments on commit 492bfcc

Please sign in to comment.