Skip to content

Commit 0d888ba

Browse files
committed
std.cfg: Added more return value types.
1 parent c133e1d commit 0d888ba

1 file changed

Lines changed: 144 additions & 5 deletions

File tree

cfg/std.cfg

Lines changed: 144 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,13 +1550,46 @@
15501550
</arg>
15511551
</function>
15521552
<!-- double fma(double x, double y, double z); -->
1553+
<function name="fma,std::fma">
1554+
<use-retval/>
1555+
<pure/>
1556+
<noreturn>false</noreturn>
1557+
<leak-ignore/>
1558+
<returnValue type="double"/>
1559+
<arg nr="1">
1560+
<not-uninit/>
1561+
</arg>
1562+
<arg nr="2">
1563+
<not-uninit/>
1564+
</arg>
1565+
<arg nr="3">
1566+
<not-uninit/>
1567+
</arg>
1568+
</function>
15531569
<!-- float fmaf(float x, float y, float z); -->
1570+
<function name="fmaf,std::fmaf">
1571+
<use-retval/>
1572+
<pure/>
1573+
<noreturn>false</noreturn>
1574+
<leak-ignore/>
1575+
<returnValue type="float"/>
1576+
<arg nr="1">
1577+
<not-uninit/>
1578+
</arg>
1579+
<arg nr="2">
1580+
<not-uninit/>
1581+
</arg>
1582+
<arg nr="3">
1583+
<not-uninit/>
1584+
</arg>
1585+
</function>
15541586
<!-- long double fmal(long double x, long double y, long double z); -->
1555-
<function name="fma,std::fma,fmaf,std::fmaf,fmal,std::fmal">
1587+
<function name="fmal,std::fmal">
15561588
<use-retval/>
15571589
<pure/>
15581590
<noreturn>false</noreturn>
15591591
<leak-ignore/>
1592+
<returnValue type="long double"/>
15601593
<arg nr="1">
15611594
<not-uninit/>
15621595
</arg>
@@ -1568,13 +1601,40 @@
15681601
</arg>
15691602
</function>
15701603
<!-- double fmax(double x, double y); -->
1604+
<function name="fmax,std::fmax">
1605+
<use-retval/>
1606+
<pure/>
1607+
<noreturn>false</noreturn>
1608+
<leak-ignore/>
1609+
<returnValue type="double"/>
1610+
<arg nr="1">
1611+
<not-uninit/>
1612+
</arg>
1613+
<arg nr="2">
1614+
<not-uninit/>
1615+
</arg>
1616+
</function>
15711617
<!-- float fmaxf(float x, float y); -->
1618+
<function name="fmaxf,std::fmaxf">
1619+
<use-retval/>
1620+
<pure/>
1621+
<noreturn>false</noreturn>
1622+
<leak-ignore/>
1623+
<returnValue type="float"/>
1624+
<arg nr="1">
1625+
<not-uninit/>
1626+
</arg>
1627+
<arg nr="2">
1628+
<not-uninit/>
1629+
</arg>
1630+
</function>
15721631
<!-- long double fmaxl(long double x, long double y); -->
1573-
<function name="fmax,std::fmax,fmaxf,std::fmaxf,fmaxl,std::fmaxl">
1632+
<function name="fmaxl,std::fmaxl">
15741633
<use-retval/>
15751634
<pure/>
15761635
<noreturn>false</noreturn>
15771636
<leak-ignore/>
1637+
<returnValue type="long double"/>
15781638
<arg nr="1">
15791639
<not-uninit/>
15801640
</arg>
@@ -1583,13 +1643,40 @@
15831643
</arg>
15841644
</function>
15851645
<!-- double fmin(double x, double y); -->
1646+
<function name="fmin,std::fmin">
1647+
<use-retval/>
1648+
<pure/>
1649+
<noreturn>false</noreturn>
1650+
<leak-ignore/>
1651+
<returnValue type="double"/>
1652+
<arg nr="1">
1653+
<not-uninit/>
1654+
</arg>
1655+
<arg nr="2">
1656+
<not-uninit/>
1657+
</arg>
1658+
</function>
15861659
<!-- float fminf(float x, float y); -->
1660+
<function name="fminf,std::fminf">
1661+
<use-retval/>
1662+
<pure/>
1663+
<noreturn>false</noreturn>
1664+
<leak-ignore/>
1665+
<returnValue type="float"/>
1666+
<arg nr="1">
1667+
<not-uninit/>
1668+
</arg>
1669+
<arg nr="2">
1670+
<not-uninit/>
1671+
</arg>
1672+
</function>
15871673
<!-- long double fminl(long double x, long double y); -->
1588-
<function name="fmin,std::fmin,fminf,std::fminf,fminl,std::fminl">
1674+
<function name="fminl,std::fminl">
15891675
<use-retval/>
15901676
<pure/>
15911677
<noreturn>false</noreturn>
15921678
<leak-ignore/>
1679+
<returnValue type="long double"/>
15931680
<arg nr="1">
15941681
<not-uninit/>
15951682
</arg>
@@ -1598,13 +1685,40 @@
15981685
</arg>
15991686
</function>
16001687
<!-- double fmod(double x, double y); -->
1688+
<function name="fmod,std::fmod">
1689+
<use-retval/>
1690+
<pure/>
1691+
<noreturn>false</noreturn>
1692+
<leak-ignore/>
1693+
<returnValue type="double"/>
1694+
<arg nr="1">
1695+
<not-uninit/>
1696+
</arg>
1697+
<arg nr="2">
1698+
<not-uninit/>
1699+
</arg>
1700+
</function>
16011701
<!-- float fmodf(float x, float y); -->
1702+
<function name="fmodf,std::fmodf">
1703+
<use-retval/>
1704+
<pure/>
1705+
<noreturn>false</noreturn>
1706+
<leak-ignore/>
1707+
<returnValue type="float"/>
1708+
<arg nr="1">
1709+
<not-uninit/>
1710+
</arg>
1711+
<arg nr="2">
1712+
<not-uninit/>
1713+
</arg>
1714+
</function>
16021715
<!-- long double fmodl(long double x, long double y); -->
1603-
<function name="fmod,std::fmod,fmodf,fmodl">
1716+
<function name="fmodl,std::fmodl">
16041717
<use-retval/>
16051718
<pure/>
16061719
<noreturn>false</noreturn>
16071720
<leak-ignore/>
1721+
<returnValue type="long double"/>
16081722
<arg nr="1">
16091723
<not-uninit/>
16101724
</arg>
@@ -1616,6 +1730,7 @@
16161730
<function name="fopen,std::fopen">
16171731
<use-retval/>
16181732
<noreturn>false</noreturn>
1733+
<returnValue type="FILE *"/>
16191734
<arg nr="1">
16201735
<not-null/>
16211736
<not-uninit/>
@@ -1779,6 +1894,7 @@
17791894
<function name="freopen,std::freopen">
17801895
<noreturn>false</noreturn>
17811896
<use-retval/>
1897+
<returnValue type="FILE *"/>
17821898
<arg nr="1">
17831899
<not-uninit/>
17841900
<strz/>
@@ -1813,11 +1929,34 @@
18131929
</arg>
18141930
</function>
18151931
<!-- double frexp(double x, int *exp); -->
1932+
<function name="frexp,std::frexp">
1933+
<noreturn>false</noreturn>
1934+
<leak-ignore/>
1935+
<returnValue type="double"/>
1936+
<arg nr="1">
1937+
<not-uninit/>
1938+
</arg>
1939+
<arg nr="2">
1940+
<not-null/>
1941+
</arg>
1942+
</function>
18161943
<!-- float frexpf(float x, int *exp); -->
1944+
<function name="frexpf,std::frexpf">
1945+
<noreturn>false</noreturn>
1946+
<leak-ignore/>
1947+
<returnValue type="float"/>
1948+
<arg nr="1">
1949+
<not-uninit/>
1950+
</arg>
1951+
<arg nr="2">
1952+
<not-null/>
1953+
</arg>
1954+
</function>
18171955
<!-- long double frexpl(long double x, int *exp); -->
1818-
<function name="frexp,std::frexp,frexpf,frexpl">
1956+
<function name="frexpl,std::frexpl">
18191957
<noreturn>false</noreturn>
18201958
<leak-ignore/>
1959+
<returnValue type="long double"/>
18211960
<arg nr="1">
18221961
<not-uninit/>
18231962
</arg>

0 commit comments

Comments
 (0)