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

References

unittests/Support/Casting.cpp
  367 pointer_wrappers::PTy MD(&D);
  372 const pointer_wrappers::PTy CD(&D);
  382   EXPECT_TRUE(cast<pointer_wrappers::Derived>(MD) == &D);
  383   EXPECT_TRUE(cast<pointer_wrappers::Derived>(CD) == &D);
  389   EXPECT_TRUE(cast_or_null<pointer_wrappers::Derived>(MD) == &D);
  390   EXPECT_TRUE(cast_or_null<pointer_wrappers::Derived>(CD) == &D);
  396   EXPECT_TRUE(dyn_cast<pointer_wrappers::Derived>(MD) == &D);
  397   EXPECT_TRUE(dyn_cast<pointer_wrappers::Derived>(CD) == &D);
  405   EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(MD) == &D);
  406   EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(CD) == &D);