Merge pull request #46402 from nekomatata/natvis-local-vector

Added LocalVector to Visual Studio debugger visualization
This commit is contained in:
Rémi Verschelde 2021-02-25 07:22:08 +01:00 committed by GitHub
commit 2adacd751c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,16 @@
</Expand>
</Type>
<Type Name="LocalVector&lt;*&gt;">
<Expand>
<Item Name="[size]">count</Item>
<ArrayItems>
<Size>count</Size>
<ValuePointer>data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="List&lt;*&gt;">
<Expand>
<Item Name="[size]">_data ? (_data->size_cache) : 0</Item>