| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 351 const ObjCObjectPointerType * 358 const ObjCObjectPointerType *NewTy = in getBetterObjCType() 366 const ObjCObjectPointerType *OldTy = in getBetterObjCType() 367 OldDTy->getAs<ObjCObjectPointerType>(); in getBetterObjCType() 385 const ObjCObjectPointerType *From, const ObjCObjectPointerType *To, in getMostInformativeDerivedClassImpl() 429 static const ObjCObjectPointerType * 490 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative() 504 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative() 515 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative() 563 const ObjCObjectPointerType *const *TrackedType = in checkPostStmt() [all …]
|
| H A D | DynamicTypeChecker.cpp | 149 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() 177 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt() 178 const auto *StaticObjCType = StaticType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
|
| H A D | NSErrorChecker.cpp | 286 const ObjCObjectPointerType* PT = in IsNSError() 287 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
|
| H A D | NonnullGlobalConstantsChecker.cpp | 128 if (auto *T = dyn_cast<ObjCObjectPointerType>(Ty)) { in isNonnullType()
|
| H A D | IvarInvalidationChecker.cpp | 283 const ObjCObjectPointerType *IvTy = IvQTy->getAs<ObjCObjectPointerType>(); in trackIvar()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 70 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Type.cpp | 508 if (const auto *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType() 564 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType() 587 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType() 717 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals() 1181 ->castAs<ObjCObjectPointerType>(); in substObjCTypeArgs() 1539 QualType ObjCObjectPointerType::getSuperClassType() const { in getSuperClassType() 1565 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedIdType() 1575 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedClassType() 1591 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCInterfacePointerType() 1982 } else if (isa<ObjCObjectPointerType>(T)) { in getScalarTypeKind() [all …]
|
| H A D | ASTContext.cpp | 4645 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols() 4689 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType() 4692 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType() 4708 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType() 6905 const auto *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl() 7858 const auto *lhsQID = lhs->getAs<ObjCObjectPointerType>(); in ObjCQualifiedClassTypesAreCompatible() 7859 const auto *rhsOPT = rhs->getAs<ObjCObjectPointerType>(); in ObjCQualifiedClassTypesAreCompatible() 7945 if (const ObjCObjectPointerType *lhsOPT = in ObjCQualifiedIdTypesAreCompatible() 8175 const auto *lhsOPT = lhs->getAs<ObjCObjectPointerType>(); in canAssignObjCObjectTypes() 8234 const ObjCObjectPointerType *Lptr, in areCommonBaseCompatible() [all …]
|
| H A D | ExprObjC.cpp | 336 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
|
| /freebsd-12.1/contrib/llvm/tools/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 | 214 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes; 2553 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT, 2554 const ObjCObjectPointerType *RHSOPT); 2558 const ObjCObjectPointerType *LHSOPT, 2559 const ObjCObjectPointerType *RHSOPT, 2562 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT, 2563 const ObjCObjectPointerType *RHSOPT);
|
| H A D | BuiltinTypes.def | 225 // type is a typedef of an ObjCObjectPointerType to an 231 // 'Class' type is a typedef of an ObjCObjectPointerType to an
|
| H A D | Type.h | 2147 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const; 2148 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const; 2149 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const; 5799 ObjCObjectPointerType(QualType Canonical, QualType Pointee) 5952 const ObjCObjectPointerType *stripObjCKindOfTypeAndQuals( 6394 return isa<ObjCObjectPointerType>(CanonicalType); 6411 if (const auto *OPT = getAs<ObjCObjectPointerType>()) 6417 if (const auto *OPT = getAs<ObjCObjectPointerType>()) 6423 if (const auto *OPT = getAs<ObjCObjectPointerType>()) 6429 if (const auto *OPT = getAs<ObjCObjectPointerType>()) [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 510 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension() 544 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension() 545 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension() 600 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl() 601 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl() 1231 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl() 1232 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl() 1336 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl() 1337 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl() 1665 const ObjCObjectPointerType *propertyObjCPtr = nullptr; in DiagnosePropertyAccessorMismatch() [all …]
|
| H A D | SemaPseudoObject.cpp | 560 const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 561 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType() 579 if (const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 580 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>()) in LookupMethodInReceiverType() 853 if (const ObjCObjectPointerType *ptr in buildRValueOperation() 854 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation() 1155 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter() 1156 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter() 1259 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter() 1260 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
|
| H A D | SemaExprMember.cpp | 450 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl() 1175 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType() 1176 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1192 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1253 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr() 1254 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr() 1456 const ObjCObjectPointerType *OPT; in LookupMemberExpr() 1457 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
|
| H A D | SemaExprObjC.cpp | 1798 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr() 1958 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr() 2325 const auto *OPT = ReceiverType->getAs<ObjCObjectPointerType>(); in checkFoundationAPI() 2792 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage() 2861 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage() 2869 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage() 2962 if (const ObjCObjectPointerType * in BuildInstanceMessage() 3801 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeNSCast() 4365 if (isa<ObjCObjectPointerType>(canCastType) && in CheckObjCARCUnavailableWeakConversion() 4368 if (const ObjCObjectPointerType *ObjT = in CheckObjCARCUnavailableWeakConversion() [all …]
|
| H A D | SemaDeclObjC.cpp | 79 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod() 2252 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable() 2253 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable() 2352 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn() 2354 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn() 2436 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam() 2437 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam() 2438 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideParam() 2439 IfaceTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam() 3662 else if (const ObjCObjectPointerType *ObjCPtr = in SelectorsForTypoCorrection() [all …]
|
| H A D | SemaOverload.cpp | 2230 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2239 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2436 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion() 2437 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2438 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion() 2439 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 4136 const ObjCObjectPointerType *FromPtr1 in CompareDerivedToBaseConversions() 4138 const ObjCObjectPointerType *FromPtr2 in CompareDerivedToBaseConversions() 4140 const ObjCObjectPointerType *ToPtr1 in CompareDerivedToBaseConversions() 4142 const ObjCObjectPointerType *ToPtr2 in CompareDerivedToBaseConversions() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | ExternalSemaSource.h | 208 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
| H A D | MultiplexExternalSemaSource.h | 341 const ObjCObjectPointerType *OPT) override;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 200 if (!isa<ObjCObjectPointerType>(T)) { in generateDiagnosticsForCallLike() 203 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); in generateDiagnosticsForCallLike()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 1179 const ObjCObjectPointerType *ReceiverT = nullptr; in getRuntimeDefinition() 1188 ReceiverT = cast<ObjCObjectPointerType>(SupersType); in getRuntimeDefinition() 1203 ReceiverT = dyn_cast<ObjCObjectPointerType>(DynType.getCanonicalType()); in getRuntimeDefinition() 1214 if (auto *PT = dyn_cast_or_null<ObjCObjectPointerType>(ReceiverT)) { in getRuntimeDefinition()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 54 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | SValExplainer.h | 148 .getCanonicalType()->getAs<ObjCObjectPointerType>()) in VisitSymbolicRegion()
|