This almost completes the matrix of all possible find operations. *EXISTING* ---------- find_first find_first_unset find_next find_next_unset find_last find_last_unset *NEW* ---- find_prev *STILL MISSING* --------------- find_prev_unset
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/include/llvm/ADT/BitVector.h | ||
---|---|---|
220 ↗ | (On Diff #97888) | Unrelated change? |
232 ↗ | (On Diff #97888) | Feel free to just commit typo fixes etc. |
256 ↗ | (On Diff #97888) | I'd really like to move the doxygen comments away from repeating the name. Maybe in a follow-up? Definitely not in this patch. |
257–258 ↗ | (On Diff #97888) | I find all the wording really confusing here. "the next bit set *preceding* the Next bit" huh? I think the argument would make much more sense named Pos or Index or something. Then you can talk about finding the *previous* bit set to match the name find_prev? |
llvm/unittests/ADT/BitVectorTest.cpp | ||
236–258 ↗ | (On Diff #97888) | Feel free to land everything but find_prev right away with a separate patch? |