You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is similar to #524, but I found it to be true even when there is no * type. I'll illustrate this issue with an example where the argument is of type int to show that it's not only related to pointers.
Note: the function foo() is there to show that the checked-c-convert does do something on the second example where bar() doesn't change at all.
This issue was copied from checkedc/checkedc-clang#622
This is similar to #524, but I found it to be true even when there is no
*
type. I'll illustrate this issue with an example where the argument is of typeint
to show that it's not only related to pointers.Note: the function
foo()
is there to show that thechecked-c-convert
does do something on the second example wherebar()
doesn't change at all.Example where
static
is removed:Original C code:
checked-c-convert
output:Example where
static
is not removed:Original C code:
checked-c-convert
output:This is also true when there are no arguments passed in to
bar()
The text was updated successfully, but these errors were encountered: