std.cfg: Added support for more interfaces.

This commit is contained in:
orbitcowboy 2019-03-05 18:13:42 +01:00
parent 49937570b2
commit 8c0ab16863
1 changed files with 46 additions and 0 deletions

View File

@ -6819,6 +6819,52 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<not-uninit/>
</arg>
</function>
<!-- void std::ofstream::open(const std::string & filename, ios_base::openmode mode = ios_base::out); -->
<function name="std::ofstream::open">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1" direction="in"/>
<arg nr="2" direction="in" default="std::ios_base::out">
<not-uninit/>
</arg>
</function>
<!-- void std::ifstream::open(const char* filename, ios_base::openmode mode = ios_base::in); -->
<!-- void std::ifstream::open(const std::string & filename, ios_base::openmode mode = ios_base::in); -->
<function name="std::ifstream::open">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1" direction="in"/>
<arg nr="2" direction="in" default="std::ios_base::in">
<not-uninit/>
</arg>
</function>
<!-- void std::fstream::open(const char* filename, ios_base::openmode mode = ios_base::in | ios_base::out); -->
<!-- void std::fstream::open(const std::string& filename, ios_base::openmode mode = ios_base::in | ios_base::out); -->
<function name="std::fstream::open">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1" direction="in"/>
<arg nr="2" direction="in" default="std::ios_base::in | std::ios_base::out">
<not-uninit/>
</arg>
</function>
<!-- std::filebuf* std::filebuf::open (const char* filename, ios_base::openmode mode); -->
<!-- std::filebuf* std::filebuf::open (const string filename, ios_base::openmode mode);-->
<function name="std::filebuf::open">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<returnValue type="std::filebuf *"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void reserve (size_t n = 0); -->
<function name="std::string::reserve,std::wstring::reserve,std::basic_string::reserve">
<noreturn>false</noreturn>