Home | History | Annotate | Download | only in AST

Lines Matching defs: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>()) {
1321 const ObjCObjectType *objectType;
1327 ->castAs<ObjCObjectType>();;
1329 objectType = getAs<ObjCObjectType>();
1351 objectType = superType->castAs<ObjCObjectType>();
1376 void ObjCObjectType::computeSuperClassTypeSlow() const {
1387 const ObjCObjectType *superClassObjTy = classDecl->getSuperClassType();
1405 superClassType->castAs<ObjCObjectType>(), true);
1420 superClassType->castAs<ObjCObjectType>(), true);
1431 unspecializedSuper->castAs<ObjCObjectType>(),
1442 ->castAs<ObjCObjectType>(),
1464 const ObjCObjectType *Type::getAsObjCQualifiedInterfaceType() const {
1465 // There is no sugar for ObjCObjectType's, just return the canonical
1468 if (const ObjCObjectType *T = getAs<ObjCObjectType>())
1498 const ObjCObjectType *Type::getAsObjCInterfaceType() const {
1499 if (const ObjCObjectType *OT = getAs<ObjCObjectType>()) {
1954 return cast<ObjCObjectType>(CanonicalType)->getBaseType()
3363 return Cache::get(cast<ObjCObjectType>(T)->getBaseType());
3447 return computeLinkageInfo(cast<ObjCObjectType>(T)->getBaseType());