std.cfg: Added returnValue support for iswdigit().
This commit is contained in:
parent
75124317e9
commit
ed453d24da
|
@ -1600,6 +1600,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
||||||
<pure/>
|
<pure/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
<returnValue type="int">arg1>=L'0' && arg1<=L'9'</returnValue>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
|
|
@ -3722,6 +3722,11 @@ void valueFlow(void)
|
||||||
// cppcheck-suppress knownConditionTrueFalse
|
// cppcheck-suppress knownConditionTrueFalse
|
||||||
AssertAlwaysTrue(iswblank(w0) == 0);
|
AssertAlwaysTrue(iswblank(w0) == 0);
|
||||||
|
|
||||||
|
// cppcheck-suppress knownConditionTrueFalse
|
||||||
|
AssertAlwaysTrue(iswdigit(w0) == 0);
|
||||||
|
// cppcheck-suppress knownConditionTrueFalse
|
||||||
|
AssertAlwaysTrue(iswdigit(wtab) == 1);
|
||||||
|
|
||||||
// cppcheck-suppress knownConditionTrueFalse
|
// cppcheck-suppress knownConditionTrueFalse
|
||||||
AssertAlwaysTrue(labs(three) == 3);
|
AssertAlwaysTrue(labs(three) == 3);
|
||||||
// cppcheck-suppress knownConditionTrueFalse
|
// cppcheck-suppress knownConditionTrueFalse
|
||||||
|
|
Loading…
Reference in New Issue