projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The TargetData is not used for the isPowerOfTwo determination. It has never
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
SmallBitVector.h
diff --git
a/include/llvm/ADT/SmallBitVector.h
b/include/llvm/ADT/SmallBitVector.h
index a9cd54e13b385daeba133dd5e80c2acea2ceb28b..62620fa26782ff2aec25671912fbc7beab934bf2 100644
(file)
--- a/
include/llvm/ADT/SmallBitVector.h
+++ b/
include/llvm/ADT/SmallBitVector.h
@@
-153,7
+153,7
@@
public:
switchToLarge(new BitVector(*RHS.getPointer()));
}
switchToLarge(new BitVector(*RHS.getPointer()));
}
-#if LLVM_
USE
_RVALUE_REFERENCES
+#if LLVM_
HAS
_RVALUE_REFERENCES
SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) {
RHS.X = 1;
}
SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) {
RHS.X = 1;
}
@@
-472,7
+472,7
@@
public:
return *this;
}
return *this;
}
-#if LLVM_
USE
_RVALUE_REFERENCES
+#if LLVM_
HAS
_RVALUE_REFERENCES
const SmallBitVector &operator=(SmallBitVector &&RHS) {
if (this != &RHS) {
clear();
const SmallBitVector &operator=(SmallBitVector &&RHS) {
if (this != &RHS) {
clear();