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

References

unittests/ADT/PointerSumTypeTest.cpp
   32   EXPECT_TRUE(a);
   39   EXPECT_EQ(Float, a.getTag());
   46   EXPECT_TRUE(a.is<Float>());
   47   EXPECT_FALSE(a.is<Int1>());
   48   EXPECT_FALSE(a.is<Int2>());
   58   EXPECT_EQ(&f, a.get<Float>());
   59   EXPECT_EQ(nullptr, a.get<Int1>());
   60   EXPECT_EQ(nullptr, a.get<Int2>());
   76   EXPECT_EQ(&f, a.cast<Float>());