reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/SmallPtrSetTest.cpp
   23     buf[i] = 0;
   25   SmallPtrSet<int *, 4> s1 = {&buf[0], &buf[1]};
   25   SmallPtrSet<int *, 4> s1 = {&buf[0], &buf[1]};
   27   (s2 = s1).insert(&buf[2]);
   30   (s2 = static_cast<SmallPtrSet<int *, 4> &>(s2)).insert(&buf[3]);
   36       EXPECT_TRUE(s1.count(&buf[i]));
   38       EXPECT_FALSE(s1.count(&buf[i]));
   42   (s2 = {&buf[6], &buf[7], &buf[6]}).insert({&buf[5], &buf[4]});
   42   (s2 = {&buf[6], &buf[7], &buf[6]}).insert({&buf[5], &buf[4]});
   42   (s2 = {&buf[6], &buf[7], &buf[6]}).insert({&buf[5], &buf[4]});
   42   (s2 = {&buf[6], &buf[7], &buf[6]}).insert({&buf[5], &buf[4]});
   42   (s2 = {&buf[6], &buf[7], &buf[6]}).insert({&buf[5], &buf[4]});
   45       EXPECT_FALSE(s2.count(&buf[i]));
   47       EXPECT_TRUE(s2.count(&buf[i]));