std.cfg: add std:: functions
This commit is contained in:
parent
b927b77fc4
commit
c0998cbc11
50
cfg/std.cfg
50
cfg/std.cfg
|
@ -5,7 +5,7 @@
|
|||
<noreturn>true</noreturn>
|
||||
</function>
|
||||
<!-- int abs (int j); -->
|
||||
<function name="abs">
|
||||
<function name="abs,std::abs">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -136,7 +136,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- char *asctime(const struct tm *tm) -->
|
||||
<function name="asctime">
|
||||
<function name="asctime,std::asctime">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
|
@ -148,6 +148,10 @@
|
|||
<!-- void assert (int expression) -->
|
||||
<function name="assert">
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
<valid>1</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- double sqrt(double x); -->
|
||||
<function name="sqrt">
|
||||
|
@ -2383,7 +2387,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int isalnum ( int c ); -->
|
||||
<function name="isalnum">
|
||||
<function name="isalnum,std::isalnum">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2404,7 +2408,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int isalpha ( int c ); -->
|
||||
<function name="isalpha">
|
||||
<function name="isalpha,std::isalpha">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2446,7 +2450,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int iscntrl ( int c ); -->
|
||||
<function name="iscntrl">
|
||||
<function name="iscntrl,std::iscntrl">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2480,7 +2484,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int isdigit ( int c ); -->
|
||||
<function name="isdigit">
|
||||
<function name="isdigit,std::isdigit">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2501,7 +2505,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int isgraph ( int c ); -->
|
||||
<function name="isgraph">
|
||||
<function name="isgraph,std::isgraph">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2522,7 +2526,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int islower ( int c ); -->
|
||||
<function name="islower">
|
||||
<function name="islower,std::islower">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2543,7 +2547,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int isprint ( int c ); -->
|
||||
<function name="isprint">
|
||||
<function name="isprint,std::isprint">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2585,7 +2589,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int isspace ( int c ); -->
|
||||
<function name="isspace">
|
||||
<function name="isspace,std::isspace">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2606,7 +2610,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int isupper ( int c ); -->
|
||||
<function name="isupper">
|
||||
<function name="isupper,std::isupper">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -2627,7 +2631,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int isxdigit ( int c ); -->
|
||||
<function name="isxdigit">
|
||||
<function name="isxdigit,std::isxdigit">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -3649,7 +3653,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int memcmp(const void *s1, const void *s2, size_t n);-->
|
||||
<function name="memcmp">
|
||||
<function name="memcmp,std::memcmp">
|
||||
<use-retval/>
|
||||
<pure/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -3670,7 +3674,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- void * memcpy(void *ct, const void *cs, size_t n);-->
|
||||
<function name="memcpy">
|
||||
<function name="memcpy,std::memcpy">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -3706,7 +3710,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- void * memmove(void *ct, const void *cs, size_t n); -->
|
||||
<function name="memmove">
|
||||
<function name="memmove,std::memmove">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -3742,7 +3746,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- void *memset(void *s, int c, size_t n); -->
|
||||
<function name="memset">
|
||||
<function name="memset,std::memset">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -4409,7 +4413,7 @@
|
|||
<alloc init="true">tmpfile</alloc>
|
||||
</resource>
|
||||
<!-- char * strcat(char *deststr, const char *srcstr); -->
|
||||
<function name="strcat">
|
||||
<function name="strcat,std::strcat">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -4447,7 +4451,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- char * strchr(const char *cs, int c); -->
|
||||
<function name="strchr">
|
||||
<function name="strchr,std::strchr">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
|
@ -4474,7 +4478,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int strcmp(const char *str1, const char *str2); -->
|
||||
<function name="strcmp">
|
||||
<function name="strcmp,std::strcmp">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<pure/>
|
||||
|
@ -4570,7 +4574,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- size_t strlen(const char *string); -->
|
||||
<function name="strlen">
|
||||
<function name="strlen,std::strlen">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
|
@ -4625,7 +4629,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- char * strncat(char *ct, const char *s, size_t n); -->
|
||||
<function name="strncat">
|
||||
<function name="strncat,std::strncat">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -4661,7 +4665,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int strncmp(const char *s1, const char *s2, size_t n); -->
|
||||
<function name="strncmp">
|
||||
<function name="strncmp,std::strncmp">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<pure/>
|
||||
|
@ -4699,7 +4703,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- size_t strstr(const char *s1, const char *s2); -->
|
||||
<function name="strstr">
|
||||
<function name="strstr,std::strstr">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
|
|
Loading…
Reference in New Issue