Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/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.cpp145 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 DNSErrorChecker.cpp297 const ObjCObjectPointerType* PT = in IsNSError()
298 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
H A DNonnullGlobalConstantsChecker.cpp136 if (auto *T = dyn_cast<ObjCObjectPointerType>(Ty)) { in isNonnullType()
H A DIvarInvalidationChecker.cpp282 const ObjCObjectPointerType *IvTy = IvQTy->getAs<ObjCObjectPointerType>(); in trackIvar()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCocoaConventions.cpp69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp628 if (const auto *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType()
684 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType()
707 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType()
830 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
1437 const ObjCObjectPointerType *ptrType = in VisitAttributedType()
1438 newEquivType->getAs<ObjCObjectPointerType>(); in VisitAttributedType()
1711 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedIdType()
1721 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedClassType()
1737 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCInterfacePointerType()
2183 } else if (isa<ObjCObjectPointerType>(T)) { in getScalarTypeKind()
[all …]
H A DExprObjC.cpp317 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
H A DASTContext.cpp5469 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols()
5513 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType()
5516 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType()
5532 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType()
8319 const auto *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl()
9437 const ObjCObjectPointerType *lhs, const ObjCObjectPointerType *rhs) { in ObjCQualifiedClassTypesAreCompatible()
9455 const ObjCObjectPointerType *lhs, const ObjCObjectPointerType *rhs, in ObjCQualifiedIdTypesAreCompatible()
9755 const auto *lhsOPT = lhs->getAs<ObjCObjectPointerType>(); in canAssignObjCObjectTypes()
9814 const ObjCObjectPointerType *Lptr, in areCommonBaseCompatible()
9815 const ObjCObjectPointerType *Rptr) { in areCommonBaseCompatible()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h589 using qual_iterator = ObjCObjectPointerType::qual_iterator;
598 struct CanProxyAdaptor<ObjCObjectPointerType>
599 : public CanProxyBase<ObjCObjectPointerType> {
608 using qual_iterator = ObjCObjectPointerType::qual_iterator;
H A DASTContext.h257 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2834 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2835 const ObjCObjectPointerType *RHS,
2838 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2839 const ObjCObjectPointerType *RHS);
2842 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2843 const ObjCObjectPointerType *RHSOPT);
2847 const ObjCObjectPointerType *LHSOPT,
2848 const ObjCObjectPointerType *RHSOPT,
2851 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
/llvm-project-15.0.7/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()
1260 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl()
1364 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl()
1365 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl()
1719 const ObjCObjectPointerType *propertyObjCPtr = nullptr; in DiagnosePropertyAccessorMismatch()
[all …]
H A DSemaPseudoObject.cpp550 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 DSemaExprMember.cpp449 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 DSemaExprObjC.cpp1976 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr()
2136 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr()
2507 const auto *OPT = ReceiverType->getAs<ObjCObjectPointerType>(); in checkFoundationAPI()
2978 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage()
3046 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage()
3054 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage()
3188 if (const ObjCObjectPointerType * in BuildInstanceMessage()
4025 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeNSCast()
4592 if (isa<ObjCObjectPointerType>(canCastType) && in CheckObjCARCUnavailableWeakConversion()
4595 if (const ObjCObjectPointerType *ObjT = in CheckObjCARCUnavailableWeakConversion()
[all …]
H A DSemaDeclObjC.cpp79 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod()
2289 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable()
2290 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable()
2387 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn()
2389 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn()
2471 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam()
2472 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
2473 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideParam()
2474 IfaceTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
3707 else if (const ObjCObjectPointerType *ObjCPtr = in SelectorsForTypoCorrection()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DIncludeFixer.h111 const ObjCObjectPointerType *OPT) override;
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DExternalSemaSource.h215 const ObjCObjectPointerType *OPT) { in CorrectTypo()
H A DMultiplexExternalSemaSource.h349 const ObjCObjectPointerType *OPT) override;
/llvm-project-15.0.7/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp111 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
153 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp273 if (!isa<ObjCObjectPointerType>(T)) { in generateDiagnosticsForCallLike()
276 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); in generateDiagnosticsForCallLike()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransforms.cpp54 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DMemberwiseConstructor.cpp153 FieldAction VisitObjCObjectPointerType(const ObjCObjectPointerType *) { in considerField() argument
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DFixItHintUtils.cpp32 isa<MemberPointerType>(T) || isa<ObjCObjectPointerType>(T)); in isValueType()

1234