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

References

unittests/ADT/PointerUnionTest.cpp
   40   EXPECT_TRUE(a != b);
   41   EXPECT_FALSE(a == b);
   42   EXPECT_TRUE(b == c);
   43   EXPECT_FALSE(b != c);
   44   EXPECT_TRUE(b != n);
   45   EXPECT_FALSE(b == n);
   63   EXPECT_FALSE(b.isNull());
   66   EXPECT_FALSE(!b);
   70   EXPECT_TRUE((bool)b);
   73   EXPECT_NE(n, b);
   74   EXPECT_EQ(b, c);
   75   b = nullptr;
   76   EXPECT_EQ(n, b);
   77   EXPECT_NE(b, c);
   94   EXPECT_TRUE(b.is<int *>());
   95   EXPECT_FALSE(b.is<float *>());
  113   EXPECT_EQ(b.get<int *>(), &i);
  155   EXPECT_TRUE((void *)b.getAddrOfPtr1() == (void *)&b);
  155   EXPECT_TRUE((void *)b.getAddrOfPtr1() == (void *)&b);