Home
last modified time | relevance | path

Searched refs:ObjCObjectType (Results 1 – 25 of 45) 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()
391 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.cpp352 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
DASTContext.cpp1744 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
3703 if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos)) in getObjCObjectType()
3711 if (auto baseObject = baseType->getAs<ObjCObjectType>()) in getObjCObjectType()
5737 ObjCInterfaceDecl *OI = T->castAs<ObjCObjectType>()->getInterface(); in getObjCEncodingForTypeImpl()
6848 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
6849 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces()
6966 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
6967 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols()
7085 const ObjCObjectType *LHS = Lptr->getObjectType(); in areCommonBaseCompatible()
7086 const ObjCObjectType *RHS = Rptr->getObjectType(); in areCommonBaseCompatible()
[all …]
DTypePrinter.cpp1326 void TypePrinter::printObjCObjectBefore(const ObjCObjectType *T, in printObjCObjectBefore()
1366 void TypePrinter::printObjCObjectAfter(const ObjCObjectType *T, in printObjCObjectAfter()
DASTImporter.cpp78 QualType VisitObjCObjectType(const ObjCObjectType *T);
846 const ObjCObjectType *Obj1 = cast<ObjCObjectType>(T1); in IsStructurallyEquivalent()
847 const ObjCObjectType *Obj2 = cast<ObjCObjectType>(T2); in IsStructurallyEquivalent()
1842 QualType ASTNodeImporter::VisitObjCObjectType(const ObjCObjectType *T) { in VisitObjCObjectType()
/external/clang/include/clang/AST/
DBuiltinTypes.def143 // ObjCObjectType with this as its base. In fact, this only ever
144 // shows up in an AST as the base type of an ObjCObjectType.
149 // ObjCObjectType with this as its base. In fact, this only ever
150 // shows up in an AST as the base type of an ObjCObjectType.
DType.h1365 friend class ObjCObjectType;
1681 const ObjCObjectType *&bound) const;
1813 const ObjCObjectType *getAsObjCInterfaceType() const;
1819 const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
4556 class ObjCObjectType : public Type {
4573 mutable llvm::PointerIntPair<const ObjCObjectType *, 1, bool>
4577 return const_cast<ObjCObjectType*>(this)->getProtocolStorage();
4582 return const_cast<ObjCObjectType *>(this)->getTypeArgStorage();
4588 ObjCObjectType(QualType Canonical, QualType Base,
4594 ObjCObjectType(enum Nonce_ObjCInterface)
[all …]
DCanonicalType.h557 struct CanProxyAdaptor<ObjCObjectType>
558 : public CanProxyBase<ObjCObjectType> {
DTypeNodes.def105 TYPE(ObjCInterface, ObjCObjectType)
DASTContext.h2230 bool canAssignObjCInterfaces(const ObjCObjectType *LHS,
2231 const ObjCObjectType *RHS);
DDeclObjC.h1230 const ObjCObjectType *getSuperClassType() const { in getSuperClassType()
1232 return TInfo->getType()->castAs<ObjCObjectType>(); in getSuperClassType()
DRecursiveASTVisitor.h966 DEF_TRAVERSE_TYPE(ObjCObjectType, {
1195 DEF_TRAVERSE_TYPELOC(ObjCObjectType, {
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp583 else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>()) in ProcessCodeCompleteResults()
DIndexingContext.cpp102 if (const ObjCObjectType *ObjectTy = Ty->getAs<ObjCObjectType>()) { in AttrListInfo()
DCXType.cpp398 D = cast<ObjCObjectType>(TP)->getInterface(); in clang_getTypeDeclaration()
/external/clang/lib/Sema/
DSemaExprMember.cpp1171 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType()
1285 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr()
1457 const ObjCObjectType *OT = OPT->getObjectType(); in LookupMemberExpr()
DSemaDeclObjC.cpp53 const ObjCObjectType *result = in checkInitMethod()
515 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) { in ActOnSuperClassOfClassInterface()
1044 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) in ActOnTypedefedProtocols()
1071 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias()
1334 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
2947 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration()
DSemaExprObjC.cpp1721 const ObjCObjectType *objType = type->castAs<ObjCObjectType>(); in LookupMethodInObjectType()
2354 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>(); in BuildClassMessage()
2628 const ObjCObjectType *typeBound = nullptr; in BuildInstanceMessage()
DSemaType.cpp747 const auto *objcObjectType = type->getAs<ObjCObjectType>(); in applyObjCTypeArgs()
956 if (const ObjCObjectType *objT = dyn_cast<ObjCObjectType>(type.getTypePtr())){ in applyObjCProtocolQualifiers()
3603 if (LangOpts.ObjC1 && T->getAs<ObjCObjectType>()) { in GetFullTypeForDeclarator()
5609 const ObjCObjectType *objType = ptrType ? ptrType->getObjectType() in checkObjCKindOfType()
5610 : type->getAs<ObjCObjectType>(); in checkObjCKindOfType()
DSemaCodeComplete.cpp3734 Class = BaseType->getAs<ObjCObjectType>()->getInterface(); in CodeCompleteMemberReferenceExpr()
5265 if (const ObjCObjectType *ObjType in GetAssumedMessageSendExprType()
5266 = Msg->getClassReceiver()->getAs<ObjCObjectType>()) in GetAssumedMessageSendExprType()
5502 if (const ObjCObjectType *Iface in CodeCompleteObjCSuperMessage()
5503 = Context.getTypeDeclType(TD)->getAs<ObjCObjectType>()) in CodeCompleteObjCSuperMessage()
5579 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.h164 llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);
DCodeGenTypes.cpp562 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType()); in ConvertType()
DItaniumCXXABI.cpp2382 void BuildObjCObjectTypeInfo(const ObjCObjectType *Ty);
2765 Ty = cast<ObjCObjectType>(Ty)->getBaseType().getTypePtr(); in BuildVTablePointer()
2978 BuildObjCObjectTypeInfo(cast<ObjCObjectType>(Ty)); in BuildTypeInfo()
3065 void ItaniumRTTIBuilder::BuildObjCObjectTypeInfo(const ObjCObjectType *OT) { in BuildObjCObjectTypeInfo()

12