mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Get rid of VS2015 operator precedence warning. NFCI.
llvm-svn: 275971
This commit is contained in:
parent
754a2807ef
commit
66bfb56b57
@ -300,7 +300,7 @@ inline bool isShiftedInt(int64_t x) {
|
||||
template <unsigned N>
|
||||
inline typename std::enable_if<(N < 64), bool>::type isUInt(uint64_t X) {
|
||||
static_assert(N > 0, "isUInt<0> doesn't make sense");
|
||||
return X < (UINT64_C(1) << N);
|
||||
return X < (UINT64_C(1) << (N));
|
||||
}
|
||||
template <unsigned N>
|
||||
inline typename std::enable_if<N >= 64, bool>::type isUInt(uint64_t X) {
|
||||
|
Loading…
Reference in New Issue
Block a user