Skip to content

Commit 52d36e1

Browse files
committed
Merge branch 'main' into P2328-join-view
2 parents f9a7a6a + bfa2cb2 commit 52d36e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+590
-2537
lines changed

stl/debugger/STL.natvis

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,14 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
608608
</Expand>
609609
</Type>
610610

611+
<Type Name="std::_Front_binder&lt;*&gt;">
612+
<DisplayString>bind_front({_Mypair}, {_Mypair._Myval2,view(noparens)})</DisplayString>
613+
<Expand>
614+
<Item Name="[f]">_Mypair</Item>
615+
<Item Name="[bound_args]">_Mypair._Myval2</Item>
616+
</Expand>
617+
</Type>
618+
611619

612620
<!-- VC 2013 -->
613621
<Type Name="std::_Mem_fn_wrap&lt;*&gt;">
@@ -924,6 +932,8 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
924932
* char32_t = s32 format
925933
-->
926934
<Type Name="std::basic_string&lt;char,*&gt;">
935+
<AlternativeType Name="std::basic_string&lt;char8_t,*&gt;" />
936+
927937
<Intrinsic Name="size" Expression="_Mypair._Myval2._Mysize" />
928938
<Intrinsic Name="capacity" Expression="_Mypair._Myval2._Myres" />
929939
<!-- _BUF_SIZE = 16 / sizeof(char) &lt; 1 ? 1 : 16 / sizeof(char) == 16 -->
@@ -997,6 +1007,8 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9971007

9981008
<Type Name="std::_String_iterator&lt;std::_String_val&lt;std::_Simple_types&lt;char&gt; &gt; &gt;">
9991009
<AlternativeType Name="std::_String_const_iterator&lt;std::_String_val&lt;std::_Simple_types&lt;char&gt; &gt; &gt;" />
1010+
<AlternativeType Name="std::_String_iterator&lt;std::_String_val&lt;std::_Simple_types&lt;char8_t&gt; &gt; &gt;" />
1011+
<AlternativeType Name="std::_String_const_iterator&lt;std::_String_val&lt;std::_Simple_types&lt;char8_t&gt; &gt; &gt;" />
10001012
<SmartPointer Usage="Indexable">_Ptr,na</SmartPointer>
10011013
<Expand>
10021014
<Item Name="[ptr]">_Ptr</Item>
@@ -1827,6 +1839,90 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
18271839
</Expand>
18281840
</Type>
18291841

1842+
<Type Name="std::default_sentinel_t">
1843+
<DisplayString>default sentinel</DisplayString>
1844+
</Type>
1845+
1846+
<Type Name="std::unreachable_sentinel_t">
1847+
<DisplayString>unreachable</DisplayString>
1848+
</Type>
1849+
1850+
<Type Name="std::ranges::empty_view&lt;*&gt;">
1851+
<DisplayString>{{}}</DisplayString>
1852+
</Type>
1853+
1854+
<Type Name="std::ranges::single_view&lt;*&gt;">
1855+
<DisplayString>{{ _Val._Val }}</DisplayString>
1856+
<Expand>
1857+
<ArrayItems>
1858+
<Size>1</Size>
1859+
<ValuePointer>&amp;_Val._Val</ValuePointer>
1860+
</ArrayItems>
1861+
</Expand>
1862+
</Type>
1863+
1864+
<Type Name="std::ranges::iota_view&lt;*,*&gt;">
1865+
<Intrinsic Optional="true" Name="size" Expression="(size_t)(_Bound - _Value)" />
1866+
<DisplayString Optional="true">[{_Value}; {_Bound})</DisplayString>
1867+
<Expand>
1868+
<Item Optional="true" Name="[size]">size()</Item>
1869+
<CustomListItems Optional="true">
1870+
<Variable Name="val" InitialValue="_Value" />
1871+
1872+
<Size>size()</Size>
1873+
<Loop>
1874+
<Break Condition="val == _Bound" />
1875+
<Item>val</Item>
1876+
<Exec>++val</Exec>
1877+
</Loop>
1878+
</CustomListItems>
1879+
</Expand>
1880+
</Type>
1881+
1882+
<Type Name="std::ranges::iota_view&lt;*,std::unreachable_sentinel_t&gt;">
1883+
<DisplayString>[{_Value}; +&#8734;)</DisplayString>
1884+
<Expand>
1885+
<Item Name="[begin]">_Value</Item>
1886+
</Expand>
1887+
</Type>
1888+
1889+
<Type Name="std::ranges::_Ioterator&lt;*&gt;">
1890+
<SmartPointer Usage="Minimal">&amp;_Current,na</SmartPointer>
1891+
<Expand>
1892+
<Item Name="[value]">_Current</Item>
1893+
</Expand>
1894+
</Type>
1895+
1896+
<Type Name="std::ranges::_Iotinel&lt;*&gt;">
1897+
<DisplayString>{&amp;_Last,na}</DisplayString>
1898+
<Expand>
1899+
<Item Name="[bound]">_Last</Item>
1900+
</Expand>
1901+
</Type>
1902+
1903+
<Type Name="std::ranges::ref_view&lt;*&gt;">
1904+
<DisplayString>{*_Range}</DisplayString>
1905+
<Expand>
1906+
<ExpandedItem>*_Range</ExpandedItem>
1907+
</Expand>
1908+
</Type>
1909+
1910+
<Type Name="std::thread">
1911+
<DisplayString>{{ id={_Thr._Id} }}</DisplayString>
1912+
</Type>
1913+
1914+
<Type Name="std::thread::id">
1915+
<DisplayString>{_Id}</DisplayString>
1916+
</Type>
1917+
1918+
<Type Name="std::jthread">
1919+
<DisplayString>{_Impl}</DisplayString>
1920+
</Type>
1921+
1922+
<Type Name="std::filesystem::path">
1923+
<DisplayString>{_Text}</DisplayString>
1924+
</Type>
1925+
18301926
<Type Name="std::source_location">
18311927
<DisplayString>{_Function,sb}: ({_Line}, {_Column})</DisplayString>
18321928
<Expand>

0 commit comments

Comments
 (0)