diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2011-11-29 18:15:50 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2011-11-29 18:15:50 +0000 |
| commit | c003db1fcae660d055b1b29852065f67bbabd35e (patch) | |
| tree | af77ff4d08341945ef328dddea31ed7c8919ca82 /libcxx/include/bitset | |
| parent | de3a2118db444f4a612ff6b9487face43eb512a6 (diff) | |
| download | bcm5719-llvm-c003db1fcae660d055b1b29852065f67bbabd35e.tar.gz bcm5719-llvm-c003db1fcae660d055b1b29852065f67bbabd35e.zip | |
Further macro protection by replacing _[A-Z] with _[A-Z]p
llvm-svn: 145410
Diffstat (limited to 'libcxx/include/bitset')
| -rw-r--r-- | libcxx/include/bitset | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/include/bitset b/libcxx/include/bitset index 4735754c6f9..37f9fee7601 100644 --- a/libcxx/include/bitset +++ b/libcxx/include/bitset @@ -695,11 +695,11 @@ bitset<_Size>::bitset(const _CharT* __str, #else assert(!"bitset string ctor has invalid argument"); #endif - size_t _M = _VSTD::min(__rlen, _Size); + size_t _Mp = _VSTD::min(__rlen, _Size); size_t __i = 0; - for (; __i < _M; ++__i) + for (; __i < _Mp; ++__i) { - _CharT __c = __str[_M - 1 - __i]; + _CharT __c = __str[_Mp - 1 - __i]; if (__c == __zero) (*this)[__i] = false; else @@ -729,11 +729,11 @@ bitset<_Size>::bitset(const basic_string<_CharT,_Traits,_Allocator>& __str, #else assert(!"bitset string ctor has invalid argument"); #endif - size_t _M = _VSTD::min(__rlen, _Size); + size_t _Mp = _VSTD::min(__rlen, _Size); size_t __i = 0; - for (; __i < _M; ++__i) + for (; __i < _Mp; ++__i) { - _CharT __c = __str[__pos + _M - 1 - __i]; + _CharT __c = __str[__pos + _Mp - 1 - __i]; if (_Traits::eq(__c, __zero)) (*this)[__i] = false; else |

