std.cfg: Attempt to add (partial) support for std::istream::get().
This commit is contained in:
parent
5301c44374
commit
0b726d5738
13
cfg/std.cfg
13
cfg/std.cfg
|
@ -6088,6 +6088,19 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- single character (1) int std::istream::get ();
|
||||||
|
std::istream& std::istream::get (char& c);
|
||||||
|
c-string (2) std::istream& std::istream::get (char* s, streamsize n);
|
||||||
|
std::istream& std::istream::get (char* s, streamsize n, char delim);
|
||||||
|
stream buffer (3) std::istream& std::istream::get (streambuf& sb);
|
||||||
|
std::istream& std::istream::get (streambuf& sb, char delim);-->
|
||||||
|
<!-- There is currently no way to define this properly because Cppcheck lacks support for
|
||||||
|
overloaded functions.-->
|
||||||
|
<function name="std::istream::get">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="any"/>
|
||||||
|
</function>
|
||||||
<!-- /*unspecified*/ setbase(int base); -->
|
<!-- /*unspecified*/ setbase(int base); -->
|
||||||
<function name="setbase,std::setbase">
|
<function name="setbase,std::setbase">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
|
Loading…
Reference in New Issue