clang 7 warns about the negative array index. Try to implement the same
logic without invoking undefined behaviour.
Details
Details
There is no difference in the disassembly before and after this change.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 21634 Build 20927: arc lint + arc unit
Event Timeline
Comment Actions
This matches what I puzzled out the right fix should be, and is a bit better than what I had in mind before this problem slipped away...