std.cfg: Add support for std::string::replace() (#1661)

Reference: https://en.cppreference.com/w/cpp/string/basic_string/replace
This commit is contained in:
Sebastian 2019-02-11 16:06:48 +01:00 committed by GitHub
parent 3d6001266e
commit d9241aa532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 52 additions and 0 deletions

View File

@ -6521,6 +6521,58 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<returnValue type="std::basic_string &amp;"/>
<arg nr="any"/>
</function>
<!-- https://en.cppreference.com/w/cpp/string/basic_string/replace -->
<function name="std::basic_string::replace">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="std::basic_string &amp;"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="std::string::replace">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="std::string &amp;"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="std::wstring::replace">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="std::wstring &amp;"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="any">
<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>