Lines Matching refs:ToPtr2
4347 const ObjCObjectPointerType *ToPtr2 in CompareDerivedToBaseConversions() local
4350 if (FromPtr1 && FromPtr2 && ToPtr1 && ToPtr2) { in CompareDerivedToBaseConversions()
4360 = S.Context.canAssignObjCInterfaces(ToPtr1, ToPtr2); in CompareDerivedToBaseConversions()
4362 = S.Context.canAssignObjCInterfaces(ToPtr2, ToPtr1); in CompareDerivedToBaseConversions()
4367 (ToPtr2->isObjCQualifiedIdType() || ToPtr2->getInterfaceDecl())) in CompareDerivedToBaseConversions()
4369 if (ToPtr2->isObjCIdType() && in CompareDerivedToBaseConversions()
4375 if (ToPtr1->isObjCQualifiedIdType() && ToPtr2->getInterfaceDecl()) in CompareDerivedToBaseConversions()
4377 if (ToPtr2->isObjCQualifiedIdType() && ToPtr1->getInterfaceDecl()) in CompareDerivedToBaseConversions()
4383 (ToPtr2->isObjCQualifiedClassType() || ToPtr2->getInterfaceDecl())) in CompareDerivedToBaseConversions()
4385 if (ToPtr2->isObjCClassType() && in CompareDerivedToBaseConversions()
4391 if (ToPtr1->isObjCQualifiedClassType() && ToPtr2->getInterfaceDecl()) in CompareDerivedToBaseConversions()
4393 if (ToPtr2->isObjCQualifiedClassType() && ToPtr1->getInterfaceDecl()) in CompareDerivedToBaseConversions()
4406 FromPtr1->getInterfaceDecl() == ToPtr2->getInterfaceDecl(); in CompareDerivedToBaseConversions()