Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std.cfg: added support for more interfaces #6076

Merged
merged 3 commits into from
Mar 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 23 additions & 4 deletions cfg/std.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6323,6 +6323,18 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<not-uninit/>
</arg>
</function>
<!-- char std::ios::fill() const; -->
<!-- char std::ios::fill(char_type c); -->
<!-- char std::ostringstream::fill() const; -->
<!-- char std::ostringstream::fill(char_type c); -->
<function name="std::ios::fill,std::ostringstream::fill">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<arg nr="1" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- std::ios_base::fmtflags std::ios_base::setf( std::ios_base::fmtflags flags ); -->
<!-- std::ios_base::fmtflags std::ios_base::setf( std::ios_base::fmtflags flags, std::ios_base::fmtflags mask ); -->
<!-- std::ios_base::fmtflags std::ostringstream::setf( std::ios_base::fmtflags flags ); -->
Expand Down Expand Up @@ -6502,7 +6514,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<noreturn>false</noreturn>
</function>
<!-- bool good() const; -->
<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">
<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">
<use-retval/>
<const/>
<returnValue type="bool"/>
Expand All @@ -6523,7 +6535,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<noreturn>false</noreturn>
</function>
<!-- bool bad() const; -->
<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">
<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">
<use-retval/>
<const/>
<returnValue type="bool"/>
Expand Down Expand Up @@ -6714,13 +6726,20 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<!-- size_type std::multimap::count( const Key& key ) const; -->
<function name="std::map::count,std::set::count,std::unordered_set::count,std::unordered_map::count,std::multimap::count">
<noreturn>false</noreturn>
<returnValue type="size_t"/>
<returnValue type="std::size_t"/>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<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">
<noreturn>false</noreturn>
<returnValue type="std::size_t"/>
<use-retval/>
<const/>
<leak-ignore/>
</function>
<function name="std::vector::at,std::deque::at,std::array::at,std::string_view::at,std::wstring_view::at">
<use-retval/>
<noreturn>false</noreturn>
Expand Down Expand Up @@ -6895,7 +6914,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<!-- template < class T > int compare( const T& t ) const; // since C++17 -->
<!-- template < class T > int compare( size_type pos1, size_type count1, const T& t ) const; // since C++17 -->
<!-- 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 -->
<function name="std::string::compare,std::wstring::compare">
<function name="std::string::compare,std::string_view::compare,std::wstring_view::compare,std::wstring::compare">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
Expand Down
Loading