Reverted changes to std.cfg. It somehow causes test failures.

This commit is contained in:
Daniel Marjamäki 2015-09-05 20:36:22 +02:00
parent ff0f4cef16
commit c8662a7880
1 changed files with 49 additions and 47 deletions

View File

@ -2321,9 +2321,9 @@
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="3"> <arg nr="3">
<not-uninit/>
<not-bool/> <not-bool/>
<valid>0:</valid> <valid>0:</valid>
<not-uninit/>
</arg> </arg>
</function> </function>
<!-- wchar_t * wmemcpy(wchar_t *ct, const wchar_t *cs, size_t n);--> <!-- wchar_t * wmemcpy(wchar_t *ct, const wchar_t *cs, size_t n);-->
@ -2340,9 +2340,9 @@
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="3"> <arg nr="3">
<not-uninit/>
<not-bool/> <not-bool/>
<valid>0:</valid> <valid>0:</valid>
<not-uninit/>
</arg> </arg>
</function> </function>
<!-- void * memmove(void *ct, const void *cs, size_t n); --> <!-- void * memmove(void *ct, const void *cs, size_t n); -->
@ -2359,9 +2359,9 @@
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="3"> <arg nr="3">
<not-uninit/>
<not-bool/> <not-bool/>
<valid>0:</valid> <valid>0:</valid>
<not-uninit/>
</arg> </arg>
</function> </function>
<!-- wchar_t * wmemmove(wchar_t *ct, const wchar_t *cs, size_t n); --> <!-- wchar_t * wmemmove(wchar_t *ct, const wchar_t *cs, size_t n); -->
@ -2378,9 +2378,9 @@
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="3"> <arg nr="3">
<not-uninit/>
<not-bool/> <not-bool/>
<valid>0:</valid> <valid>0:</valid>
<not-uninit/>
</arg> </arg>
</function> </function>
<!-- void *memset(void *s, int c, size_t n); --> <!-- void *memset(void *s, int c, size_t n); -->
@ -2395,9 +2395,9 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
<arg nr="3"> <arg nr="3">
<not-uninit/>
<not-bool/> <not-bool/>
<valid>0:</valid> <valid>0:</valid>
<not-uninit/>
</arg> </arg>
</function> </function>
<!-- wchar_t *wmemset(wchar_t *s, wchar_t c, size_t n); --> <!-- wchar_t *wmemset(wchar_t *s, wchar_t c, size_t n); -->
@ -2412,9 +2412,9 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
<arg nr="3"> <arg nr="3">
<not-uninit/>
<not-bool/> <not-bool/>
<valid>0:</valid> <valid>0:</valid>
<not-uninit/>
</arg> </arg>
</function> </function>
<!-- time_t mktime(struct tm *tp); --> <!-- time_t mktime(struct tm *tp); -->
@ -2754,24 +2754,24 @@
<leak-ignore/> <leak-ignore/>
<formatstr scan="true"/> <formatstr scan="true"/>
<arg nr="1"> <arg nr="1">
<not-uninit/>
<formatstr/> <formatstr/>
<not-null/> <not-null/>
<not-uninit/>
</arg> </arg>
</function> </function>
<!-- int vsscanf(const char *s, const char *format, va_list arg); --> <!-- int vsscanf(const char *s, const char *format, va_list arg); -->
<function name="vsscanf,std::vsscanf"> <function name="vsscanf,std::vsscanf">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<formatstr scan="true"/> <formatstr scan="true"/>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2"> <arg nr="2">
<not-uninit/>
<formatstr/> <formatstr/>
<not-null/> <not-null/>
<not-uninit/>
</arg> </arg>
<arg nr="3"/> <arg nr="3"/>
</function> </function>
@ -2779,15 +2779,15 @@
<function name="vswscanf,std::vswscanf"> <function name="vswscanf,std::vswscanf">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<formatstr scan="true"/> <formatstr scan="true"/>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2"> <arg nr="2">
<not-uninit/>
<formatstr/> <formatstr/>
<not-null/> <not-null/>
<not-uninit/>
</arg> </arg>
<arg nr="3"/> <arg nr="3"/>
</function> </function>
@ -2797,9 +2797,9 @@
<leak-ignore/> <leak-ignore/>
<formatstr scan="true"/> <formatstr scan="true"/>
<arg nr="1"> <arg nr="1">
<not-uninit/>
<formatstr/> <formatstr/>
<not-null/> <not-null/>
<not-uninit/>
</arg> </arg>
<arg nr="2"/> <arg nr="2"/>
</function> </function>
@ -2850,6 +2850,16 @@
<leak-ignore/> <leak-ignore/>
<arg nr="1"/> <arg nr="1"/>
</function> </function>
<memory>
<dealloc>free</dealloc>
<alloc init="false">malloc</alloc>
<alloc init="true">calloc</alloc>
</memory>
<resource>
<dealloc>fclose</dealloc>
<alloc init="true">fopen</alloc>
<alloc init="true">tmpfile</alloc>
</resource>
<!-- char * strcat(char *deststr, const char *srcstr); --> <!-- char * strcat(char *deststr, const char *srcstr); -->
<function name="strcat,std::strcat"> <function name="strcat,std::strcat">
<noreturn>false</noreturn> <noreturn>false</noreturn>
@ -3382,8 +3392,9 @@
</function> </function>
<!-- char *strtok(char *s, const char *ct); --> <!-- char *strtok(char *s, const char *ct); -->
<function name="strtok"> <function name="strtok">
<pure/> <!-- strtok may modify the first argument, so using the return value is not mandatory -->
<noreturn>false</noreturn> <noreturn>false</noreturn>
<pure/>
<leak-ignore/> <leak-ignore/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
@ -3580,13 +3591,13 @@
<function name="sprintf"> <function name="sprintf">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<formatstr/>
<arg nr="1"> <arg nr="1">
<minsize type="strlen" arg="2"/> <minsize type="strlen" arg="2"/>
</arg> </arg>
<formatstr/>
<arg nr="2"> <arg nr="2">
<formatstr/>
<not-null/> <not-null/>
<formatstr/>
</arg> </arg>
</function> </function>
<!-- int swprintf(wchar_t *s, size_t n, const wchar_t *format, ...); --> <!-- int swprintf(wchar_t *s, size_t n, const wchar_t *format, ...); -->
@ -3772,39 +3783,17 @@
</function> </function>
<!-- struct tmx *zonetime(const time_t *tp, int zone); --> <!-- struct tmx *zonetime(const time_t *tp, int zone); -->
<function name="zonetime"> <function name="zonetime">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/> <use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"> <arg nr="1">
<not-null/>
<not-uninit/> <not-uninit/>
<not-null/>
</arg> </arg>
<arg nr="2"> <arg nr="2">
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!--Not part of standard, but widely supported by runtime libraries-->
<function name="itoa">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
<arg nr="3"/>
</function>
<memory>
<alloc>malloc</alloc>
<alloc init="true">calloc</alloc>
<dealloc>free</dealloc>
</memory>
<resource>
<alloc init="true">fopen</alloc>
<alloc init="true">tmpfile</alloc>
<dealloc>fclose</dealloc>
</resource>
<container id="stdContainer" endPattern="&gt; !!::"> <container id="stdContainer" endPattern="&gt; !!::">
<type templateParameter="0"/> <type templateParameter="0"/>
<size> <size>
@ -3878,7 +3867,8 @@
<container id="stdBasicString" startPattern="std :: basic_string &lt;" inherits="stdAllString"> <container id="stdBasicString" startPattern="std :: basic_string &lt;" inherits="stdAllString">
<type templateParameter="0"/> <type templateParameter="0"/>
</container> </container>
<container id="stdString" startPattern="std :: string|wstring|u16string|u32string" inherits="stdAllString"/> <container id="stdString" startPattern="std :: string|wstring|u16string|u32string" endPattern="" inherits="stdAllString">
</container>
<podtype name="int8_t" sign="s" size="1"/> <podtype name="int8_t" sign="s" size="1"/>
<podtype name="int16_t" sign="s" size="2"/> <podtype name="int16_t" sign="s" size="2"/>
<podtype name="int32_t" sign="s" size="4"/> <podtype name="int32_t" sign="s" size="4"/>
@ -3929,4 +3919,16 @@
<podtype name="mbstate_t"/> <podtype name="mbstate_t"/>
<podtype name="wint_t"/> <podtype name="wint_t"/>
<podtype name="jmp_buf"/> <podtype name="jmp_buf"/>
<!--Not part of standard, but widely supported by runtime libraries-->
<function name="itoa">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
<arg nr="3"/>
</function>
</def> </def>