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

References

unittests/ADT/PointerSumTypeTest.cpp
   34   EXPECT_TRUE(c);
   41   EXPECT_EQ(Int2, c.getTag());
   52   EXPECT_FALSE(c.is<Float>());
   53   EXPECT_FALSE(c.is<Int1>());
   54   EXPECT_TRUE(c.is<Int2>());
   64   EXPECT_EQ(nullptr, c.get<Float>());
   65   EXPECT_EQ(nullptr, c.get<Int1>());
   66   EXPECT_EQ(&i2, c.get<Int2>());
   78   EXPECT_EQ(&i2, c.cast<Int2>());