================
@@ -1993,14 +1993,11 @@ void
CFGBuilder::addAutomaticObjDestruction(LocalScope::const_iterator B,
return;
SmallVector<VarDecl *, 10> DeclsNeedDestruction;
- DeclsNeedDestruction.reserve(B.distance(E));
----------------
steakhal wrote:
I think a reserve would still make sense. If we had that in the past, we should
keep it.
https://github.com/llvm/llvm-project/pull/243630
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits