diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-02-15 19:29:05 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-02-15 19:29:05 +0000 |
commit | 852b4baf47e987ff2f2cf547aba23ac89d091ede (patch) | |
tree | 7eedf340b5ca64f310b10f721acba4c8e1b27f5f | |
parent | d263114d7a2adc1ea1cbbaf0fc67bb7761c9f828 (diff) |
Missing a ;
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34322 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/BitVector.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/ADT/BitVector.h b/include/llvm/ADT/BitVector.h index 937296b487..fb0768979f 100644 --- a/include/llvm/ADT/BitVector.h +++ b/include/llvm/ADT/BitVector.h @@ -98,7 +98,7 @@ public: else if (sizeof(BitWord) == 8) NumBits += CountPopulation_64(Bits[i]); else - assert(0 && "Unsupported!") + assert(0 && "Unsupported!"); return NumBits; } @@ -160,8 +160,7 @@ public: init_words(&Bits[OldCapacity], (Capacity-OldCapacity), t); } Size = N; - if (t) - clear_unused_bits(); + clear_unused_bits(); } void reserve(unsigned N) { |