aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/BitVector.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/ADT/BitVector.h b/include/llvm/ADT/BitVector.h
index d728473117..937296b487 100644
--- a/include/llvm/ADT/BitVector.h
+++ b/include/llvm/ADT/BitVector.h
@@ -53,14 +53,6 @@ public:
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);
}