1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Fix signed mismatch warnings in MetadataTests.cpp

This commit is contained in:
David Blaikie 2019-12-03 11:36:12 -08:00
parent b4b16598f6
commit 5c9885c651

View File

@ -2924,15 +2924,15 @@ TEST_F(DebugVariableTest, DenseMap) {
DebugVariableMap.insert({DebugVariableB, 6});
DebugVariableMap.insert({DebugVariableFragB, 12});
EXPECT_EQ(DebugVariableMap.count(DebugVariableA), 1);
EXPECT_EQ(DebugVariableMap.count(DebugVariableInlineA), 1);
EXPECT_EQ(DebugVariableMap.count(DebugVariableB), 1);
EXPECT_EQ(DebugVariableMap.count(DebugVariableFragB), 1);
EXPECT_EQ(DebugVariableMap.count(DebugVariableA), 1u);
EXPECT_EQ(DebugVariableMap.count(DebugVariableInlineA), 1u);
EXPECT_EQ(DebugVariableMap.count(DebugVariableB), 1u);
EXPECT_EQ(DebugVariableMap.count(DebugVariableFragB), 1u);
EXPECT_EQ(DebugVariableMap.find(DebugVariableA)->second, 2);
EXPECT_EQ(DebugVariableMap.find(DebugVariableInlineA)->second, 3);
EXPECT_EQ(DebugVariableMap.find(DebugVariableB)->second, 6);
EXPECT_EQ(DebugVariableMap.find(DebugVariableFragB)->second, 12);
EXPECT_EQ(DebugVariableMap.find(DebugVariableA)->second, 2u);
EXPECT_EQ(DebugVariableMap.find(DebugVariableInlineA)->second, 3u);
EXPECT_EQ(DebugVariableMap.find(DebugVariableB)->second, 6u);
EXPECT_EQ(DebugVariableMap.find(DebugVariableFragB)->second, 12u);
}
} // end namespace