summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ratio
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-11-29 18:15:50 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-11-29 18:15:50 +0000
commitc003db1fcae660d055b1b29852065f67bbabd35e (patch)
treeaf77ff4d08341945ef328dddea31ed7c8919ca82 /libcxx/include/ratio
parentde3a2118db444f4a612ff6b9487face43eb512a6 (diff)
downloadbcm5719-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/ratio')
-rw-r--r--libcxx/include/ratio16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/include/ratio b/libcxx/include/ratio
index eb1ad24e40e..23f22679462 100644
--- a/libcxx/include/ratio
+++ b/libcxx/include/ratio
@@ -414,27 +414,27 @@ struct __ratio_less1
static const bool value = _Odd ? _Q2 < _Q1 : _Q1 < _Q2;
};
-template <class _R1, class _R2, bool _Odd, intmax_t _Q>
-struct __ratio_less1<_R1, _R2, _Odd, _Q, 0, _Q, 0>
+template <class _R1, class _R2, bool _Odd, intmax_t _Qp>
+struct __ratio_less1<_R1, _R2, _Odd, _Qp, 0, _Qp, 0>
{
static const bool value = false;
};
-template <class _R1, class _R2, bool _Odd, intmax_t _Q, intmax_t _M2>
-struct __ratio_less1<_R1, _R2, _Odd, _Q, 0, _Q, _M2>
+template <class _R1, class _R2, bool _Odd, intmax_t _Qp, intmax_t _M2>
+struct __ratio_less1<_R1, _R2, _Odd, _Qp, 0, _Qp, _M2>
{
static const bool value = !_Odd;
};
-template <class _R1, class _R2, bool _Odd, intmax_t _Q, intmax_t _M1>
-struct __ratio_less1<_R1, _R2, _Odd, _Q, _M1, _Q, 0>
+template <class _R1, class _R2, bool _Odd, intmax_t _Qp, intmax_t _M1>
+struct __ratio_less1<_R1, _R2, _Odd, _Qp, _M1, _Qp, 0>
{
static const bool value = _Odd;
};
-template <class _R1, class _R2, bool _Odd, intmax_t _Q, intmax_t _M1,
+template <class _R1, class _R2, bool _Odd, intmax_t _Qp, intmax_t _M1,
intmax_t _M2>
-struct __ratio_less1<_R1, _R2, _Odd, _Q, _M1, _Q, _M2>
+struct __ratio_less1<_R1, _R2, _Odd, _Qp, _M1, _Qp, _M2>
{
static const bool value = __ratio_less1<ratio<_R1::den, _M1>,
ratio<_R2::den, _M2>, !_Odd>::value;
OpenPOWER on IntegriCloud