/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypePropagation.cpp | 47 const ObjCObjectPointerType *) 62 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE, 96 void reportGenericsBug(const ObjCObjectPointerType *From, 97 const ObjCObjectPointerType *To, ExplodedNode *N, 345 const ObjCObjectPointerType * 352 const ObjCObjectPointerType *NewTy = in getBetterObjCType() 353 CastE->getType()->getAs<ObjCObjectPointerType>(); in getBetterObjCType() 360 const ObjCObjectPointerType *OldTy = in getBetterObjCType() 361 OldDTy->getAs<ObjCObjectPointerType>(); in getBetterObjCType() 378 static const ObjCObjectPointerType *getMostInformativeDerivedClassImpl( in getMostInformativeDerivedClassImpl() [all …]
|
D | DynamicTypeChecker.cpp | 154 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() 182 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt() 183 const auto *StaticObjCType = StaticType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
|
D | NSErrorChecker.cpp | 287 const ObjCObjectPointerType* PT = in IsNSError() 288 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
|
D | IvarInvalidationChecker.cpp | 283 const ObjCObjectPointerType *IvTy = IvQTy->getAs<ObjCObjectPointerType>(); in trackIvar()
|
/external/clang/lib/AST/ |
D | Type.cpp | 418 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType() 474 const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType() 497 const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType() 644 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals() 650 return ctx.getObjCObjectPointerType(obj)->castAs<ObjCObjectPointerType>(); in stripObjCKindOfTypeAndQuals() 1011 QualType VisitObjCObjectPointerType(const ObjCObjectPointerType *T) { in TRIVIAL_TYPE_CLASS() 1096 ->castAs<ObjCObjectPointerType>(); in substObjCTypeArgs() 1322 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) { in getObjCSubstitutions() 1446 const ObjCInterfaceType *ObjCObjectPointerType::getInterfaceType() const { in getInterfaceType() 1455 QualType ObjCObjectPointerType::getSuperClassType() const { in getSuperClassType() [all …]
|
D | ASTContext.cpp | 3809 if (const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols() 3827 const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols() 3871 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType() 3874 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType() 3888 void *Mem = Allocate(sizeof(ObjCObjectPointerType), TypeAlignment); in getObjCObjectPointerType() 3889 ObjCObjectPointerType *QType = in getObjCObjectPointerType() 3890 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType() 4273 const ObjCObjectPointerType *T1OPType = T1->getAs<ObjCObjectPointerType>(), in UnwrapSimilarPointerTypes() 4274 *T2OPType = T2->getAs<ObjCObjectPointerType>(); in UnwrapSimilarPointerTypes() 5854 const ObjCObjectPointerType *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl() [all …]
|
D | ExprObjC.cpp | 330 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
|
/external/clang/lib/Analysis/ |
D | CocoaConventions.cpp | 63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 570 typedef ObjCObjectPointerType::qual_iterator qual_iterator; 578 struct CanProxyAdaptor<ObjCObjectPointerType> 579 : public CanProxyBase<ObjCObjectPointerType> { 588 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
|
D | Type.h | 1840 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const; 1841 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const; 1842 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const; 4994 class ObjCObjectPointerType : public Type, public llvm::FoldingSetNode { 4997 ObjCObjectPointerType(QualType Canonical, QualType Pointee) 5148 const ObjCObjectPointerType *stripObjCKindOfTypeAndQuals( 5558 return isa<ObjCObjectPointerType>(CanonicalType); 5572 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) 5577 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) 5582 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) [all …]
|
D | ASTContext.h | 131 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes; 2253 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT, 2254 const ObjCObjectPointerType *RHSOPT); 2258 const ObjCObjectPointerType *LHSOPT, 2259 const ObjCObjectPointerType *RHSOPT, 2262 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT, 2263 const ObjCObjectPointerType *RHSOPT);
|
D | BuiltinTypes.def | 145 // type is a typedef of an ObjCObjectPointerType to an 151 // 'Class' type is a typedef of an ObjCObjectPointerType to an
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 505 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension() 538 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension() 539 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension() 592 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl() 593 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl() 1080 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl() 1081 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl() 1175 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl() 1176 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl() 1179 PropertyIvarType->getAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl() [all …]
|
D | SemaPseudoObject.cpp | 545 const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 546 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType() 564 if (const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 565 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>()) in LookupMethodInReceiverType() 837 if (const ObjCObjectPointerType *ptr in buildRValueOperation() 838 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation() 1140 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter() 1141 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter() 1246 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter() 1247 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
|
D | SemaExprMember.cpp | 426 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl() 1230 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType() 1231 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1247 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1307 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr() 1308 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr() 1504 const ObjCObjectPointerType *OPT; in LookupMemberExpr() 1505 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
|
D | SemaDeclObjC.cpp | 53 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod() 79 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod() 2181 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable() 2182 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable() 2281 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn() 2282 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 2283 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn() 2284 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 2365 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam() 2366 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam() [all …]
|
D | SemaExprObjC.cpp | 1557 ReceiverType->getAs<ObjCObjectPointerType>()->getInterfaceDecl()) { in CheckMessageArgumentTypes() 1741 const ObjCObjectPointerType *OPT, in LookupMethodInQualifiedType() 1756 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr() 1916 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr() 1965 return HandleExprPropertyRefExpr(T->castAs<ObjCObjectPointerType>(), in ActOnClassPropertyRefExpr() 2668 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage() 2732 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage() 2740 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage() 2833 if (const ObjCObjectPointerType * in BuildInstanceMessage() 3646 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeNSCast() [all …]
|
D | SemaOverload.cpp | 2061 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2070 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2159 FromType->getAs<ObjCObjectPointerType>(), in IsPointerConversion() 2267 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion() 2268 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2269 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion() 2270 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2352 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2353 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2775 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() [all …]
|
/external/clang/include/clang/Sema/ |
D | ExternalSemaSource.h | 207 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
D | MultiplexExternalSemaSource.h | 335 const ObjCObjectPointerType *OPT) override;
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 112 const ObjCObjectPointerType *OPT) override { in CorrectTypo() 154 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 902 const ObjCObjectPointerType *ReceiverT = nullptr; in getRuntimeDefinition() 910 ReceiverT = cast<ObjCObjectPointerType>(SupersType); in getRuntimeDefinition() 919 ReceiverT = dyn_cast<ObjCObjectPointerType>(DynType); in getRuntimeDefinition()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 59 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 579 else if (const ObjCObjectPointerType *ObjPtr = in ProcessCodeCompleteResults() 580 baseType->getAs<ObjCObjectPointerType>()) in ProcessCodeCompleteResults()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 669 if (const ObjCObjectPointerType *OPT = T->getAs<ObjCObjectPointerType>()) { in VisitType()
|