[clang] [llvm] [ADT] Fix SmallVector assign iterator tag check (PR #191030)

Alexis Engelke via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 22:47:19 PDT 2026


================

----------------
aengelke wrote:

@cor3ntin Ok, but what about this one? Inserting one-by-one would have terrible performance.

Also, should we then call distance only for random_access_iterators instead of iterating twice?

https://github.com/llvm/llvm-project/pull/191030


More information about the cfe-commits mailing list