llvm.org GIT mirror llvm / fe95155
Silence an unsigned vs signed compare warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325402 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 1 year, 9 months ago
1 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
185185
186186 uint32_t N;
187187 EXPECT_TRUE(NSM.get("One", N));
188 EXPECT_EQ(1, N);
188 EXPECT_EQ(1U, N);
189189
190190 EXPECT_TRUE(NSM.get("Two", N));
191 EXPECT_EQ(2, N);
191 EXPECT_EQ(2U, N);
192192
193193 EXPECT_TRUE(NSM.get("Three", N));
194 EXPECT_EQ(3, N);
194 EXPECT_EQ(3U, N);
195195
196196 EXPECT_TRUE(NSM.get("Four", N));
197 EXPECT_EQ(4, N);
197 EXPECT_EQ(4U, N);
198198
199199 EXPECT_TRUE(NSM.get("Five", N));
200 EXPECT_EQ(5, N);
200 EXPECT_EQ(5U, N);
201201
202202 EXPECT_TRUE(NSM.get("Six", N));
203 EXPECT_EQ(6, N);
203 EXPECT_EQ(6U, N);
204204
205205 EXPECT_TRUE(NSM.get("Seven", N));
206 EXPECT_EQ(7, N);
206 EXPECT_EQ(7U, N);
207207 } while (std::next_permutation(Streams.begin(), Streams.end()));
208208 }