Lines Matching refs:ObjCObjectType
471 const ObjCObjectType *&bound) const {
492 ->getAs<ObjCObjectType>();
535 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base,
571 bool ObjCObjectType::isSpecialized() const {
577 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
589 ArrayRef<QualType> ObjCObjectType::getTypeArgs() const {
595 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
607 bool ObjCObjectType::isKindOfType() const {
612 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
624 QualType ObjCObjectType::stripObjCKindOfTypeAndQuals(
632 if (const ObjCObjectType *baseObj
633 = splitBaseType.Ty->getAs<ObjCObjectType>()) {
980 QualType VisitObjCObjectType(const ObjCObjectType
1196 if (const auto *objcObjectType = dyn_cast<ObjCObjectType>(splitType.Ty)) {
1197 if (objcObjectType->isSpecializedAsWritten()) {
1200 for (auto typeArg : objcObjectType->getTypeArgsAsWritten()) {
1211 objcObjectType->qual_begin(),
1212 objcObjectType->getNumProtocols());
1216 objcObjectType->getBaseType(), { },
1218 objcObjectType->isKindOfTypeAsWritten());
1229 objcObjectType->qual_begin(),
1230 objcObjectType->getNumProtocols());
1231 return ctx.getObjCObjectType(objcObjectType->getBaseType(),
1233 objcObjectType->isKindOfTypeAsWritten());
1259 if (auto *objType = splitType.Ty->getAs<ObjCObjectType>()) {
1315 const ObjCObjectType *objectType;
1321 ->castAs<ObjCObjectType>();;
1323 objectType = getAs<ObjCObjectType>();
1345 objectType = superType->castAs<ObjCObjectType>();
1370 void ObjCObjectType::computeSuperClassTypeSlow() const {
1381 const ObjCObjectType *superClassObjTy = classDecl->getSuperClassType();
1399 superClassType->castAs<ObjCObjectType>(), true);
1414 superClassType->castAs<ObjCObjectType>(), true);
1425 unspecializedSuper->castAs<ObjCObjectType>(),
1436 ->castAs<ObjCObjectType>(),
1458 const ObjCObjectType *Type::getAsObjCQualifiedInterfaceType() const {
1459 // There is no sugar for ObjCObjectType's, just return the canonical
1462 if (const ObjCObjectType *T = getAs<ObjCObjectType>())
1492 const ObjCObjectType *Type::getAsObjCInterfaceType() const {
1493 if (const ObjCObjectType *OT = getAs<ObjCObjectType>()) {
1948 return cast<ObjCObjectType>(CanonicalType)->getBaseType()
3359 return Cache::get(cast<ObjCObjectType>(T)->getBaseType());
3441 return computeLinkageInfo(cast<ObjCObjectType>(T)->getBaseType());