Home
last modified time | relevance | path

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

123

/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCocoaConventions.cpp69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/netbsd/external/apache2/llvm/dist/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()
2156 } else if (isa<ObjCObjectPointerType>(T)) { in getScalarTypeKind()
[all …]
H A DASTContext.cpp5302 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols()
5346 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType()
5349 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType()
5365 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType()
7671 const auto *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl()
8772 const ObjCObjectPointerType *lhs, const ObjCObjectPointerType *rhs) { in ObjCQualifiedClassTypesAreCompatible()
8790 const ObjCObjectPointerType *lhs, const ObjCObjectPointerType *rhs, in ObjCQualifiedIdTypesAreCompatible()
9094 const auto *lhsOPT = lhs->getAs<ObjCObjectPointerType>(); in canAssignObjCObjectTypes()
9153 const ObjCObjectPointerType *Lptr, in areCommonBaseCompatible()
9154 const ObjCObjectPointerType *Rptr) { in areCommonBaseCompatible()
[all …]
H A DExprObjC.cpp330 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
/netbsd/external/apache2/llvm/dist/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.h234 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2679 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2680 const ObjCObjectPointerType *RHS,
2683 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2684 const ObjCObjectPointerType *RHS);
2687 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2688 const ObjCObjectPointerType *RHSOPT);
2692 const ObjCObjectPointerType *LHSOPT,
2693 const ObjCObjectPointerType *RHSOPT,
2696 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 …]
/netbsd/external/apache2/llvm/dist/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()
1720 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.cpp446 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl()
1189 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType()
1190 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1206 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1267 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr()
1268 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr()
1470 const ObjCObjectPointerType *OPT; in LookupMemberExpr()
1471 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 …]
/netbsd/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DExternalSemaSource.h217 const ObjCObjectPointerType *OPT) { in CorrectTypo()
H A DMultiplexExternalSemaSource.h349 const ObjCObjectPointerType *OPT) override;
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp278 if (!isa<ObjCObjectPointerType>(T)) { in generateDiagnosticsForCallLike()
281 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); in generateDiagnosticsForCallLike()
/netbsd/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransforms.cpp54 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h149 .getCanonicalType()->getAs<ObjCObjectPointerType>()) in VisitSymbolicRegion()
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndexCodeCompletion.cpp619 else if (const ObjCObjectPointerType *ObjPtr = in ProcessCodeCompleteResults()
620 baseType->getAs<ObjCObjectPointerType>()) in ProcessCodeCompleteResults()

123