Improved testing of std.cfg regarding uninitialized variables.

This commit is contained in:
orbitcowboy 2015-09-01 16:50:36 +02:00
parent 99c1b157e2
commit d87d2ff779
3 changed files with 1021 additions and 41 deletions

View File

@ -1682,7 +1682,7 @@
</arg>
</function>
<!-- int iswupper(wint_t c); -->
<function name="iswupper">
<function name="iswupper,std::iswupper">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1703,7 +1703,7 @@
</arg>
</function>
<!-- int iswxdigit(wint_t c); -->
<function name="iswxdigit">
<function name="iswxdigit,std::iswxdigit">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1713,7 +1713,7 @@
</arg>
</function>
<!-- wint_t towctrans(wint_t c, wctrans_t desc); -->
<function name="towctrans">
<function name="towctrans,std::towctrans">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1726,7 +1726,7 @@
</arg>
</function>
<!-- wint_t towlower(wint_t c); -->
<function name="towlower">
<function name="towlower,std::towlower">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1736,7 +1736,7 @@
</arg>
</function>
<!-- wint_t towupper(wint_t c); -->
<function name="towupper">
<function name="towupper,std::towupper">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1746,7 +1746,7 @@
</arg>
</function>
<!-- wctrans_t wctrans(const char* property); -->
<function name="wctrans">
<function name="wctrans,std::wctrans">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1757,7 +1757,7 @@
</arg>
</function>
<!-- wctype_t wctype(const char* property); -->
<function name="wctype">
<function name="wctype,std::wctype">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1770,7 +1770,7 @@
<!-- double complex cabs(double complex z); -->
<!-- float complex cabsf(float complex z); -->
<!-- long double complex cabsl(long double complex z); -->
<function name="cabs,cabsf,cabs">
<function name="cabs,cabsf,cabsl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1805,7 +1805,7 @@
</function>
<!-- long int labs(long int x); -->
<!-- long long int llabs(long long int x);-->
<function name="labs,llabs">
<function name="labs,llabs,std::labs,std::llabs">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1817,7 +1817,7 @@
<!-- double ldexp(double x, int exp); -->
<!-- float ldexpf(float x, int exp); -->
<!-- long double ldexpl(long double x, int exp); -->
<function name="ldexp,ldexpf,ldexpl">
<function name="ldexp,std::ldexp,ldexpf,ldexpl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1832,7 +1832,7 @@
<!-- double lgamma(double x); -->
<!-- float lgammaf(float x); -->
<!-- long double lgammal(long double x); -->
<function name="lgamma,lgammaf,lgammal">
<function name="lgamma,std::lgamma,lgammaf,std::lgammaf,lgammal,std::lgammal">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1844,7 +1844,7 @@
<!-- double rint(double x); -->
<!-- float rintf(float x); -->
<!-- long double rintl(long double x); -->
<function name="rint,rintf,rintl">
<function name="rint,std::rint,rintf,std::rintf,rintl,std::rintl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1856,7 +1856,7 @@
<!-- long int lrint(double x); -->
<!-- long int lrintf(float x); -->
<!-- long int lrintl(long double x); -->
<function name="lrint,lrintf,lrintl">
<function name="lrint,std::lrint,lrintf,std::lrintf,lrintl,std::lrintl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1868,7 +1868,7 @@
<!-- long long int llrint(double x); -->
<!-- long long int llrintf(float x); -->
<!-- long long int llrintl(long double x); -->
<function name="llrint,llrintf,llrintl">
<function name="llrint,std::llrint,llrintf,std::llrintf,llrintl,std::llrintl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1880,7 +1880,7 @@
<!-- long long int llround(double x); -->
<!-- long long int llroundf(float x); -->
<!-- long long int llroundl(long double x); -->
<function name="llround,llroundf,llroundl">
<function name="llround,std::llround,llroundf,std::llroundf,llroundl,std::llroundl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1892,7 +1892,7 @@
<!-- long int lround(double x); -->
<!-- long int lroundf(float x); -->
<!-- long int lroundl(long double x); -->
<function name="lround,lroundf,lroundl">
<function name="lround,std::lround,lroundf,std::lroundf,lroundl,std::lroundl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
@ -1908,7 +1908,7 @@
<leak-ignore/>
</function>
<!-- void srand(unsigned int seed); -->
<function name="srand">
<function name="srand,std::srand">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
@ -1917,7 +1917,7 @@
</function>
<!-- ldiv_t ldiv(long int num, long int denom); -->
<!-- lldiv_t lldiv(long long int num, long long int denom); -->
<function name="ldiv,lldiv">
<function name="ldiv,lldiv,std::ldiv,std::lldiv">
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
@ -1930,7 +1930,7 @@
</arg>
</function>
<!-- struct tm * localtime(const time_t *tp); -->
<function name="localtime">
<function name="localtime,std::localtime">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
@ -1941,7 +1941,7 @@
<!-- double log(double x); -->
<!-- float logf(float x); -->
<!-- long double logl(long double x);-->
<function name="log,logf,logl">
<function name="log,std::log,logf,logl">
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
@ -1963,7 +1963,7 @@
<!-- double complex conj(double complex x);-->
<!-- float complex conjf(float complex x);-->
<!-- long double complex conjl(long double complex x);-->
<function name="conjl,conjf,cconjl">
<function name="conj,conjf,conjl">
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
@ -1972,7 +1972,7 @@
</arg>
</function>
<!-- int fpclassify(double x); -->
<function name="fpclassify">
<function name="fpclassify,std::fpclassify">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -1982,7 +1982,7 @@
</arg>
</function>
<!-- int isfinite(double x); -->
<function name="isfinite">
<function name="isfinite,std::isfinite">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -1992,7 +1992,7 @@
</arg>
</function>
<!-- int isgreater(double x, double y); -->
<function name="isgreater">
<function name="isgreater,std::isgreater">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2005,7 +2005,7 @@
</arg>
</function>
<!-- int isgreaterequal(double x, double y); -->
<function name="isgreaterequal">
<function name="isgreaterequal,std::isgreaterequal">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2018,7 +2018,7 @@
</arg>
</function>
<!-- int isinf(double x); -->
<function name="isinf">
<function name="isinf,std::isinf">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2030,7 +2030,7 @@
<!-- double logb(double x); -->
<!-- float logbf(float x); -->
<!-- long double logbl(long double x); -->
<function name="logb,logbf,logbl">
<function name="logb,std::logb,logbf,std::logbf,logbl,std::logbl">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2040,7 +2040,7 @@
</arg>
</function>
<!-- int isless(double x, double y); -->
<function name="isless">
<function name="isless,std::isless">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2053,7 +2053,7 @@
</arg>
</function>
<!-- int islessequal(double x, double y); -->
<function name="islessequal">
<function name="islessequal,std::islessequal">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2066,7 +2066,7 @@
</arg>
</function>
<!-- int islessgreater(double x, double y); -->
<function name="islessgreater">
<function name="islessgreater,std::islessgreater">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2081,7 +2081,7 @@
<!-- double nan(const char *tagp); -->
<!-- float nanf(const char *tagp); -->
<!-- long double nanl(const char *tagp); -->
<function name="nan,nanf,nanl">
<function name="nan,std::nan,nanf,std::nanf,nanl,std::nanl">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2092,7 +2092,7 @@
</arg>
</function>
<!-- int isnan(double x); -->
<function name="isnan">
<function name="isnan,std::isnan">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2102,7 +2102,7 @@
</arg>
</function>
<!-- int isnormal(double x); -->
<function name="isnormal">
<function name="isnormal,std::isnormal">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2112,7 +2112,7 @@
</arg>
</function>
<!-- int isunordered(double x, double y);-->
<function name="isunordered">
<function name="isunordered,std::isunordered">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2125,9 +2125,9 @@
</arg>
</function>
<!-- int ilogb(double x); -->
<!-- int ilogb(float x); -->
<!-- int ilogb(long double x); -->
<function name="ilogb,ilogbf,ilogbl">
<!-- int ilogbf(float x); -->
<!-- int ilogbl(long double x); -->
<function name="ilogb,std::ilogb,ilogbf,ilogbl">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2139,7 +2139,7 @@
<!-- double log10(double x); -->
<!-- float log10f(float x);-->
<!-- long double log10l(long double x); -->
<function name="log10,log10f,log10l">
<function name="log10,std::log10,log10f,log10l">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2151,7 +2151,7 @@
<!-- double log1p(double x); -->
<!-- float log1pf(float x); -->
<!-- long double log1pl(long double x); -->
<function name="log1p,log1pf,log1pl">
<function name="log1p,std::log1p,log1pf,std::log1pf,log1pl,std::log1pl">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2163,7 +2163,7 @@
<!-- double log2(double x); -->
<!-- float log2f(float x); -->
<!-- long double log2l(long double x); -->
<function name="log2,log2f,log2l">
<function name="log2,std::log2,log2f,std::log2f,log2l,std::log2l">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
@ -2175,7 +2175,7 @@
<!-- double nearbyint(double x); -->
<!-- float nearbyintf(float x); -->
<!-- long double nearbyintl(long double x); -->
<function name="nearbyint,nearbyintf,nearbyintl">
<function name="nearbyint,std::nearbyint,nearbyintf,std::nearbyintf,nearbyintl,std::nearbyintl">
<pure/>
<use-retval/>
<noreturn>false</noreturn>

View File

@ -1743,9 +1743,544 @@ void uninitvar_isupper(void)
(void)isupper(i);
}
void uninitvar_iswupper(void)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)iswupper(i);
}
void uninitvar_isxdigit(void)
{
int i;
// cppcheck-suppress uninitvar
(void)isxdigit(i);
}
void uninitvar_iswxdigit(void)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)iswxdigit(i);
}
void uninitvar_towctrans(void)
{
wint_t c;
wctrans_t desc;
// cppcheck-suppress uninitvar
(void)towctrans(c,desc);
}
void uninitvar_towlower(void)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)towlower(i);
}
void uninitvar_towupper(void)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)towupper(i);
}
void uninitvar_wctrans(void)
{
char* property;
// cppcheck-suppress uninitvar
(void)wctrans(property);
}
void uninitvar_wctype(void)
{
char* property;
// cppcheck-suppress uninitvar
(void)wctype(property);
}
void ignoreretrn(void)
{
char szNumbers[] = "2001 60c0c0 -1101110100110100100000 0x6fffff";
char * pEnd;
strtol(szNumbers,&pEnd,10);
}
void uninitvar_cabs(void)
{
float complex fd;
// cppcheck-suppress uninitvar
(void)cabsf(fd);
double complex dc;
// cppcheck-suppress uninitvar
(void)cabs(dc);
long double complex ldc;
// cppcheck-suppress uninitvar
(void)cabsl(ldc);
}
void uninitvar_cacos(void)
{
float complex fd;
// cppcheck-suppress uninitvar
(void)cacosf(fd);
double complex dc;
// cppcheck-suppress uninitvar
(void)cacos(dc);
long double complex ldc;
// cppcheck-suppress uninitvar
(void)cacosl(ldc);
}
void uninitvar_cacosh(void)
{
float complex fd;
// cppcheck-suppress uninitvar
(void)cacoshf(fd);
double complex dc;
// cppcheck-suppress uninitvar
(void)cacosh(dc);
long double complex ldc;
// cppcheck-suppress uninitvar
(void)cacoshl(ldc);
}
void uninitvar_labs(void)
{
long int li;
// cppcheck-suppress uninitvar
(void)labs(li);
long long int lli;
// cppcheck-suppress uninitvar
(void)llabs(lli);
}
void uninitvar_ldexp(void)
{
float f;
int e1;
// cppcheck-suppress uninitvar
(void)ldexpf(f,e1);
double d;
int e2;
// cppcheck-suppress uninitvar
(void)ldexp(d,e2);
long double ld;
int e3;
// cppcheck-suppress uninitvar
(void)ldexpl(ld,e3);
}
void uninitvar_lgamma(void)
{
float f;
// cppcheck-suppress uninitvar
(void)lgammaf(f);
double d;
// cppcheck-suppress uninitvar
(void)lgamma(d);
long double ld;
// cppcheck-suppress uninitvar
(void)lgammal(ld);
}
void uninitvar_rint(void)
{
float f;
// cppcheck-suppress uninitvar
(void)rintf(f);
double d;
// cppcheck-suppress uninitvar
(void)rint(d);
long double ld;
// cppcheck-suppress uninitvar
(void)rintl(ld);
}
void uninitvar_lrint(void)
{
float f;
// cppcheck-suppress uninitvar
(void)lrintf(f);
double d;
// cppcheck-suppress uninitvar
(void)lrint(d);
long double ld;
// cppcheck-suppress uninitvar
(void)lrintl(ld);
}
void uninitvar_llrint(void)
{
float f;
// cppcheck-suppress uninitvar
(void)llrintf(f);
double d;
// cppcheck-suppress uninitvar
(void)llrint(d);
long double ld;
// cppcheck-suppress uninitvar
(void)llrintl(ld);
}
void uninitvar_lround(void)
{
float f;
// cppcheck-suppress uninitvar
(void)lroundf(f);
double d;
// cppcheck-suppress uninitvar
(void)lround(d);
long double ld;
// cppcheck-suppress uninitvar
(void)lroundl(ld);
}
void uninitvar_llround(void)
{
float f;
// cppcheck-suppress uninitvar
(void)llroundf(f);
double d;
// cppcheck-suppress uninitvar
(void)llround(d);
long double ld;
// cppcheck-suppress uninitvar
(void)llroundl(ld);
}
void uninitvar_srand(void)
{
unsigned int seed;
// cppcheck-suppress uninitvar
(void)srand(seed);
}
void uninitvar_ldiv(void)
{
long int l1;
long int l2;
// cppcheck-suppress uninitvar
(void)ldiv(l1,l2);
long long int ll1;
long long int ll2;
// cppcheck-suppress uninitvar
(void)lldiv(ll1,ll2);
}
void uninitvar_localtime(void)
{
time_t *tp;
// cppcheck-suppress uninitvar
(void)localtime(tp);
}
void uninitvar_log(void)
{
float f;
// cppcheck-suppress uninitvar
(void)logf(f);
double d;
// cppcheck-suppress uninitvar
(void)log(d);
long double ld;
// cppcheck-suppress uninitvar
(void)logl(ld);
}
void uninitvar_clog(void)
{
float complex fc;
// cppcheck-suppress uninitvar
(void)clogf(fc);
double complex dc;
// cppcheck-suppress uninitvar
(void)clog(dc);
long double complex ldc;
// cppcheck-suppress uninitvar
(void)clogl(ldc);
}
void uninitvar_conj(void)
{
float complex fc;
// cppcheck-suppress uninitvar
(void)conjf(fc);
double complex dc;
// cppcheck-suppress uninitvar
(void)conj(dc);
long double complex ldc;
// cppcheck-suppress uninitvar
(void)conjl(ldc);
}
void uninitvar_fpclassify(void)
{
float f;
// cppcheck-suppress uninitvar
(void)fpclassify(f);
double d;
// cppcheck-suppress uninitvar
(void)fpclassify(d);
long double ld;
// cppcheck-suppress uninitvar
(void)fpclassify(ld);
}
void uninitvar_isfinite(void)
{
float f;
// cppcheck-suppress uninitvar
(void)isfinite(f);
double d;
// cppcheck-suppress uninitvar
(void)isfinite(d);
long double ld;
// cppcheck-suppress uninitvar
(void)isfinite(ld);
}
void uninitvar_isgreater(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)isgreater(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)isgreater(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)isgreater(ld1,ld2);
}
void uninitvar_isgreaterequal(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)isgreaterequal(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)isgreaterequal(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)isgreaterequal(ld1,ld2);
}
void uninitvar_isinf(void)
{
float f;
// cppcheck-suppress uninitvar
(void)isinf(f);
double d;
// cppcheck-suppress uninitvar
(void)isinf(d);
long double ld;
// cppcheck-suppress uninitvar
(void)isinf(ld);
}
void uninitvar_logb(void)
{
float f;
// cppcheck-suppress uninitvar
(void)logbf(f);
double d;
// cppcheck-suppress uninitvar
(void)logb(d);
long double ld;
// cppcheck-suppress uninitvar
(void)logbl(ld);
}
void uninitvar_isless(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)isless(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)isless(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)isless(ld1,ld2);
}
void uninitvar_islessequal(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)islessequal(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)islessequal(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)islessequal(ld1,ld2);
}
void uninitvar_islessgreater(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)islessgreater(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)islessgreater(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)islessgreater(ld1,ld2);
}
void uninitvar_nan(void)
{
char *tagp;
// cppcheck-suppress uninitvar
(void)nanf(tagp);
// cppcheck-suppress uninitvar
(void)nan(tagp);
// cppcheck-suppress uninitvar
(void)nanl(tagp);
}
void uninitvar_isnan(void)
{
double d;
// cppcheck-suppress uninitvar
(void)isnan(d);
}
void uninitvar_isnormal(void)
{
double d;
// cppcheck-suppress uninitvar
(void)isnormal(d);
}
void uninitvar_isunordered(void)
{
double d1,d2;
// cppcheck-suppress uninitvar
(void)isunordered(d1,d2);
}
void uninitvar_ilogb(void)
{
float f;
// cppcheck-suppress uninitvar
(void)ilogbf(f);
double d;
// cppcheck-suppress uninitvar
(void)ilogb(d);
long double ld;
// cppcheck-suppress uninitvar
(void)ilogbl(ld);
}
void uninitvar_log10(void)
{
float f;
// cppcheck-suppress uninitvar
(void)log10f(f);
double d;
// cppcheck-suppress uninitvar
(void)log10(d);
long double ld;
// cppcheck-suppress uninitvar
(void)log10l(ld);
}
void uninitvar_log1p(void)
{
float f;
// cppcheck-suppress uninitvar
(void)log1pf(f);
double d;
// cppcheck-suppress uninitvar
(void)log1p(d);
long double ld;
// cppcheck-suppress uninitvar
(void)log1pl(ld);
}
void uninitvar_log2(void)
{
float f;
// cppcheck-suppress uninitvar
(void)log2f(f);
double d;
// cppcheck-suppress uninitvar
(void)log2(d);
long double ld;
// cppcheck-suppress uninitvar
(void)log2l(ld);
}
void uninitvar_nearbyint(void)
{
float f;
// cppcheck-suppress uninitvar
(void)nearbyintf(f);
double d;
// cppcheck-suppress uninitvar
(void)nearbyint(d);
long double ld;
// cppcheck-suppress uninitvar
(void)nearbyintl(ld);
}

View File

@ -1195,3 +1195,448 @@ void uninitvar_iswspace(void)
// cppcheck-suppress uninitvar
(void)std::iswspace(i);
}
void uninitvar_iswupper(void)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)std::iswupper(i);
}
void uninitvar_iswxdigit(void)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)std::iswxdigit(i);
}
void uninitvar_towctrans(void)
{
wint_t c;
wctrans_t desc;
// cppcheck-suppress uninitvar
(void)std::towctrans(c,desc);
}
void uninitvar_towlower(void)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)std::towlower(i);
}
void uninitvar_towupper(void)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)std::towupper(i);
}
void uninitvar_wctrans(void)
{
char* property;
// cppcheck-suppress uninitvar
(void)std::wctrans(property);
}
void uninitvar_wctype(void)
{
char* property;
// cppcheck-suppress uninitvar
(void)std::wctype(property);
}
void uninitvar_labs(void)
{
long int li;
// cppcheck-suppress uninitvar
(void)std::labs(li);
long long int lli;
// cppcheck-suppress uninitvar
(void)std::llabs(lli);
}
void uninitvar_ldexp(void)
{
float fd;
int e1;
// cppcheck-suppress uninitvar
(void)std::ldexp(fd,e1);
double dc;
int e2;
// cppcheck-suppress uninitvar
(void)std::ldexp(dc,e2);
long double ldc;
int e3;
// cppcheck-suppress uninitvar
(void)std::ldexp(ldc,e3);
}
void uninitvar_lgamma(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::lgammaf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::lgamma(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::lgammal(ld);
}
void uninitvar_rint(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::rintf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::rint(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::rintl(ld);
}
void uninitvar_lrint(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::lrintf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::lrint(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::lrintl(ld);
}
void uninitvar_llrint(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::llrintf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::llrint(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::llrintl(ld);
}
void uninitvar_lround(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::lroundf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::lround(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::lroundl(ld);
}
void uninitvar_llround(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::llroundf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::llround(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::llroundl(ld);
}
void uninitvar_srand(void)
{
unsigned int seed;
// cppcheck-suppress uninitvar
(void)std::srand(seed);
}
void uninitvar_ldiv(void)
{
long int l1;
long int l2;
// cppcheck-suppress uninitvar
(void)std::ldiv(l1,l2);
long long int ll1;
long long int ll2;
// cppcheck-suppress uninitvar
(void)std::lldiv(ll1,ll2);
}
void uninitvar_localtime(void)
{
time_t *tp;
// cppcheck-suppress uninitvar
(void)std::localtime(tp);
}
void uninitvar_log(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::log(f);
double d;
// cppcheck-suppress uninitvar
(void)std::log(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::log(ld);
}
void uninitvar_fpclassify(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::fpclassify(f);
double d;
// cppcheck-suppress uninitvar
(void)std::fpclassify(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::fpclassify(ld);
}
void uninitvar_isfinite(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::isfinite(f);
double d;
// cppcheck-suppress uninitvar
(void)std::isfinite(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::isfinite(ld);
}
void uninitvar_isgreater(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)std::isgreater(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)std::isgreater(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)std::isgreater(ld1,ld2);
}
void uninitvar_isgreaterequal(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)std::isgreaterequal(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)std::isgreaterequal(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)std::isgreaterequal(ld1,ld2);
}
void uninitvar_isinf(void)
{
double d;
// cppcheck-suppress uninitvar
(void)std::isinf(d);
}
void uninitvar_logb(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::logbf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::logb(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::logbl(ld);
}
void uninitvar_isless(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)std::isless(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)std::isless(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)std::isless(ld1,ld2);
}
void uninitvar_islessequal(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)std::islessequal(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)std::islessequal(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)std::islessequal(ld1,ld2);
}
void uninitvar_islessgreater(void)
{
float f1,f2;
// cppcheck-suppress uninitvar
(void)std::islessgreater(f1,f2);
double d1,d2;
// cppcheck-suppress uninitvar
(void)std::islessgreater(d1,d2);
long double ld1,ld2;
// cppcheck-suppress uninitvar
(void)std::islessgreater(ld1,ld2);
}
void uninitvar_nan(void)
{
char *tagp;
// cppcheck-suppress uninitvar
(void)std::nanf(tagp);
// cppcheck-suppress uninitvar
(void)std::nan(tagp);
// cppcheck-suppress uninitvar
(void)std::nanl(tagp);
}
void uninitvar_isnan(void)
{
double d;
// cppcheck-suppress uninitvar
(void)std::isnan(d);
}
void uninitvar_isnormal(void)
{
double d;
// cppcheck-suppress uninitvar
(void)std::isnormal(d);
}
void uninitvar_isunordered(void)
{
double d1,d2;
// cppcheck-suppress uninitvar
(void)std::isunordered(d1,d2);
}
void uninitvar_ilogb(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::ilogb(f);
double d;
// cppcheck-suppress uninitvar
(void)std::ilogb(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::ilogb(ld);
}
void uninitvar_log10(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::log10(f);
double d;
// cppcheck-suppress uninitvar
(void)std::log10(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::log10(ld);
}
void uninitvar_log1p(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::log1pf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::log1p(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::log1pl(ld);
}
void uninitvar_log2(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::log2f(f);
double d;
// cppcheck-suppress uninitvar
(void)std::log2(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::log2l(ld);
}
void uninitvar_nearbyint(void)
{
float f;
// cppcheck-suppress uninitvar
(void)std::nearbyintf(f);
double d;
// cppcheck-suppress uninitvar
(void)std::nearbyint(d);
long double ld;
// cppcheck-suppress uninitvar
(void)std::nearbyintl(ld);
}