There's no need to check for reference invalidation when
SmallVector::resize is shrinking; the parameter isn't accessed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91832
ADT: Weaken SmallVector::resize assertion from 5abf76fbe37380874a88cc9aa02164800e4e10f3 ClosedPublic Authored by dexonsmith on Nov 19 2020, 5:19 PM.
Details Summary There's no need to check for reference invalidation when
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 19 2020, 5:21 PM Closed by commit rG40e877264dc5: ADT: Weaken SmallVector::resize assertion from… (authored by dexonsmith). · Explain WhyNov 19 2020, 5:27 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 306567 llvm/include/llvm/ADT/SmallVector.h
llvm/unittests/ADT/SmallVectorTest.cpp
|