Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp433 const ObjCObjectPointerType *
440 const ObjCObjectPointerType *NewTy = in getBetterObjCType()
448 const ObjCObjectPointerType *OldTy = in getBetterObjCType()
449 OldDTy->getAs<ObjCObjectPointerType>(); in getBetterObjCType()
467 const ObjCObjectPointerType *From, const ObjCObjectPointerType *To, in getMostInformativeDerivedClassImpl()
511 static const ObjCObjectPointerType *
572 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative()
586 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative()
597 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative()
645 const ObjCObjectPointerType *const *TrackedType = in checkPostStmt()
[all …]
H A DDynamicTypeChecker.cpp139 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 DNSErrorChecker.cpp298 const ObjCObjectPointerType* PT = in IsNSError()
299 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
H A DNonnullGlobalConstantsChecker.cpp141 if (auto *T = dyn_cast<ObjCObjectPointerType>(Ty)) { in isNonnullType()
H A DIvarInvalidationChecker.cpp282 const ObjCObjectPointerType *IvTy = IvQTy->getAs<ObjCObjectPointerType>(); in trackIvar()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h588 using qual_iterator = ObjCObjectPointerType::qual_iterator;
597 struct CanProxyAdaptor<ObjCObjectPointerType>
598 : public CanProxyBase<ObjCObjectPointerType> {
607 using qual_iterator = ObjCObjectPointerType::qual_iterator;
H A 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 …]
H A DBuiltinTypes.def230 // type is a typedef of an ObjCObjectPointerType to an
236 // 'Class' type is a typedef of an ObjCObjectPointerType to an
H A DType.h2491 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const;
2492 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const;
2493 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const;
6486 ObjCObjectPointerType(QualType Canonical, QualType Pointee)
6635 const ObjCObjectPointerType *stripObjCKindOfTypeAndQuals(
7213 return isa<ObjCObjectPointerType>(CanonicalType);
7234 if (const auto *OPT = getAs<ObjCObjectPointerType>())
7240 if (const auto *OPT = getAs<ObjCObjectPointerType>())
7246 if (const auto *OPT = getAs<ObjCObjectPointerType>())
7252 if (const auto *OPT = getAs<ObjCObjectPointerType>())
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp654 if (const auto *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType()
710 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType()
733 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType()
856 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
1464 const ObjCObjectPointerType *ptrType = in VisitAttributedType()
1465 newEquivType->getAs<ObjCObjectPointerType>(); in VisitAttributedType()
1771 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedIdType()
1781 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedClassType()
1797 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCInterfacePointerType()
2248 } else if (isa<ObjCObjectPointerType>(T)) { in getScalarTypeKind()
[all …]
H A DExprObjC.cpp317 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
H A DASTContext.cpp5507 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols()
5551 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType()
5554 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType()
5569 Allocate(sizeof(ObjCObjectPointerType), alignof(ObjCObjectPointerType)); in getObjCObjectPointerType()
9656 const ObjCObjectPointerType *lhs, const ObjCObjectPointerType *rhs) { in ObjCQualifiedClassTypesAreCompatible()
9674 const ObjCObjectPointerType *lhs, const ObjCObjectPointerType *rhs, in ObjCQualifiedIdTypesAreCompatible()
10036 const ObjCObjectPointerType *Lptr, in areCommonBaseCompatible()
10037 const ObjCObjectPointerType *Rptr) { in areCommonBaseCompatible()
10845 LHS->castAs<ObjCObjectPointerType>(), in mergeTypes()
12767 const auto *PX = cast<ObjCObjectPointerType>(X), in getCommonNonSugarTypeNode()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp503 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()
1364 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl()
1365 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl()
1368 IvarType->castAs<ObjCObjectPointerType>()); in ActOnPropertyImplDecl()
1718 const ObjCObjectPointerType *propertyObjCPtr = nullptr; in DiagnosePropertyAccessorMismatch()
[all …]
H A DSemaPseudoObject.cpp555 const ObjCObjectPointerType *PT = in LookupMethodInReceiverType()
556 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType()
574 if (const ObjCObjectPointerType *PT = in LookupMethodInReceiverType()
575 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>()) in LookupMethodInReceiverType()
848 if (const ObjCObjectPointerType *ptr in buildRValueOperation()
849 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation()
1150 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter()
1151 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter()
1253 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter()
1254 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
H A DSemaExprMember.cpp481 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl()
1224 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType()
1225 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1241 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1302 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr()
1303 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr()
1520 const ObjCObjectPointerType *OPT; in LookupMemberExpr()
1521 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
H A DSemaExprObjC.cpp1976 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr()
2136 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr()
2510 const auto *OPT = ReceiverType->getAs<ObjCObjectPointerType>(); in checkFoundationAPI()
2979 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage()
3047 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage()
3055 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage()
3189 if (const ObjCObjectPointerType * in BuildInstanceMessage()
4024 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeNSCast()
4590 if (isa<ObjCObjectPointerType>(canCastType) && in CheckObjCARCUnavailableWeakConversion()
4593 if (const ObjCObjectPointerType *ObjT = in CheckObjCARCUnavailableWeakConversion()
[all …]
H A DSemaDeclObjC.cpp79 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()
2399 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn()
2479 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam()
2480 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
2481 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideParam()
2482 IfaceTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
3714 else if (const ObjCObjectPointerType *ObjCPtr = in SelectorsForTypoCorrection()
[all …]
H A DSemaOverload.cpp2541 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2550 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2746 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion()
2747 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
2748 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion()
2749 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
4628 const ObjCObjectPointerType *FromPtr1 in CompareDerivedToBaseConversions()
4630 const ObjCObjectPointerType *FromPtr2 in CompareDerivedToBaseConversions()
4632 const ObjCObjectPointerType *ToPtr1 in CompareDerivedToBaseConversions()
4634 const ObjCObjectPointerType *ToPtr2 in CompareDerivedToBaseConversions()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DExternalSemaSource.h215 const ObjCObjectPointerType *OPT) { in CorrectTypo()
H A DMultiplexExternalSemaSource.h348 const ObjCObjectPointerType *OPT) override;
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp273 if (!isa<ObjCObjectPointerType>(T)) { in generateDiagnosticsForCallLike()
276 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); in generateDiagnosticsForCallLike()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp54 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h166 .getCanonicalType()->getAs<ObjCObjectPointerType>()) in VisitSymbolicRegion()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td109 def ObjCObjectPointerType : TypeNode<Type>;

123