[all-commits] [llvm/llvm-project] a8e5dc: Fix bug in SmallBitVector::find_next_unset

David Blaikie via All-commits all-commits at lists.llvm.org
Fri Apr 24 13:50:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8e5dcb072b1f794883ae8125fb08c06db678d56
      https://github.com/llvm/llvm-project/commit/a8e5dcb072b1f794883ae8125fb08c06db678d56
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2020-04-24 (Fri, 24 Apr 2020)

  Changed paths:
    M llvm/include/llvm/ADT/SmallBitVector.h
    M llvm/unittests/ADT/BitVectorTest.cpp

  Log Message:
  -----------
  Fix bug in SmallBitVector::find_next_unset

Summary: find_next_unset was returning size() instead of -1 in small-mode, when no unset bits are found.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D77985




More information about the All-commits mailing list