cfg: Add config for toupper/tolower (#3028)

This commit is contained in:
Rikard Falkeborn 2021-01-08 08:34:09 +01:00 committed by GitHub
parent 82f51bd523
commit a8a0dbec26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -2848,7 +2848,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<function name="towlower,std::towlower">
<use-retval/>
<pure/>
<returnValue type="wint_t"/>
<returnValue type="wint_t">arg1 &lt; 'A' || arg1 &gt; 'Z' ? arg1 : arg1 + 32</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="in">
@ -2859,7 +2859,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<function name="towupper,std::towupper">
<use-retval/>
<pure/>
<returnValue type="wint_t"/>
<returnValue type="wint_t">arg1 &lt; 'a' || arg1 &gt; 'z' ? arg1 : arg1 - 32</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="in">
@ -5512,7 +5512,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<!-- int tolower(int c); -->
<function name="tolower,std::tolower">
<use-retval/>
<returnValue type="int"/>
<returnValue type="int">arg1 &lt; 'A' || arg1 &gt; 'Z' ? arg1 : arg1 + 32</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="in">
@ -5524,7 +5524,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<!-- int toupper(int c); -->
<function name="toupper,std::toupper">
<use-retval/>
<returnValue type="int"/>
<returnValue type="int">arg1 &lt; 'a' || arg1 &gt; 'z' ? arg1 : arg1 - 32</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="in">