File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -365,23 +365,20 @@ TEST(STLExtrasTest, ADLTest) {
365
365
}
366
366
367
367
TEST(STLExtrasTest, EmptyTest) {
368
- // Try to avoid ambiguities with C++17 headers.
369
- using llvm::empty;
370
-
371
368
std::vector<void*> V;
372
- EXPECT_TRUE(empty(V));
369
+ EXPECT_TRUE(llvm:: empty(V));
373
370
V.push_back(nullptr);
374
- EXPECT_FALSE(empty(V));
371
+ EXPECT_FALSE(llvm:: empty(V));
375
372
376
373
std::initializer_list<int> E = {};
377
374
std::initializer_list<int> NotE = {7, 13, 42};
378
- EXPECT_TRUE(empty(E));
379
- EXPECT_FALSE(empty(NotE));
375
+ EXPECT_TRUE(llvm:: empty(E));
376
+ EXPECT_FALSE(llvm:: empty(NotE));
380
377
381
378
auto R0 = make_range(V.begin(), V.begin());
382
- EXPECT_TRUE(empty(R0));
379
+ EXPECT_TRUE(llvm:: empty(R0));
383
380
auto R1 = make_range(V.begin(), V.end());
384
- EXPECT_FALSE(empty(R1));
381
+ EXPECT_FALSE(llvm:: empty(R1));
385
382
}
386
383
387
384
TEST(STLExtrasTest, EarlyIncrementTest) {
You can’t perform that action at this time.
0 commit comments