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

References

unittests/ADT/PointerIntPairTest.cpp
   50   EXPECT_EQ(&s, Pair2.getPointer());
   51   EXPECT_EQ(E::Case1, Pair2.getInt());
   53   Pair2.setInt(E::Case2);
   54   EXPECT_EQ(&s, Pair2.getPointer());
   55   EXPECT_EQ(E::Case2, Pair2.getInt());
   57   Pair2.setPointer(nullptr);
   58   EXPECT_EQ(nullptr, Pair2.getPointer());
   59   EXPECT_EQ(E::Case2, Pair2.getInt());
   61   Pair2.setPointerAndInt(&s, E::Case3);
   62   EXPECT_EQ(&s, Pair2.getPointer());
   63   EXPECT_EQ(E::Case3, Pair2.getInt());