Lines Matching refs:RHSOPT
6413 const ObjCObjectPointerType *rhsOPT = rhs->getAs<ObjCObjectPointerType>();
6414 assert ((lhsQID && rhsOPT) && "ObjCQualifiedClassTypesAreCompatible");
6418 for (auto *rhsProto : rhsOPT->quals()) {
6443 const ObjCObjectPointerType *rhsOPT = rhs->getAs<ObjCObjectPointerType>();
6445 if (!rhsOPT) return false;
6447 if (rhsOPT->qual_empty()) {
6450 if (ObjCInterfaceDecl *rhsID = rhsOPT->getInterfaceDecl()) {
6469 for (auto *rhsProto : rhsOPT->quals()) {
6478 if (ObjCInterfaceDecl *rhsID = rhsOPT->getInterfaceDecl()) {
6554 const ObjCObjectPointerType *RHSOPT) {
6556 const ObjCObjectType* RHS = RHSOPT->getObjectType();
6565 QualType(RHSOPT,0),
6570 RHSOPT,0));
6586 const ObjCObjectPointerType *RHSOPT,
6588 if (RHSOPT->isObjCBuiltinType() || LHSOPT->isObjCIdType())
6592 return RHSOPT->isObjCBuiltinType() || RHSOPT->isObjCQualifiedIdType();
6595 if (LHSOPT->isObjCQualifiedIdType() || RHSOPT->isObjCQualifiedIdType())
6597 QualType(RHSOPT,0),
6601 const ObjCInterfaceType* RHS = RHSOPT->getInterfaceType();
6622 const ObjCObjectPointerType *RHSOPT,
6626 const ObjCObjectType* RHS = RHSOPT->getObjectType();
6764 const ObjCObjectPointerType *RHSOPT = RHS->getAs<ObjCObjectPointerType>();
6766 if (!LHSOPT || !RHSOPT)
6769 return canAssignObjCInterfaces(LHSOPT, RHSOPT) ||
6770 canAssignObjCInterfaces(RHSOPT, LHSOPT);