[PATCH] D32885: [ADT] Add BitVector::find_prev

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 15:45:32 PDT 2017


zturner created this revision.

  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


https://reviews.llvm.org/D32885

Files:
  llvm/include/llvm/ADT/BitVector.h
  llvm/include/llvm/ADT/SmallBitVector.h
  llvm/include/llvm/Support/MathExtras.h
  llvm/unittests/ADT/BitVectorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32885.97888.patch
Type: text/x-patch
Size: 4886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170504/d4b8c95e/attachment.bin>


More information about the llvm-commits mailing list