[PATCH] D115443: [ADT] Weaken the initialization condition in SmallVector::resize_for_overwrite

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 10:00:44 PST 2022


dblaikie added a comment.

(yeah, if a resize that does, effectively "new T" for each element instead of "new T()" is all the power we need (rather than a full "don't construct elements at all" mode), that seems like a safer tool/less likely to be a source of bugs, etc, and so probably a better thing to have)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115443/new/

https://reviews.llvm.org/D115443



More information about the llvm-commits mailing list