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
Diff Detail
Event Timeline
llvm/include/llvm/ADT/BitVector.h | ||
---|---|---|
220 | Unrelated change? | |
232 | Feel free to just commit typo fixes etc. | |
256 | 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 | 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 | Feel free to land everything but find_prev right away with a separate patch? |
Unrelated change?