Changes in directory llvm/include/llvm/ADT:
BitVector.h updated: 1.11 -> 1.12
---
Log message:
BitVector::reference operator=(const reference& rhs) is unnecessary thanks to
autoconvert to bool.
---
Diffs of the changes: (+0 -8)
BitVector.h | 8 --------
1 files changed, 8 deletions(-)
Index: llvm/include/llvm/ADT/BitVector.h
diff -u llvm/include/llvm/ADT/BitVector.h:1.11
llvm/include/llvm/ADT/BitVector.h:1.12
--- llvm/include/llvm/ADT/BitVector.h:1.11 Thu Feb 15 13:18:12 2007
+++ llvm/include/llvm/ADT/BitVector.h Thu Feb 15 13:21:44 2007
@@ -53,14 +53,6 @@
return *this;
}
- reference& operator=(const reference& rhs) {
- if (*rhs.WordRef & (1 << rhs.BitPos))
- *WordRef |= 1L << BitPos;
- else
- *WordRef &= ~(1L << BitPos);
- return *this;
- }
-
operator bool() const {
return (*WordRef) & (1L << BitPos);
}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits