mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Fix some -Wsign-compare fallout from changing container count member functions to return unsigned instead of bool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user