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

References

unittests/ADT/PointerIntPairTest.cpp
   23   EXPECT_EQ(&s, Pair.getPointer());
   24   EXPECT_EQ(1U, Pair.getInt());
   26   Pair.setInt(2);
   27   EXPECT_EQ(&s, Pair.getPointer());
   28   EXPECT_EQ(2U, Pair.getInt());
   30   Pair.setPointer(nullptr);
   31   EXPECT_EQ(nullptr, Pair.getPointer());
   32   EXPECT_EQ(2U, Pair.getInt());
   34   Pair.setPointerAndInt(&s, 3U);
   35   EXPECT_EQ(&s, Pair.getPointer());
   36   EXPECT_EQ(3U, Pair.getInt());