Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp47 const ObjCObjectPointerType *)
63 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE,
96 void reportGenericsBug(const ObjCObjectPointerType *From,
97 const ObjCObjectPointerType *To, ExplodedNode *N,
116 if (const auto *PointerType = dyn_cast<ObjCObjectPointerType>(Type)) { in isObjCClassType()
161 MessageExpr->getSuperType()->getAs<ObjCObjectPointerType>()) in inferReceiverType()
222 dyn_cast<ObjCObjectPointerType>(InferredType)) { in inferReceiverType()
436 const ObjCObjectPointerType *
443 const ObjCObjectPointerType *NewTy = in getBetterObjCType()
444 CastE->getType()->getAs<ObjCObjectPointerType>(); in getBetterObjCType()
[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-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCocoaConventions.cpp69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/netbsd-src/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()
830 return ctx.getObjCObjectPointerType(obj)->castAs<ObjCObjectPointerType>(); in stripObjCKindOfTypeAndQuals()
1219 QualType VisitObjCObjectPointerType(const ObjCObjectPointerType *T) { in TRIVIAL_TYPE_CLASS()
1288 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()
1431 const ObjCObjectPointerType *ptrType = in VisitAttributedType()
1432 newEquivType->getAs<ObjCObjectPointerType>(); in VisitAttributedType()
1546 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) { in getObjCSubstitutions()
[all …]
H A DASTContext.cpp5176 dyn_cast<ObjCObjectPointerType>(type.getTypePtr())) { in applyObjCProtocolQualifiers()
5216 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers()
5224 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers()
5284 if (const auto *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols()
5302 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols()
5346 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType()
5349 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType()
5363 void *Mem = Allocate(sizeof(ObjCObjectPointerType), TypeAlignment); in getObjCObjectPointerType()
5365 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType()
5831 const auto *T1OPType = T1->getAs<ObjCObjectPointerType>(); in UnwrapSimilarTypes()
[all …]
H A DExprObjC.cpp330 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
/netbsd-src/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;
6075 class ObjCObjectPointerType : public Type, public llvm::FoldingSetNode {
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>())
[all …]
/netbsd-src/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()
1368 PropertyIvarType->getAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl()
[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.cpp1770 if (auto *ObjPT = ReceiverType->getAs<ObjCObjectPointerType>()) { in CheckMessageArgumentTypes()
1961 const ObjCObjectPointerType *OPT, in LookupMethodInQualifiedType()
1976 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr()
2136 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr()
2185 return HandleExprPropertyRefExpr(T->castAs<ObjCObjectPointerType>(), in ActOnClassPropertyRefExpr()
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()
[all …]
H A DSemaDeclObjC.cpp53 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod()
79 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()
2375 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2376 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn()
2377 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2458 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam()
2459 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
[all …]
H A DSemaOverload.cpp2308 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2317 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2406 FromType->getAs<ObjCObjectPointerType>(), in IsPointerConversion()
2514 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion()
2515 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
2516 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion()
2517 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
2599 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion()
2600 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion()
3040 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion()
[all …]
/netbsd-src/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-src/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-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransforms.cpp54 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h149 .getCanonicalType()->getAs<ObjCObjectPointerType>()) in VisitSymbolicRegion()
/netbsd-src/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