Skip to content

Commit 779141c

Browse files
authored
std.cfg: added support for more interfaces (#6076)
1 parent 4daa1c3 commit 779141c

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

cfg/std.cfg

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6323,6 +6323,18 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
63236323
<not-uninit/>
63246324
</arg>
63256325
</function>
6326+
<!-- char std::ios::fill() const; -->
6327+
<!-- char std::ios::fill(char_type c); -->
6328+
<!-- char std::ostringstream::fill() const; -->
6329+
<!-- char std::ostringstream::fill(char_type c); -->
6330+
<function name="std::ios::fill,std::ostringstream::fill">
6331+
<noreturn>false</noreturn>
6332+
<leak-ignore/>
6333+
<use-retval/>
6334+
<arg nr="1" direction="in" default="">
6335+
<not-uninit/>
6336+
</arg>
6337+
</function>
63266338
<!-- std::ios_base::fmtflags std::ios_base::setf( std::ios_base::fmtflags flags ); -->
63276339
<!-- std::ios_base::fmtflags std::ios_base::setf( std::ios_base::fmtflags flags, std::ios_base::fmtflags mask ); -->
63286340
<!-- std::ios_base::fmtflags std::ostringstream::setf( std::ios_base::fmtflags flags ); -->
@@ -6502,7 +6514,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
65026514
<noreturn>false</noreturn>
65036515
</function>
65046516
<!-- bool good() const; -->
6505-
<function name="std::ios::good,std::ios_base::good,std::ostream::good,std::ofstream::good,std::ostringstream::good,std::ifstream::good,std::istream::good,std::istringstream::good,std::wistringstream::good,std::basic_istringstream::good">
6517+
<function name="std::ios::good,std::wifstream::good,std::ios_base::good,std::ostream::good,std::ofstream::good,std::ostringstream::good,std::ifstream::good,std::istream::good,std::istringstream::good,std::wistringstream::good,std::basic_istringstream::good">
65066518
<use-retval/>
65076519
<const/>
65086520
<returnValue type="bool"/>
@@ -6523,7 +6535,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
65236535
<noreturn>false</noreturn>
65246536
</function>
65256537
<!-- bool bad() const; -->
6526-
<function name="std::ios::bad,std::ios_base::bad,std::ostream::bad,std::ofstream::bad,std::ostringstream::bad,std::ifstream::bad,std::istringstream::bad,std::wistringstream::bad,std::basic_istringstream::bad,std::istream::bad">
6538+
<function name="std::ios::bad,std::wifstream::bad,std::ios_base::bad,std::ostream::bad,std::ofstream::bad,std::ostringstream::bad,std::ifstream::bad,std::istringstream::bad,std::wistringstream::bad,std::basic_istringstream::bad,std::istream::bad">
65276539
<use-retval/>
65286540
<const/>
65296541
<returnValue type="bool"/>
@@ -6714,13 +6726,20 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
67146726
<!-- size_type std::multimap::count( const Key& key ) const; -->
67156727
<function name="std::map::count,std::set::count,std::unordered_set::count,std::unordered_map::count,std::multimap::count">
67166728
<noreturn>false</noreturn>
6717-
<returnValue type="size_t"/>
6729+
<returnValue type="std::size_t"/>
67186730
<use-retval/>
67196731
<const/>
67206732
<arg nr="1" direction="in">
67216733
<not-uninit/>
67226734
</arg>
67236735
</function>
6736+
<function name="std::string::size,std::string::length,std::string_view::size,std::string_view::length,std::wstring_view::size,std::wstring_view::length,std::wstring::size,std::wstring::length">
6737+
<noreturn>false</noreturn>
6738+
<returnValue type="std::size_t"/>
6739+
<use-retval/>
6740+
<const/>
6741+
<leak-ignore/>
6742+
</function>
67246743
<function name="std::vector::at,std::deque::at,std::array::at,std::string_view::at,std::wstring_view::at">
67256744
<use-retval/>
67266745
<noreturn>false</noreturn>
@@ -6895,7 +6914,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
68956914
<!-- template < class T > int compare( const T& t ) const; // since C++17 -->
68966915
<!-- template < class T > int compare( size_type pos1, size_type count1, const T& t ) const; // since C++17 -->
68976916
<!-- template < class T > int compare( size_type pos1, size_type count1, const T& t, size_type pos2, size_type count2 = npos) const; // since C++17 -->
6898-
<function name="std::string::compare,std::wstring::compare">
6917+
<function name="std::string::compare,std::string_view::compare,std::wstring_view::compare,std::wstring::compare">
68996918
<noreturn>false</noreturn>
69006919
<returnValue type="int"/>
69016920
<use-retval/>

0 commit comments

Comments
 (0)