std.cfg: Improved support for find, std::string functions.
This commit is contained in:
parent
120a7dd42e
commit
8160cc2fc6
33
cfg/std.cfg
33
cfg/std.cfg
|
@ -4743,6 +4743,22 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
|||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- static std::locale std::locale::global( const locale& loc ); -->
|
||||
<function name="std::locale::global">
|
||||
<use-retval/>
|
||||
<returnValue type="struct std::locale"/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- static std::locale& std::locale::classic(); -->
|
||||
<function name="std::locale::classic">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- char* setlocale(int category, const char* locale); -->
|
||||
<function name="setlocale,std::setlocale">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -5366,6 +5382,21 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void std::resize (size_t n, char c);-->
|
||||
<!-- void std::resize (size_t n, char c);-->
|
||||
<!-- void std::wstring::resize (size_t n);-->
|
||||
<!-- void std::string::resize (size_t n);-->
|
||||
<function name="std::string::resize,std::wstring::resize">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" default=" ">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- wstring to_wstring (int val); -->
|
||||
<!-- wstring to_wstring (long val); -->
|
||||
<!-- wstring to_wstring (long long val); -->
|
||||
|
@ -5955,7 +5986,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
|||
<!-- size_t rfind (const char* s, size_t pos = npos) const; -->
|
||||
<!-- size_t rfind (const char* s, size_t pos, size_t n) const; -->
|
||||
<!-- size_t rfind (char c, size_t pos = npos) const noexcept; -->
|
||||
<function name="std::string::find,std::string::rfind,std::wstring::find,std::wstring::rfind,std::basic_string::find,std::basic_string::rfind,std::string::find_first_of,std::wstring::find_first_of,std::basic_string::find_first_of,std::string::find_last_of,std::wstring::find_last_of,std::basic_string::find_last_of">
|
||||
<function name="std::basic_string::find_last_not_of,std::string::find_last_not_of,std::wstring::find_last_not_of,std::basic_string::find_first_not_of,std::string::find_first_not_of,std::wstring::find_first_not_of,std::string::find,std::string::rfind,std::wstring::find,std::wstring::rfind,std::basic_string::find,std::basic_string::rfind,std::string::find_first_of,std::wstring::find_first_of,std::basic_string::find_first_of,std::string::find_last_of,std::wstring::find_last_of,std::basic_string::find_last_of">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="size_t"/>
|
||||
<leak-ignore/>
|
||||
|
|
Loading…
Reference in New Issue