projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d263114
)
Missing a ;
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 15 Feb 2007 19:29:05 +0000
(19:29 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 15 Feb 2007 19:29:05 +0000
(19:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34322
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/BitVector.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/BitVector.h
b/include/llvm/ADT/BitVector.h
index 937296b487a6b6a9e8ce50fcaba697818e20f7dd..fb0768979f43967291ebfbe6351ecb9b6ec07e9d 100644
(file)
--- 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) {