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:
parent
b4b16598f6
commit
5c9885c651
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user