Home
last modified time | relevance | path

Searched refs:ObjCObjectPointerType (Results 1 – 25 of 62) sorted by relevance

123

/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp47 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 …]
DDynamicTypeChecker.cpp154 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()
DNSErrorChecker.cpp287 const ObjCObjectPointerType* PT = in IsNSError()
288 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
DIvarInvalidationChecker.cpp287 const ObjCObjectPointerType *IvTy = IvQTy->getAs<ObjCObjectPointerType>(); in trackIvar()
/external/clang/lib/Analysis/
DCocoaConventions.cpp63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/external/clang/lib/AST/
DType.cpp418 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()
1316 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) { in getObjCSubstitutions()
1440 const ObjCInterfaceType *ObjCObjectPointerType::getInterfaceType() const { in getInterfaceType()
1449 QualType ObjCObjectPointerType::getSuperClassType() const { in getSuperClassType()
[all …]
DASTContext.cpp3777 if (const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols()
3795 const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols()
3839 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType()
3842 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType()
3856 void *Mem = Allocate(sizeof(ObjCObjectPointerType), TypeAlignment); in getObjCObjectPointerType()
3857 ObjCObjectPointerType *QType = in getObjCObjectPointerType()
3858 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType()
4219 const ObjCObjectPointerType *T1OPType = T1->getAs<ObjCObjectPointerType>(), in UnwrapSimilarPointerTypes()
4220 *T2OPType = T2->getAs<ObjCObjectPointerType>(); in UnwrapSimilarPointerTypes()
5758 const ObjCObjectPointerType *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl()
[all …]
DExprObjC.cpp349 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
/external/clang/include/clang/AST/
DCanonicalType.h567 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
575 struct CanProxyAdaptor<ObjCObjectPointerType>
576 : public CanProxyBase<ObjCObjectPointerType> {
585 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
DType.h1816 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const;
1817 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const;
1818 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const;
4820 class ObjCObjectPointerType : public Type, public llvm::FoldingSetNode {
4823 ObjCObjectPointerType(QualType Canonical, QualType Pointee)
4974 const ObjCObjectPointerType *stripObjCKindOfTypeAndQuals(
5342 return isa<ObjCObjectPointerType>(CanonicalType);
5356 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>())
5361 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>())
5366 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>())
[all …]
DASTContext.h129 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2228 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2229 const ObjCObjectPointerType *RHSOPT);
2233 const ObjCObjectPointerType *LHSOPT,
2234 const ObjCObjectPointerType *RHSOPT,
2237 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
2238 const ObjCObjectPointerType *RHSOPT);
DBuiltinTypes.def142 // type is a typedef of an ObjCObjectPointerType to an
148 // 'Class' type is a typedef of an ObjCObjectPointerType to an
/external/clang/lib/Sema/
DSemaObjCProperty.cpp501 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension()
534 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension()
535 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension()
588 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl()
589 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl()
1065 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl()
1066 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl()
1160 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl()
1161 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl()
1164 PropertyIvarType->getAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl()
[all …]
DSemaPseudoObject.cpp545 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()
836 if (const ObjCObjectPointerType *ptr in buildRValueOperation()
837 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation()
1139 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter()
1140 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter()
1245 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter()
1246 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
DSemaExprMember.cpp413 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl()
1167 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType()
1168 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1184 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1244 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr()
1245 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr()
1439 const ObjCObjectPointerType *OPT; in LookupMemberExpr()
1440 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
DSemaDeclObjC.cpp54 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod()
80 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod()
2156 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable()
2157 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable()
2256 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn()
2257 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2258 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn()
2259 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2340 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam()
2341 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
[all …]
DSemaExprObjC.cpp1560 ReceiverType->getAs<ObjCObjectPointerType>()->getInterfaceDecl()) { in CheckMessageArgumentTypes()
1744 const ObjCObjectPointerType *OPT, in LookupMethodInQualifiedType()
1759 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr()
1899 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr()
1950 return HandleExprPropertyRefExpr(T->castAs<ObjCObjectPointerType>(), in ActOnClassPropertyRefExpr()
2657 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage()
2714 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage()
2722 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage()
2806 if (const ObjCObjectPointerType * in BuildInstanceMessage()
3615 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeNSCast()
[all …]
DSemaOverload.cpp1995 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2004 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2093 FromType->getAs<ObjCObjectPointerType>(), in IsPointerConversion()
2201 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion()
2202 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
2203 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion()
2204 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
2286 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion()
2287 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion()
2703 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion()
[all …]
DMultiplexExternalSemaSource.cpp294 const ObjCObjectPointerType *OPT) { in CorrectTypo()
/external/clang/include/clang/Sema/
DExternalSemaSource.h203 const ObjCObjectPointerType *OPT) { in CorrectTypo()
DMultiplexExternalSemaSource.h331 const ObjCObjectPointerType *OPT) override;
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp847 const ObjCObjectPointerType *ReceiverT = nullptr; in getRuntimeDefinition()
855 ReceiverT = cast<ObjCObjectPointerType>(SupersType); in getRuntimeDefinition()
864 ReceiverT = dyn_cast<ObjCObjectPointerType>(DynType); in getRuntimeDefinition()
/external/clang/lib/ARCMigrate/
DTransforms.cpp59 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp108 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp579 else if (const ObjCObjectPointerType *ObjPtr = in ProcessCodeCompleteResults()
580 baseType->getAs<ObjCObjectPointerType>()) in ProcessCodeCompleteResults()

123