Home
last modified time | relevance | path

Searched refs:ObjCObjectType (Results 1 – 25 of 47) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp58 const ObjCObjectType *getObjectTypeForAllocAndNew(const ObjCMessageExpr *MsgE,
226 const ObjCObjectType *ObjTy = getObjectTypeForAllocAndNew(MsgE, C); in checkPostCall()
308 const ObjCObjectType *
312 if (const ObjCObjectType *ObjTy in getObjectTypeForAllocAndNew()
313 = MsgE->getClassReceiver()->getAs<ObjCObjectType>()) in getObjectTypeForAllocAndNew()
318 if (const ObjCObjectType *ObjTy in getObjectTypeForAllocAndNew()
319 = MsgE->getSuperType()->getAs<ObjCObjectType>()) in getObjectTypeForAllocAndNew()
334 if (const ObjCObjectType *ObjTy = in getObjectTypeForAllocAndNew()
335 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
399 To->getObjectType()->getSuperClassType()->getAs<ObjCObjectType>(); in getMostInformativeDerivedClassImpl()
[all …]
/external/clang/lib/AST/
DType.cpp471 const ObjCObjectType *&bound) const { in isObjCIdOrObjectKindOfType()
492 ->getAs<ObjCObjectType>(); in isObjCIdOrObjectKindOfType()
535 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType
571 bool ObjCObjectType::isSpecialized() const { in isSpecialized()
577 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isSpecialized()
589 ArrayRef<QualType> ObjCObjectType::getTypeArgs() const { in getTypeArgs()
595 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in getTypeArgs()
607 bool ObjCObjectType::isKindOfType() const { in isKindOfType()
612 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isKindOfType()
624 QualType ObjCObjectType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
[all …]
DExprObjC.cpp333 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
DASTContext.cpp1735 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
3736 if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos)) in getObjCObjectType()
3744 if (auto baseObject = baseType->getAs<ObjCObjectType>()) in getObjCObjectType()
5833 ObjCInterfaceDecl *OI = T->castAs<ObjCObjectType>()->getInterface(); in getObjCEncodingForTypeImpl()
6946 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
6947 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces()
7064 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
7065 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols()
7183 const ObjCObjectType *LHS = Lptr->getObjectType(); in areCommonBaseCompatible()
7184 const ObjCObjectType *RHS = Rptr->getObjectType(); in areCommonBaseCompatible()
[all …]
DTypePrinter.cpp1371 void TypePrinter::printObjCObjectBefore(const ObjCObjectType *T, in printObjCObjectBefore()
1411 void TypePrinter::printObjCObjectAfter(const ObjCObjectType *T, in printObjCObjectAfter()
/external/clang/include/clang/AST/
DBuiltinTypes.def146 // ObjCObjectType with this as its base. In fact, this only ever
147 // shows up in an AST as the base type of an ObjCObjectType.
152 // ObjCObjectType with this as its base. In fact, this only ever
153 // shows up in an AST as the base type of an ObjCObjectType.
DType.h1397 friend class ObjCObjectType;
1713 const ObjCObjectType *&bound) const;
1837 const ObjCObjectType *getAsObjCInterfaceType() const;
1843 const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
4730 class ObjCObjectType : public Type {
4747 mutable llvm::PointerIntPair<const ObjCObjectType *, 1, bool>
4751 return const_cast<ObjCObjectType*>(this)->getProtocolStorage();
4756 return const_cast<ObjCObjectType *>(this)->getTypeArgStorage();
4762 ObjCObjectType(QualType Canonical, QualType Base,
4768 ObjCObjectType(enum Nonce_ObjCInterface)
[all …]
DCanonicalType.h560 struct CanProxyAdaptor<ObjCObjectType>
561 : public CanProxyBase<ObjCObjectType> {
DTypeNodes.def105 TYPE(ObjCInterface, ObjCObjectType)
DASTContext.h2255 bool canAssignObjCInterfaces(const ObjCObjectType *LHS,
2256 const ObjCObjectType *RHS);
DDeclObjC.h1470 const ObjCObjectType *getSuperClassType() const { in getSuperClassType()
1472 return TInfo->getType()->castAs<ObjCObjectType>(); in getSuperClassType()
/external/clang/lib/Index/
DUSRGeneration.cpp713 if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) { in VisitType()
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp583 else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>()) in ProcessCodeCompleteResults()
DCXIndexDataConsumer.cpp314 if (const ObjCObjectType *ObjectTy = Ty->getAs<ObjCObjectType>()) { in AttrListInfo()
DCXType.cpp400 D = cast<ObjCObjectType>(TP)->getInterface(); in clang_getTypeDeclaration()
/external/clang/lib/Sema/
DSemaExprMember.cpp1234 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType()
1348 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr()
1522 const ObjCObjectType *OT = OPT->getObjectType(); in LookupMemberExpr()
DSemaDeclObjC.cpp52 const ObjCObjectType *result = in checkInitMethod()
514 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) { in ActOnSuperClassOfClassInterface()
1043 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) in ActOnTypedefedProtocols()
1070 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias()
1343 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
2975 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration()
3355 const ObjCObjectType *TypeBound) { in FilterMethodsByTypeBound()
3391 const ObjCObjectType *TypeBound) { in CollectMultipleMethodsInGlobalPool()
DSemaExprObjC.cpp1718 const ObjCObjectType *objType = type->castAs<ObjCObjectType>(); in LookupMethodInObjectType()
2367 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>(); in BuildClassMessage()
2638 const ObjCObjectType *typeBound = nullptr; in BuildInstanceMessage()
DSemaType.cpp801 const auto *objcObjectType = type->getAs<ObjCObjectType>(); in applyObjCTypeArgs()
1010 if (const ObjCObjectType *objT = dyn_cast<ObjCObjectType>(type.getTypePtr())){ in applyObjCProtocolQualifiers()
3849 if (LangOpts.ObjC1 && T->getAs<ObjCObjectType>()) { in GetFullTypeForDeclarator()
5919 const ObjCObjectType *objType = ptrType ? ptrType->getObjectType() in checkObjCKindOfType()
5920 : type->getAs<ObjCObjectType>(); in checkObjCKindOfType()
DSemaCodeComplete.cpp3747 Class = BaseType->getAs<ObjCObjectType>()->getInterface(); in CodeCompleteMemberReferenceExpr()
5285 if (const ObjCObjectType *ObjType in GetAssumedMessageSendExprType()
5286 = Msg->getClassReceiver()->getAs<ObjCObjectType>()) in GetAssumedMessageSendExprType()
5522 if (const ObjCObjectType *Iface in CodeCompleteObjCSuperMessage()
5523 = Context.getTypeDeclType(TD)->getAs<ObjCObjectType>()) in CodeCompleteObjCSuperMessage()
5599 if (const ObjCObjectType *Interface = T->getAs<ObjCObjectType>()) in AddClassMessageCompletions()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp142 const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>(); in maybeAdjustInterfaceForSubscriptingCheck()
/external/clang/lib/CodeGen/
DCGDebugInfo.h157 llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);
DCodeGenTypes.cpp565 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType()); in ConvertType()
DItaniumCXXABI.cpp2413 void BuildObjCObjectTypeInfo(const ObjCObjectType *Ty);
2798 Ty = cast<ObjCObjectType>(Ty)->getBaseType().getTypePtr(); in BuildVTablePointer()
3014 BuildObjCObjectTypeInfo(cast<ObjCObjectType>(Ty)); in BuildTypeInfo()
3101 void ItaniumRTTIBuilder::BuildObjCObjectTypeInfo(const ObjCObjectType *OT) { in BuildObjCObjectTypeInfo()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp771 } else if (T->getAs<ObjCObjectType>()) { in VisitUnaryExprOrTypeTraitExpr()

12