projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c986eb5
)
Fix signed / unsigned comparison warnings.
author
Zachary Turner
<zturner@google.com>
Mon, 10 Apr 2017 20:01:50 +0000
(20:01 +0000)
committer
Zachary Turner
<zturner@google.com>
Mon, 10 Apr 2017 20:01:50 +0000
(20:01 +0000)
llvm-svn: 299873
llvm/unittests/ADT/BitVectorTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/ADT/BitVectorTest.cpp
b/llvm/unittests/ADT/BitVectorTest.cpp
index
f43e591
..
98ef667
100644
(file)
--- a/
llvm/unittests/ADT/BitVectorTest.cpp
+++ b/
llvm/unittests/ADT/BitVectorTest.cpp
@@
-211,12
+211,12
@@
TYPED_TEST(BitVectorTest, FindOperations) {
EXPECT_EQ(-1, A.find_next_unset(99));
A.set(0, 100);
- EXPECT_EQ(100, A.count());
+ EXPECT_EQ(100
U
, A.count());
EXPECT_EQ(0, A.find_first());
EXPECT_EQ(-1, A.find_first_unset());
A.reset(0, 100);
- EXPECT_EQ(0, A.count());
+ EXPECT_EQ(0
U
, A.count());
EXPECT_EQ(-1, A.find_first());
EXPECT_EQ(0, A.find_first_unset());
}