jfb added a comment. In https://reviews.llvm.org/D50476#1197364, @dblaikie wrote: > You could use D.count(V) to save the comparison with end, etc. I don't understand what you're suggesting, could you clarify? Repository: rL LLVM https://reviews.llvm.org/D50476