Skip to content

Commit

Permalink
std.cfg: Added configuration for std::ifstream functions (#5994)
Browse files Browse the repository at this point in the history
Support has been added for: std::ifstream::bad(), std::ifstream::fail()
and std::ifstream::good()
  • Loading branch information
orbitcowboy authored Feb 18, 2024
1 parent 3057ae8 commit 0c0c1df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cfg/std.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6509,7 +6509,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">
<function name="std::ios::good,std::ios_base::good,std::ostream::good,std::ofstream::good,std::ostringstream::good,std::ifstream::good">
<use-retval/>
<const/>
<returnValue type="bool"/>
Expand All @@ -6523,14 +6523,14 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<noreturn>false</noreturn>
</function>
<!-- bool fail() const; -->
<function name="std::ios::fail,std::ios_base::fail,std::ostream::fail,std::ofstream::fail,std::ostringstream::fail">
<function name="std::ios::fail,std::ios_base::fail,std::ostream::fail,std::ofstream::fail,std::ostringstream::fail,std::ifstream::fail">
<use-retval/>
<const/>
<returnValue type="bool"/>
<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">
<function name="std::ios::bad,std::ios_base::bad,std::ostream::bad,std::ofstream::bad,std::ostringstream::bad,std::ifstream::bad">
<use-retval/>
<const/>
<returnValue type="bool"/>
Expand Down

0 comments on commit 0c0c1df

Please sign in to comment.