diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-06-20 19:54:13 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-06-20 19:54:13 +0000 |
commit | 7c8d13911a311019e2b56da8682fb41217072fd9 (patch) | |
tree | 794d0fbcdfc0f418568970c9b6b40bf8e6484aba /llvm/unittests/ADT/DenseMapTest.cpp | |
parent | 46762030114916f9eabb40f7c4024ac3ab9fd7ba (diff) | |
download | bcm5719-llvm-7c8d13911a311019e2b56da8682fb41217072fd9.tar.gz bcm5719-llvm-7c8d13911a311019e2b56da8682fb41217072fd9.zip |
Fix some -Wsign-compare fallout from changing container count member functions to return unsigned instead of bool.
llvm-svn: 211393
Diffstat (limited to 'llvm/unittests/ADT/DenseMapTest.cpp')
-rw-r--r-- | llvm/unittests/ADT/DenseMapTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/DenseMapTest.cpp b/llvm/unittests/ADT/DenseMapTest.cpp index bb7797cf149..75a910a24ca 100644 --- a/llvm/unittests/ADT/DenseMapTest.cpp +++ b/llvm/unittests/ADT/DenseMapTest.cpp @@ -345,7 +345,7 @@ TEST(DenseMapCustomTest, FindAsTest) { EXPECT_EQ(3u, map.size()); // Normal lookup tests - EXPECT_EQ(1, map.count(1)); + EXPECT_EQ(1u, map.count(1)); EXPECT_EQ(1u, map.find(0)->second); EXPECT_EQ(2u, map.find(1)->second); EXPECT_EQ(3u, map.find(2)->second); |