std.cfg: Add support for std::vector::swap() and std::swap() (#1700)
References: https://en.cppreference.com/w/cpp/container/vector/swap https://en.cppreference.com/w/cpp/algorithm/swap
This commit is contained in:
parent
21c22d0d4d
commit
13b37631a6
20
cfg/std.cfg
20
cfg/std.cfg
|
@ -6263,6 +6263,26 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- https://en.cppreference.com/w/cpp/container/vector/swap -->
|
||||||
|
<!-- void std::vector::swap( vector& other ); -->
|
||||||
|
<function name="std::vector::swap">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="void"/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- https://en.cppreference.com/w/cpp/algorithm/swap -->
|
||||||
|
<!-- template< class T > void swap( T& a, T& b ); -->
|
||||||
|
<!-- template< class T > constexpr void swap( T& a, T& b ) -->
|
||||||
|
<!-- template< class T2, std::size_t N > void swap( T2 (&a)[N], T2 (&b)[N]) -->
|
||||||
|
<!-- template< class T2, std::size_t N > constexpr void swap( T2 (&a)[N], T2 (&b)[N]) -->
|
||||||
|
<function name="std::swap">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="void"/>
|
||||||
|
<arg nr="1"/>
|
||||||
|
<arg nr="2"/>
|
||||||
|
</function>
|
||||||
<function name="std::stack::pop,std::queue::pop">
|
<function name="std::stack::pop,std::queue::pop">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
|
|
Loading…
Reference in New Issue