summaryrefslogtreecommitdiff
path: root/libcxx/include/__bit_reference
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-08-22 00:02:43 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-08-22 00:02:43 +0000
commitb3371f6f4909a1e2034c69011d0baa1a39b21d48 (patch)
tree46a1498f558a86d95ad909e2b075b2ce1ff59070 /libcxx/include/__bit_reference
parent86353416a7115dc430b9cd47a1aaeb8f19c34f2c (diff)
downloadllvm-b3371f6f4909a1e2034c69011d0baa1a39b21d48.tar.gz
Fixing whitespace problems
llvm-svn: 111750
Diffstat (limited to 'libcxx/include/__bit_reference')
-rw-r--r--libcxx/include/__bit_reference16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference
index 9956a3953622..a2fc809afd91 100644
--- a/libcxx/include/__bit_reference
+++ b/libcxx/include/__bit_reference
@@ -50,7 +50,7 @@ public:
*__seg_ &= ~__mask_;
return *this;
}
-
+
_LIBCPP_INLINE_VISIBILITY
__bit_reference& operator=(const __bit_reference& __x) {return operator=(static_cast<bool>(__x));}
@@ -1074,14 +1074,14 @@ public:
}
return *this;
}
-
+
_LIBCPP_INLINE_VISIBILITY __bit_iterator operator++(int)
{
__bit_iterator __tmp = *this;
++(*this);
return __tmp;
}
-
+
_LIBCPP_INLINE_VISIBILITY __bit_iterator& operator--()
{
if (__ctz_ != 0)
@@ -1093,14 +1093,14 @@ public:
}
return *this;
}
-
+
_LIBCPP_INLINE_VISIBILITY __bit_iterator operator--(int)
{
__bit_iterator __tmp = *this;
--(*this);
return __tmp;
}
-
+
_LIBCPP_INLINE_VISIBILITY __bit_iterator& operator+=(difference_type __n)
{
if (__n >= 0)
@@ -1112,19 +1112,19 @@ public:
__ctz_ = static_cast<unsigned>((__n + __ctz_) % __bits_per_word);
return *this;
}
-
+
_LIBCPP_INLINE_VISIBILITY __bit_iterator& operator-=(difference_type __n)
{
return *this += -__n;
}
-
+
_LIBCPP_INLINE_VISIBILITY __bit_iterator operator+(difference_type __n) const
{
__bit_iterator __t(*this);
__t += __n;
return __t;
}
-
+
_LIBCPP_INLINE_VISIBILITY __bit_iterator operator-(difference_type __n) const
{
__bit_iterator __t(*this);