| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 49 const ObjCObjectPointerType *) 62 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE, 95 void reportGenericsBug(const ObjCObjectPointerType *From, 96 const ObjCObjectPointerType *To, ExplodedNode *N, 115 if (const auto *PointerType = dyn_cast<ObjCObjectPointerType>(Type)) { in isObjCClassType() 160 MessageExpr->getSuperType()->getAs<ObjCObjectPointerType>()) in inferReceiverType() 221 dyn_cast<ObjCObjectPointerType>(InferredType)) { in inferReceiverType() 433 const ObjCObjectPointerType * 440 const ObjCObjectPointerType *NewTy = in getBetterObjCType() 441 CastE->getType()->getAs<ObjCObjectPointerType>(); in getBetterObjCType() [all …]
|
| H A D | DynamicTypeChecker.cpp | 139 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() 167 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt() 168 const auto *StaticObjCType = StaticType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
|
| H A D | NSErrorChecker.cpp | 298 const ObjCObjectPointerType* PT = in IsNSError() 299 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
|
| H A D | NonnullGlobalConstantsChecker.cpp | 141 if (auto *T = dyn_cast<ObjCObjectPointerType>(Ty)) { in isNonnullType()
|
| H A D | IvarInvalidationChecker.cpp | 282 const ObjCObjectPointerType *IvTy = IvQTy->getAs<ObjCObjectPointerType>(); in trackIvar()
|
| /src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 588 using qual_iterator = ObjCObjectPointerType::qual_iterator; 597 struct CanProxyAdaptor<ObjCObjectPointerType> 598 : public CanProxyBase<ObjCObjectPointerType> { 607 using qual_iterator = ObjCObjectPointerType::qual_iterator;
|
| H A D | ASTContext.h | 243 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes; 2967 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS, 2968 const ObjCObjectPointerType *RHS, 2971 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS, 2972 const ObjCObjectPointerType *RHS); 2975 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT, 2976 const ObjCObjectPointerType *RHSOPT); 2980 const ObjCObjectPointerType *LHSOPT, 2981 const ObjCObjectPointerType *RHSOPT, 2984 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT, [all …]
|
| H A D | BuiltinTypes.def | 230 // type is a typedef of an ObjCObjectPointerType to an 236 // 'Class' type is a typedef of an ObjCObjectPointerType to an
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaPseudoObject.cpp | 557 const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 558 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType() 576 if (const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 577 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>()) in LookupMethodInReceiverType() 851 if (const ObjCObjectPointerType *ptr in buildRValueOperation() 852 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation() 1078 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter() 1079 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter() 1177 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter() 1178 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
|
| H A D | SemaObjCProperty.cpp | 494 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension() 528 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension() 529 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension() 578 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl() 579 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl() 1241 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl() 1242 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl() 1345 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl() 1346 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl() 1348 PropertyIvarType->castAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl() [all …]
|
| H A D | SemaExprObjC.cpp | 1784 if (auto *ObjPT = ReceiverType->getAs<ObjCObjectPointerType>()) { in CheckMessageArgumentTypes() 1977 Selector Sel, const ObjCObjectPointerType *OPT, bool Instance) { in LookupMethodInQualifiedType() 1990 const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() 2148 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr() 2195 return HandleExprPropertyRefExpr(T->castAs<ObjCObjectPointerType>(), in ActOnClassPropertyRefExpr() 2519 const auto *OPT = ReceiverType->getAs<ObjCObjectPointerType>(); in checkFoundationAPI() 2983 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage() 3050 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage() 3058 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage() 3194 if (const ObjCObjectPointerType * in BuildInstanceMessage() [all …]
|
| H A D | SemaObjC.cpp | 143 const ObjCObjectPointerType *pointerType = in CheckObjCForCollectionOperand() 144 collection->getType()->getAs<ObjCObjectPointerType>(); in CheckObjCForCollectionOperand() 608 if (const auto *typeArgObjC = typeArg->getAs<ObjCObjectPointerType>()) { in applyObjCTypeArgs() 619 const auto *boundObjC = bound->castAs<ObjCObjectPointerType>(); in applyObjCTypeArgs() 1490 const auto *PT = T->getAs<ObjCObjectPointerType>(); in isNSStringType() 1529 if (!VD->getType()->getAs<ObjCObjectPointerType>()) { in checkIBOutletCommon() 1535 if (!PD->getType()->getAs<ObjCObjectPointerType>()) { in checkIBOutletCommon() 2334 ICE->getSubExpr()->getType()->getAs<ObjCObjectPointerType>()) in checkCollectionLiteralElement() 2340 if (ElementType->getAs<ObjCObjectPointerType>() && in checkCollectionLiteralElement() 2361 const auto *TargetObjCPtr = TargetType->getAs<ObjCObjectPointerType>(); in checkArrayLiteral() [all …]
|
| H A D | SemaExprMember.cpp | 525 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl() 1235 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType() 1236 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1252 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1311 else if (const ObjCObjectPointerType *Ptr = in LookupMemberExpr() 1312 BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr() 1533 const ObjCObjectPointerType *OPT; in LookupMemberExpr() 1534 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
|
| H A D | SemaDeclObjC.cpp | 57 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod() 83 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod() 2311 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable() 2312 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable() 2405 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn() 2406 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 2407 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn() 2408 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 2487 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam() 2488 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam() [all …]
|
| H A D | SemaSwift.cpp | 111 if (const auto *OPT = Pointee->getAs<ObjCObjectPointerType>()) in isErrorParameter() 250 if (const auto *ObjCPtrTy = Param->getAs<ObjCObjectPointerType>()) { in checkSwiftAsyncErrorBlock()
|
| H A D | SemaOverload.cpp | 2695 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2704 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2777 FromType->castAs<ObjCObjectPointerType>(), ToPointeeType, ToType, in IsPointerConversion() 2881 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion() 2882 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2883 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion() 2884 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2966 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2967 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 3362 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() [all …]
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 708 if (const auto *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType() 764 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType() 787 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType() 910 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals() 916 return ctx.getObjCObjectPointerType(obj)->castAs<ObjCObjectPointerType>(); in stripObjCKindOfTypeAndQuals() 1314 QualType VisitObjCObjectPointerType(const ObjCObjectPointerType *T) { in TRIVIAL_TYPE_CLASS() 1383 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType() 1526 const ObjCObjectPointerType *ptrType = in VisitAttributedType() 1527 newEquivType->getAs<ObjCObjectPointerType>(); in VisitAttributedType() 1675 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) { in getObjCSubstitutions() [all …]
|
| H A D | ExprObjC.cpp | 317 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
|
| H A D | ASTContext.cpp | 5791 dyn_cast<ObjCObjectPointerType>(type.getTypePtr())) { in applyObjCProtocolQualifiers() 5831 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers() 5839 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers() 5899 if (const auto *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols() 5917 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols() 5961 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType() 5964 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType() 5979 Allocate(sizeof(ObjCObjectPointerType), alignof(ObjCObjectPointerType)); in getObjCObjectPointerType() 5981 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType() 6576 const auto *T1OPType = T1->getAs<ObjCObjectPointerType>(); in UnwrapSimilarTypes() [all …]
|
| /src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ExternalSemaSource.h | 215 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
| H A D | MultiplexExternalSemaSource.h | 348 const ObjCObjectPointerType *OPT) override;
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 273 if (!isa<ObjCObjectPointerType>(T)) { in generateDiagnosticsForCallLike() 276 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); in generateDiagnosticsForCallLike()
|
| /src/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 55 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
|
| /src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | SValExplainer.h | 166 .getCanonicalType()->getAs<ObjCObjectPointerType>()) in VisitSymbolicRegion()
|