projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to fix the MSVC build.
[oota-llvm.git]
/
unittests
/
Support
/
MathExtrasTest.cpp
diff --git
a/unittests/Support/MathExtrasTest.cpp
b/unittests/Support/MathExtrasTest.cpp
index 9737393ee40be61804b1c1442ae0278ccbb5fc37..5c95b500dd4c80181edf373e8f849b9b291d0a94 100644
(file)
--- a/
unittests/Support/MathExtrasTest.cpp
+++ b/
unittests/Support/MathExtrasTest.cpp
@@
-148,7
+148,7
@@
TEST(MathExtras, countLeadingOnes) {
}
for (int i = 62; i >= 0; --i) {
// Start with all ones and unset some bit.
}
for (int i = 62; i >= 0; --i) {
// Start with all ones and unset some bit.
- EXPECT_EQ(63u - i, countLeadingOnes(0xFFFFFFFFFFFFFFFFLL ^ (1LL << i)));
+ EXPECT_EQ(63u - i, countLeadingOnes(0xFFFFFFFFFFFFFFFF
U
LL ^ (1LL << i)));
}
for (int i = 30; i >= 0; --i) {
// Start with all ones and unset some bit.
}
for (int i = 30; i >= 0; --i) {
// Start with all ones and unset some bit.