Fixed #837 (configure istream::getline in std.cfg) Adds some rules for getline, get and readsome methods of std::istream class
This commit is contained in:
parent
f0c353abcb
commit
930aa3c5b2
50
cfg/std.cfg
50
cfg/std.cfg
|
@ -4050,12 +4050,62 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
|||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<minsize type="argvalue" arg="2"/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- streamsize readsome (char* s, streamsize n); -->
|
||||
<function name="std::istream::readsome,std::ifstream::readsome">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<minsize type="argvalue" arg="2"/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- istream& getline (char* s, streamsize n ); -->
|
||||
<!-- istream& getline (char* s, streamsize n, char delim ); -->
|
||||
<function name="std::istream::getline,std::ifstream::getline">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<minsize type="argvalue" arg="2"/>
|
||||
<strz/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
<arg nr="3" default="'\n'">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- istream& get (char* s, streamsize n ); -->
|
||||
<!-- istream& get (char* s, streamsize n, char delim ); -->
|
||||
<function name="std::istream::get,std::ifstream::get">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<minsize type="argvalue" arg="2"/>
|
||||
<strz/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
<arg nr="3" default="'\n'">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- Not part of standard, but widely supported by runtime libraries. -->
|
||||
<!-- char * itoa (int value, char * str, int base); -->
|
||||
<function name="itoa">
|
||||
|
|
Loading…
Reference in New Issue