[PATCH] D32060: BitVector: add iterators for bits that are set
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 19:01:40 PDT 2017
MatzeB added inline comments.
================
Comment at: include/llvm/ADT/SmallBitVector.h:139-144
+ typedef const_bits_set_iterator_impl<SmallBitVector> const_bits_set_iterator;
+ typedef const_bits_set_iterator set_iterator;
+
+ const_bits_set_iterator bit_set_begin() const {
+ return const_bits_set_iterator(*this);
+ }
----------------
This is still inconsistent `bits_set` vs. `bit_set`.
https://reviews.llvm.org/D32060
More information about the llvm-commits
mailing list