Skip to content

Commit c133e1d

Browse files
committed
std.cfg: Added more returnValue-types.
1 parent 4601e40 commit c133e1d

1 file changed

Lines changed: 216 additions & 11 deletions

File tree

cfg/std.cfg

Lines changed: 216 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,49 +1138,133 @@
11381138
</arg>
11391139
</function>
11401140
<!-- double erf(double x); -->
1141+
<function name="erf,std::erf">
1142+
<use-retval/>
1143+
<pure/>
1144+
<noreturn>false</noreturn>
1145+
<returnValue type="double"/>
1146+
<leak-ignore/>
1147+
<arg nr="1">
1148+
<not-uninit/>
1149+
</arg>
1150+
</function>
11411151
<!-- float erff(float f); -->
1152+
<function name="erff,std::erff">
1153+
<use-retval/>
1154+
<pure/>
1155+
<noreturn>false</noreturn>
1156+
<leak-ignore/>
1157+
<returnValue type="float"/>
1158+
<arg nr="1">
1159+
<not-uninit/>
1160+
</arg>
1161+
</function>
11421162
<!-- long double erfl(long double x); -->
1143-
<function name="erf,std::erf,erff,std::erff,erfl,std::erfl">
1163+
<function name="erfl,std::erfl">
11441164
<use-retval/>
11451165
<pure/>
11461166
<noreturn>false</noreturn>
1167+
<returnValue type="long double"/>
11471168
<leak-ignore/>
11481169
<arg nr="1">
11491170
<not-uninit/>
11501171
</arg>
11511172
</function>
11521173
<!-- double erfc(double x); -->
1174+
<function name="erfc,std::erfc">
1175+
<use-retval/>
1176+
<pure/>
1177+
<noreturn>false</noreturn>
1178+
<leak-ignore/>
1179+
<returnValue type="double"/>
1180+
<arg nr="1">
1181+
<not-uninit/>
1182+
</arg>
1183+
</function>
11531184
<!-- float erfcf(float x); -->
1185+
<function name="erfcf,std::erfcf">
1186+
<use-retval/>
1187+
<pure/>
1188+
<noreturn>false</noreturn>
1189+
<leak-ignore/>
1190+
<returnValue type="float"/>
1191+
<arg nr="1">
1192+
<not-uninit/>
1193+
</arg>
1194+
</function>
11541195
<!-- long double erfcl(long double x); -->
1155-
<function name="erfc,std::erfc,erfcf,std::erfcf,erfcl,std::erfcl">
1196+
<function name="erfcl,std::erfcl">
11561197
<use-retval/>
11571198
<pure/>
11581199
<noreturn>false</noreturn>
11591200
<leak-ignore/>
1201+
<returnValue type="long double"/>
11601202
<arg nr="1">
11611203
<not-uninit/>
11621204
</arg>
11631205
</function>
11641206
<!-- double carg(double complex z);-->
1207+
<function name="carg">
1208+
<use-retval/>
1209+
<pure/>
1210+
<noreturn>false</noreturn>
1211+
<leak-ignore/>
1212+
<returnValue type="double"/>
1213+
<arg nr="1">
1214+
<not-uninit/>
1215+
</arg>
1216+
</function>
11651217
<!-- float cargf(float complex z);-->
1218+
<function name="cargf">
1219+
<use-retval/>
1220+
<pure/>
1221+
<noreturn>false</noreturn>
1222+
<leak-ignore/>
1223+
<returnValue type="float"/>
1224+
<arg nr="1">
1225+
<not-uninit/>
1226+
</arg>
1227+
</function>
11661228
<!-- long double cargl(long double complex z);-->
1167-
<function name="carg,cargf,cargl">
1229+
<function name="cargl">
11681230
<use-retval/>
11691231
<pure/>
11701232
<noreturn>false</noreturn>
11711233
<leak-ignore/>
1234+
<returnValue type="long double"/>
11721235
<arg nr="1">
11731236
<not-uninit/>
11741237
</arg>
11751238
</function>
11761239
<!-- double exp(double x); -->
1240+
<function name="exp,std::exp">
1241+
<use-retval/>
1242+
<pure/>
1243+
<noreturn>false</noreturn>
1244+
<leak-ignore/>
1245+
<returnValue type="double"/>
1246+
<arg nr="1">
1247+
<not-uninit/>
1248+
</arg>
1249+
</function>
11771250
<!-- float expf(float x); -->
1251+
<function name="expf,std::expf">
1252+
<use-retval/>
1253+
<pure/>
1254+
<noreturn>false</noreturn>
1255+
<leak-ignore/>
1256+
<returnValue type="float"/>
1257+
<arg nr="1">
1258+
<not-uninit/>
1259+
</arg>
1260+
</function>
11781261
<!-- long double expl(long double x); -->
1179-
<function name="exp,std::exp,expf,expl">
1262+
<function name="expl,std::expl">
11801263
<use-retval/>
11811264
<pure/>
11821265
<noreturn>false</noreturn>
11831266
<leak-ignore/>
1267+
<returnValue type="long double"/>
11841268
<arg nr="1">
11851269
<not-uninit/>
11861270
</arg>
@@ -1210,25 +1294,67 @@
12101294
</arg>
12111295
</function>
12121296
<!-- double exp2(double x); -->
1297+
<function name="exp2,std::exp2">
1298+
<use-retval/>
1299+
<pure/>
1300+
<noreturn>false</noreturn>
1301+
<leak-ignore/>
1302+
<returnValue type="double"/>
1303+
<arg nr="1">
1304+
<not-uninit/>
1305+
</arg>
1306+
</function>
12131307
<!-- float exp2f(float x); -->
1308+
<function name="exp2f,std::exp2f">
1309+
<use-retval/>
1310+
<pure/>
1311+
<noreturn>false</noreturn>
1312+
<leak-ignore/>
1313+
<returnValue type="float"/>
1314+
<arg nr="1">
1315+
<not-uninit/>
1316+
</arg>
1317+
</function>
12141318
<!-- long double exp2l(long double x);-->
1215-
<function name="exp2,std::exp2,exp2f,std::exp2f,exp2l,std::exp2l">
1319+
<function name="exp2l,std::exp2l">
12161320
<use-retval/>
12171321
<pure/>
12181322
<noreturn>false</noreturn>
12191323
<leak-ignore/>
1324+
<returnValue type="long double"/>
12201325
<arg nr="1">
12211326
<not-uninit/>
12221327
</arg>
12231328
</function>
12241329
<!-- double expm1(double x); -->
1330+
<function name="expm1,std::expm1">
1331+
<use-retval/>
1332+
<pure/>
1333+
<noreturn>false</noreturn>
1334+
<leak-ignore/>
1335+
<returnValue type="double"/>
1336+
<arg nr="1">
1337+
<not-uninit/>
1338+
</arg>
1339+
</function>
12251340
<!-- float expm1f(float x); -->
1341+
<function name="expm1f,std::expm1f">
1342+
<use-retval/>
1343+
<pure/>
1344+
<noreturn>false</noreturn>
1345+
<leak-ignore/>
1346+
<returnValue type="float"/>
1347+
<arg nr="1">
1348+
<not-uninit/>
1349+
</arg>
1350+
</function>
12261351
<!-- long double expm1l(long double x); -->
1227-
<function name="expm1,std::expm1,expm1f,std::expm1f,expm1l,std::expm1l">
1352+
<function name="expm1l,std::expm1l">
12281353
<use-retval/>
12291354
<pure/>
12301355
<noreturn>false</noreturn>
12311356
<leak-ignore/>
1357+
<returnValue type="long double"/>
12321358
<arg nr="1">
12331359
<not-uninit/>
12341360
</arg>
@@ -1241,25 +1367,73 @@
12411367
</arg>
12421368
</function>
12431369
<!-- double fabs(double x); -->
1370+
<function name="fabs,std::fabs">
1371+
<use-retval/>
1372+
<pure/>
1373+
<noreturn>false</noreturn>
1374+
<leak-ignore/>
1375+
<returnValue type="double"/>
1376+
<arg nr="1">
1377+
<not-uninit/>
1378+
</arg>
1379+
</function>
12441380
<!-- float fabsf(float x); -->
1381+
<function name="fabsf,std::fabsf">
1382+
<use-retval/>
1383+
<pure/>
1384+
<noreturn>false</noreturn>
1385+
<leak-ignore/>
1386+
<returnValue type="float"/>
1387+
<arg nr="1">
1388+
<not-uninit/>
1389+
</arg>
1390+
</function>
12451391
<!-- long double fabsl(long double x); -->
1246-
<function name="fabs,std::fabs,fabsf,fabsl">
1392+
<function name="fabsl,std::fabsl">
12471393
<use-retval/>
12481394
<pure/>
12491395
<noreturn>false</noreturn>
12501396
<leak-ignore/>
1397+
<returnValue type="long double"/>
12511398
<arg nr="1">
12521399
<not-uninit/>
12531400
</arg>
12541401
</function>
12551402
<!-- double fdim(double x, double y); -->
1403+
<function name="fdim,std::fdim">
1404+
<use-retval/>
1405+
<pure/>
1406+
<noreturn>false</noreturn>
1407+
<leak-ignore/>
1408+
<returnValue type="double"/>
1409+
<arg nr="1">
1410+
<not-uninit/>
1411+
</arg>
1412+
<arg nr="2">
1413+
<not-uninit/>
1414+
</arg>
1415+
</function>
12561416
<!-- float fdimf(float x, float y); -->
1417+
<function name="fdimf,std::fdimf">
1418+
<use-retval/>
1419+
<pure/>
1420+
<noreturn>false</noreturn>
1421+
<leak-ignore/>
1422+
<returnValue type="float"/>
1423+
<arg nr="1">
1424+
<not-uninit/>
1425+
</arg>
1426+
<arg nr="2">
1427+
<not-uninit/>
1428+
</arg>
1429+
</function>
12571430
<!-- long double fdiml(long double x, long double y); -->
1258-
<function name="fdim,std::fdim,fdimf,std::fdimf,fdiml,std::fdiml">
1431+
<function name="fdiml,std::fdiml">
12591432
<use-retval/>
12601433
<pure/>
12611434
<noreturn>false</noreturn>
12621435
<leak-ignore/>
1436+
<returnValue type="long double"/>
12631437
<arg nr="1">
12641438
<not-uninit/>
12651439
</arg>
@@ -1308,11 +1482,21 @@
13081482
</arg>
13091483
</function>
13101484
<!-- int fgetc(FILE *stream); -->
1311-
<!-- wint_t fgetwc(FILE * stream); -->
13121485
<!-- int getc(FILE *stream); -->
1486+
<function name="fgetc,std::fgetc,getc,std::getc">
1487+
<noreturn>false</noreturn>
1488+
<leak-ignore/>
1489+
<returnValue type="int"/>
1490+
<arg nr="1">
1491+
<not-null/>
1492+
<not-uninit/>
1493+
</arg>
1494+
</function>
1495+
<!-- wint_t fgetwc(FILE * stream); -->
13131496
<!-- wint_t getwc(FILE* stream); -->
1314-
<function name="fgetc,std::fgetc,fgetwc,std::fgetwc,getc,std::getc,getwc,std::getwc">
1497+
<function name="fgetwc,std::fgetwc,getc,getwc,std::getwc">
13151498
<noreturn>false</noreturn>
1499+
<returnValue type="wint_t"/>
13161500
<leak-ignore/>
13171501
<arg nr="1">
13181502
<not-null/>
@@ -1333,13 +1517,34 @@
13331517
</arg>
13341518
</function>
13351519
<!-- double floor(double x); -->
1520+
<function name="floor,std::floor">
1521+
<use-retval/>
1522+
<pure/>
1523+
<noreturn>false</noreturn>
1524+
<leak-ignore/>
1525+
<returnValue type="double"/>
1526+
<arg nr="1">
1527+
<not-uninit/>
1528+
</arg>
1529+
</function>
13361530
<!-- float floorf(float x); -->
1531+
<function name="floorf,std::floorf">
1532+
<use-retval/>
1533+
<pure/>
1534+
<noreturn>false</noreturn>
1535+
<leak-ignore/>
1536+
<returnValue type="float"/>
1537+
<arg nr="1">
1538+
<not-uninit/>
1539+
</arg>
1540+
</function>
13371541
<!-- long double floorl(long double x); -->
1338-
<function name="floor,std::floor,floorf,floorl">
1542+
<function name="floorl,std::floorl">
13391543
<use-retval/>
13401544
<pure/>
13411545
<noreturn>false</noreturn>
13421546
<leak-ignore/>
1547+
<returnValue type="long double"/>
13431548
<arg nr="1">
13441549
<not-uninit/>
13451550
</arg>

0 commit comments

Comments
 (0)