Skip to content

Commit 4c60c2e

Browse files
committed
std.cfg: Added min, max functions to std.cfg.
1 parent 4a3c61f commit 4c60c2e

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

cfg/std.cfg

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3840,6 +3840,28 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
38403840
<not-uninit/>
38413841
</arg>
38423842
</function>
3843+
<!-- template <class T> const T& min(const T& a, const T& b); -->
3844+
<function name="min,std::min">
3845+
<noreturn>false</noreturn>
3846+
<leak-ignore/>
3847+
<arg nr="1">
3848+
<not-uninit/>
3849+
</arg>
3850+
<arg nr="2">
3851+
<not-uninit/>
3852+
</arg>
3853+
</function>
3854+
<!-- template <class T> const T& max(const T& a, const T& b); -->
3855+
<function name="max,std::max">
3856+
<noreturn>false</noreturn>
3857+
<leak-ignore/>
3858+
<arg nr="1">
3859+
<not-uninit/>
3860+
</arg>
3861+
<arg nr="2">
3862+
<not-uninit/>
3863+
</arg>
3864+
</function>
38433865
<!-- /*unspecified*/ setiosflags(ios_base::fmtflags mask); -->
38443866
<function name="setiosflags,std::setiosflags">
38453867
<noreturn>false</noreturn>

0 commit comments

Comments
 (0)