Home
last modified time | relevance | path

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

12345

/aosp_15_r20/external/clang/lib/StaticAnalyzer/Checkers/
H A 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 …]
H A 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()
H A DNSErrorChecker.cpp287 const ObjCObjectPointerType* PT = in IsNSError()
288 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
/aosp_15_r20/external/clang/lib/AST/
H A 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()
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 …]
H A DASTContext.cpp3809 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 …]
H A DExprObjC.cpp330 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
/aosp_15_r20/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp505 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 …]
H A 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()
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()
H A DSemaExprMember.cpp426 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()
H A DSemaDeclObjC.cpp53 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 …]
H A DSemaExprObjC.cpp1557 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 …]
H A DSemaOverload.cpp2061 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 …]
/aosp_15_r20/external/clang/include/clang/AST/
H A DCanonicalType.h570 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
578 struct CanProxyAdaptor<ObjCObjectPointerType>
579 : public CanProxyBase<ObjCObjectPointerType> {
588 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
H A DType.h1840 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 …]
H A DASTContext.h131 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);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/AST/
DCanonicalType.h588 using qual_iterator = ObjCObjectPointerType::qual_iterator;
597 struct CanProxyAdaptor<ObjCObjectPointerType>
598 : public CanProxyBase<ObjCObjectPointerType> {
607 using qual_iterator = ObjCObjectPointerType::qual_iterator;
DASTContext.h239 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2892 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2893 const ObjCObjectPointerType *RHS,
2896 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2897 const ObjCObjectPointerType *RHS);
2900 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2901 const ObjCObjectPointerType *RHSOPT);
2905 const ObjCObjectPointerType *LHSOPT,
2906 const ObjCObjectPointerType *RHSOPT,
2909 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/AST/
DCanonicalType.h588 using qual_iterator = ObjCObjectPointerType::qual_iterator;
597 struct CanProxyAdaptor<ObjCObjectPointerType>
598 : public CanProxyBase<ObjCObjectPointerType> {
607 using qual_iterator = ObjCObjectPointerType::qual_iterator;
DASTContext.h239 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2918 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2919 const ObjCObjectPointerType *RHS,
2922 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2923 const ObjCObjectPointerType *RHS);
2926 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2927 const ObjCObjectPointerType *RHSOPT);
2931 const ObjCObjectPointerType *LHSOPT,
2932 const ObjCObjectPointerType *RHSOPT,
2935 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/AST/
DCanonicalType.h588 using qual_iterator = ObjCObjectPointerType::qual_iterator;
597 struct CanProxyAdaptor<ObjCObjectPointerType>
598 : public CanProxyBase<ObjCObjectPointerType> {
607 using qual_iterator = ObjCObjectPointerType::qual_iterator;
DASTContext.h239 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2892 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2893 const ObjCObjectPointerType *RHS,
2896 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2897 const ObjCObjectPointerType *RHS);
2900 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2901 const ObjCObjectPointerType *RHSOPT);
2905 const ObjCObjectPointerType *LHSOPT,
2906 const ObjCObjectPointerType *RHSOPT,
2909 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/AST/
DCanonicalType.h588 using qual_iterator = ObjCObjectPointerType::qual_iterator;
597 struct CanProxyAdaptor<ObjCObjectPointerType>
598 : public CanProxyBase<ObjCObjectPointerType> {
607 using qual_iterator = ObjCObjectPointerType::qual_iterator;
DASTContext.h236 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2878 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2879 const ObjCObjectPointerType *RHS,
2882 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2883 const ObjCObjectPointerType *RHS);
2886 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2887 const ObjCObjectPointerType *RHSOPT);
2891 const ObjCObjectPointerType *LHSOPT,
2892 const ObjCObjectPointerType *RHSOPT,
2895 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
[all …]
/aosp_15_r20/external/clang/lib/Analysis/
H A DCocoaConventions.cpp63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/aosp_15_r20/external/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp112 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
154 const ObjCObjectPointerType *OPT) override { in CorrectTypo()

12345