Revert "Remove redundant functions"
This reverts commit 4f124a57de5c761ac757ebed83d9f047ef4a1328.
This commit is contained in:
parent
3f0999b015
commit
ac87c1174c
12
cfg/std.cfg
12
cfg/std.cfg
|
@ -6676,6 +6676,12 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<function name="std::deque::size,std::deque::max_size,std::list::size,std::list::max_size,std::map::size,std::map::max_size,std::unordered_map::size,std::unordered_map::max_size,std::queue::size,std::set::size,std::set::max_size,std::unordered_set::size,std::unordered_set::max_size,std::stack::size,std::string::size,std::wstring::size,std::vector::size,std::vector::capacity,std::vector::max_size,std::array::size,std::array::max_size,std::span::size,std::span::size_bytes">
|
||||
<use-retval/>
|
||||
<const/>
|
||||
<returnValue type="std::size_t"/>
|
||||
<noreturn>false</noreturn>
|
||||
</function>
|
||||
<!-- size_type std::map::count( const Key& key ) const; -->
|
||||
<!-- template< class K > size_type std::map::count( const K& x ) const; // since C++14 -->
|
||||
<!-- size_type std::set::count( const value_type& val) const; -->
|
||||
|
@ -6963,6 +6969,12 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
|||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<function name="std::string::length,std::wstring::length,std::basic_string::size,std::basic_string::length">
|
||||
<const/>
|
||||
<use-retval/>
|
||||
<returnValue type="std::size_t"/>
|
||||
<noreturn>false</noreturn>
|
||||
</function>
|
||||
<function name="std::string::substr">
|
||||
<use-retval/>
|
||||
<returnValue type="std::string"/>
|
||||
|
|
Loading…
Reference in New Issue