aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/SmallBitVector.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-11-30 11:45:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-11-30 11:45:22 +0000
commit4334dd96a9e622fdcf2825a8f73a2d941d67be72 (patch)
treef6d4593bb59d0bdf4769f0fa2d2875be2fde6f18 /include/llvm/ADT/SmallBitVector.h
parenta17babb021aa9dc3441ecce1ac8a62d2b27edecb (diff)
downloadexternal_llvm-4334dd96a9e622fdcf2825a8f73a2d941d67be72.tar.gz
external_llvm-4334dd96a9e622fdcf2825a8f73a2d941d67be72.tar.bz2
external_llvm-4334dd96a9e622fdcf2825a8f73a2d941d67be72.zip
Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES.
Rationale: 1) This was the name in the comment block. ;] 2) It matches Clang's __has_feature naming convention. 3) It matches other compiler-feature-test conventions. Sorry for the noise. =] I've also switch the comment block to use a \brief tag and not duplicate the name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SmallBitVector.h')
-rw-r--r--include/llvm/ADT/SmallBitVector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/SmallBitVector.h b/include/llvm/ADT/SmallBitVector.h
index a9cd54e13b..62620fa267 100644
--- a/include/llvm/ADT/SmallBitVector.h
+++ b/include/llvm/ADT/SmallBitVector.h
@@ -153,7 +153,7 @@ public:
switchToLarge(new BitVector(*RHS.getPointer()));
}
-#if LLVM_USE_RVALUE_REFERENCES
+#if LLVM_HAS_RVALUE_REFERENCES
SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) {
RHS.X = 1;
}
@@ -472,7 +472,7 @@ public:
return *this;
}
-#if LLVM_USE_RVALUE_REFERENCES
+#if LLVM_HAS_RVALUE_REFERENCES
const SmallBitVector &operator=(SmallBitVector &&RHS) {
if (this != &RHS) {
clear();