This fixes PR35241.
When using byval, the data is effectively copied as part of the call
anyway, so the pointer returned by the alloca will not be leaked to the
callee and thus there is no reason to issue a warning.
Differential D40009
[Lint] Don't warn about passing alloca'd value to tail call if using byval uabelho on Nov 14 2017, 2:11 AM. Authored by
Details This fixes PR35241. When using byval, the data is effectively copied as part of the call
Diff Detail
Event TimelineComment Actions lgtm with suggestion
Comment Actions Updated the for loop so it's range based. (Couldn't make Arg const though since the findValue |