Home | History | Annotate | Download | only in gtest

Lines Matching full:dynamic_cast

484 // both the typeid and dynamic_cast features are present.
2053 // use dynamic_cast<> to double-check the downcast is legal (we die
2057 // This is the only place in the code we should use dynamic_cast<>.
2058 // In particular, you SHOULDN'T be using dynamic_cast<> in order to
2060 // if (dynamic_cast<Subclass1>(foo)) HandleASubclass1Object(foo);
2061 // if (dynamic_cast<Subclass2>(foo)) HandleASubclass2Object(foo);
2080 GTEST_CHECK_(f == NULL || dynamic_cast<To>(f) != NULL);
2094 return dynamic_cast<Derived*>(base); // NOLINT