The calculation _Offset + _Count <= size() may overflow. So use _Count <= size() - _Offset instead.
Note that this is safe due to the previous constraint that _Offset <= size()
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 46210 Build 48530: arc lint + arc unit