| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 48 const ObjCObjectPointerType *) 61 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE, 94 void reportGenericsBug(const ObjCObjectPointerType *From, 95 const ObjCObjectPointerType *To, ExplodedNode *N, 114 if (const auto *PointerType = dyn_cast<ObjCObjectPointerType>(Type)) { in isObjCClassType() 159 MessageExpr->getSuperType()->getAs<ObjCObjectPointerType>()) in inferReceiverType() 220 dyn_cast<ObjCObjectPointerType>(InferredType)) { in inferReceiverType() 434 const ObjCObjectPointerType * 441 const ObjCObjectPointerType *NewTy = in getBetterObjCType() 442 CastE->getType()->getAs<ObjCObjectPointerType>(); in getBetterObjCType() [all …]
|
| H A D | DynamicTypeChecker.cpp | 145 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() 173 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt() 174 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()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
|
| /openbsd-src/gnu/llvm/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 | 231 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes; 2847 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS, 2848 const ObjCObjectPointerType *RHS, 2851 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS, 2852 const ObjCObjectPointerType *RHS); 2855 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT, 2856 const ObjCObjectPointerType *RHSOPT); 2860 const ObjCObjectPointerType *LHSOPT, 2861 const ObjCObjectPointerType *RHSOPT, 2864 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
|
| H A D | Type.h | 2380 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const; 2381 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const; 2382 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const; 6281 class ObjCObjectPointerType : public Type, public llvm::FoldingSetNode { 6286 ObjCObjectPointerType(QualType Canonical, QualType Pointee) 6435 const ObjCObjectPointerType *stripObjCKindOfTypeAndQuals( 7023 return isa<ObjCObjectPointerType>(CanonicalType); 7044 if (const auto *OPT = getAs<ObjCObjectPointerType>()) 7050 if (const auto *OPT = getAs<ObjCObjectPointerType>()) 7056 if (const auto *OPT = getAs<ObjCObjectPointerType>()) [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Type.cpp | 632 if (const auto *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType() 688 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType() 711 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType() 834 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals() 840 return ctx.getObjCObjectPointerType(obj)->castAs<ObjCObjectPointerType>(); in stripObjCKindOfTypeAndQuals() 1230 QualType VisitObjCObjectPointerType(const ObjCObjectPointerType *T) { in TRIVIAL_TYPE_CLASS() 1299 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType() 1442 const ObjCObjectPointerType *ptrType = in VisitAttributedType() 1443 newEquivType->getAs<ObjCObjectPointerType>(); in VisitAttributedType() 1576 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 | 5396 dyn_cast<ObjCObjectPointerType>(type.getTypePtr())) { in applyObjCProtocolQualifiers() 5436 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers() 5444 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers() 5504 if (const auto *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols() 5522 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols() 5566 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType() 5569 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType() 5583 void *Mem = Allocate(sizeof(ObjCObjectPointerType), TypeAlignment); in getObjCObjectPointerType() 5585 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType() 6118 const auto *T1OPType = T1->getAs<ObjCObjectPointerType>(); in UnwrapSimilarTypes() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 503 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension() 537 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension() 538 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension() 593 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl() 594 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl() 1259 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl() 1260 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl() 1364 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl() 1365 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl() 1368 PropertyIvarType->getAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl() [all …]
|
| H A D | SemaPseudoObject.cpp | 550 const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 551 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType() 569 if (const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 570 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>()) in LookupMethodInReceiverType() 843 if (const ObjCObjectPointerType *ptr in buildRValueOperation() 844 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation() 1145 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter() 1146 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter() 1248 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter() 1249 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
|
| H A D | SemaExprMember.cpp | 449 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl() 1191 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType() 1192 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1208 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1269 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr() 1270 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr() 1487 const ObjCObjectPointerType *OPT; in LookupMemberExpr() 1488 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
|
| H A D | SemaExprObjC.cpp | 1768 if (auto *ObjPT = ReceiverType->getAs<ObjCObjectPointerType>()) { in CheckMessageArgumentTypes() 1959 const ObjCObjectPointerType *OPT, in LookupMethodInQualifiedType() 1974 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr() 2134 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr() 2183 return HandleExprPropertyRefExpr(T->castAs<ObjCObjectPointerType>(), in ActOnClassPropertyRefExpr() 2505 const auto *OPT = ReceiverType->getAs<ObjCObjectPointerType>(); in checkFoundationAPI() 2974 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage() 3042 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage() 3050 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage() 3184 if (const ObjCObjectPointerType * in BuildInstanceMessage() [all …]
|
| H A D | SemaDeclObjC.cpp | 53 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod() 79 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod() 2303 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable() 2304 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable() 2397 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn() 2398 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 2399 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn() 2400 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 2479 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam() 2480 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam() [all …]
|
| H A D | SemaOverload.cpp | 2417 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2426 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2515 FromType->castAs<ObjCObjectPointerType>(), ToPointeeType, ToType, in IsPointerConversion() 2622 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion() 2623 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2624 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion() 2625 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2707 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2708 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 3154 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() [all …]
|
| /openbsd-src/gnu/llvm/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;
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 54 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | SValExplainer.h | 166 .getCanonicalType()->getAs<ObjCObjectPointerType>()) in VisitSymbolicRegion()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CIndexCodeCompletion.cpp | 620 else if (const ObjCObjectPointerType *ObjPtr = in ProcessCodeCompleteResults() 621 baseType->getAs<ObjCObjectPointerType>()) in ProcessCodeCompleteResults()
|