Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp436 const ObjCObjectPointerType *
443 const ObjCObjectPointerType *NewTy = in getBetterObjCType()
451 const ObjCObjectPointerType *OldTy = in getBetterObjCType()
452 OldDTy->getAs<ObjCObjectPointerType>(); in getBetterObjCType()
470 const ObjCObjectPointerType *From, const ObjCObjectPointerType *To, in getMostInformativeDerivedClassImpl()
514 static const ObjCObjectPointerType *
575 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative()
589 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative()
600 const ObjCObjectPointerType *WithMostInfo = in storeWhenMoreInformative()
648 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/freebsd-13.1/contrib/llvm-project/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()
824 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
1431 const ObjCObjectPointerType *ptrType = in VisitAttributedType()
1432 newEquivType->getAs<ObjCObjectPointerType>(); in VisitAttributedType()
1705 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedIdType()
1715 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedClassType()
1731 if (const auto *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCInterfacePointerType()
2159 } else if (isa<ObjCObjectPointerType>(T)) { in getScalarTypeKind()
[all …]
H A DASTContext.cpp5317 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols()
5361 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType()
5364 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType()
5380 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType()
7690 const auto *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl()
8806 const ObjCObjectPointerType *lhs, const ObjCObjectPointerType *rhs) { in ObjCQualifiedClassTypesAreCompatible()
8824 const ObjCObjectPointerType *lhs, const ObjCObjectPointerType *rhs, in ObjCQualifiedIdTypesAreCompatible()
9128 const auto *lhsOPT = lhs->getAs<ObjCObjectPointerType>(); in canAssignObjCObjectTypes()
9187 const ObjCObjectPointerType *Lptr, in areCommonBaseCompatible()
9188 const ObjCObjectPointerType *Rptr) { in areCommonBaseCompatible()
[all …]
H A DExprObjC.cpp330 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
/freebsd-13.1/contrib/llvm-project/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.h235 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2730 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2731 const ObjCObjectPointerType *RHS,
2734 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2735 const ObjCObjectPointerType *RHS);
2738 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2739 const ObjCObjectPointerType *RHSOPT);
2743 const ObjCObjectPointerType *LHSOPT,
2744 const ObjCObjectPointerType *RHSOPT,
2747 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
[all …]
H A DBuiltinTypes.def227 // type is a typedef of an ObjCObjectPointerType to an
233 // 'Class' type is a typedef of an ObjCObjectPointerType to an
H A DType.h2240 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const;
2241 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const;
2242 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const;
6080 ObjCObjectPointerType(QualType Canonical, QualType Pointee)
6229 const ObjCObjectPointerType *stripObjCKindOfTypeAndQuals(
6798 return isa<ObjCObjectPointerType>(CanonicalType);
6819 if (const auto *OPT = getAs<ObjCObjectPointerType>())
6825 if (const auto *OPT = getAs<ObjCObjectPointerType>())
6831 if (const auto *OPT = getAs<ObjCObjectPointerType>())
6837 if (const auto *OPT = getAs<ObjCObjectPointerType>())
[all …]
/freebsd-13.1/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()
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.cpp447 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl()
1190 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType()
1191 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1207 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1268 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr()
1269 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr()
1471 const ObjCObjectPointerType *OPT; in LookupMemberExpr()
1472 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()
4026 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()
2276 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable()
2277 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable()
2374 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn()
2376 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn()
2458 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam()
2459 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
2460 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideParam()
2461 IfaceTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
3699 else if (const ObjCObjectPointerType *ObjCPtr = in SelectorsForTypoCorrection()
[all …]
H A DSemaOverload.cpp2308 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2317 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2514 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion()
2515 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
2516 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion()
2517 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
4344 const ObjCObjectPointerType *FromPtr1 in CompareDerivedToBaseConversions()
4346 const ObjCObjectPointerType *FromPtr2 in CompareDerivedToBaseConversions()
4348 const ObjCObjectPointerType *ToPtr1 in CompareDerivedToBaseConversions()
4350 const ObjCObjectPointerType *ToPtr2 in CompareDerivedToBaseConversions()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DExternalSemaSource.h217 const ObjCObjectPointerType *OPT) { in CorrectTypo()
H A DMultiplexExternalSemaSource.h349 const ObjCObjectPointerType *OPT) override;
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp278 if (!isa<ObjCObjectPointerType>(T)) { in generateDiagnosticsForCallLike()
281 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); in generateDiagnosticsForCallLike()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp54 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h149 .getCanonicalType()->getAs<ObjCObjectPointerType>()) in VisitSymbolicRegion()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td107 def ObjCObjectPointerType : TypeNode<Type>;

123