std.cfg: Added support for min() and max() functions.
This commit is contained in:
parent
1c5e9e47c5
commit
f430748e0c
26
cfg/std.cfg
26
cfg/std.cfg
|
@ -1695,6 +1695,32 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- template <class T> const T& max (const T& a, const T& b); -->
|
||||||
|
<function name="max">
|
||||||
|
<use-retval/>
|
||||||
|
<pure/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- template <class T> const T& min (const T& a, const T& b); -->
|
||||||
|
<function name="min">
|
||||||
|
<use-retval/>
|
||||||
|
<pure/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<!-- double fmax(double x, double y); -->
|
<!-- double fmax(double x, double y); -->
|
||||||
<function name="fmax">
|
<function name="fmax">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
|
Loading…
Reference in New Issue