Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp48 const ObjCObjectPointerType *)
61 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE,
94 void reportGenericsBug(const ObjCObjectPointerType *From,
95 const ObjCObjectPointerType *To, ExplodedNode *N,
114 if (const auto *PointerType = dyn_cast<ObjCObjectPointerType>(Type)) { in isObjCClassType()
159 MessageExpr->getSuperType()->getAs<ObjCObjectPointerType>()) in inferReceiverType()
220 dyn_cast<ObjCObjectPointerType>(InferredType)) { in inferReceiverType()
434 const ObjCObjectPointerType *
441 const ObjCObjectPointerType *NewTy = in getBetterObjCType()
442 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.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()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCocoaConventions.cpp69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/openbsd-src/gnu/llvm/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.h231 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2847 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2848 const ObjCObjectPointerType *RHS,
2851 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2852 const ObjCObjectPointerType *RHS);
2855 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2856 const ObjCObjectPointerType *RHSOPT);
2860 const ObjCObjectPointerType *LHSOPT,
2861 const ObjCObjectPointerType *RHSOPT,
2864 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.h2380 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const;
2381 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const;
2382 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const;
6281 class ObjCObjectPointerType : public Type, public llvm::FoldingSetNode {
6286 ObjCObjectPointerType(QualType Canonical, QualType Pointee)
6435 const ObjCObjectPointerType *stripObjCKindOfTypeAndQuals(
7023 return isa<ObjCObjectPointerType>(CanonicalType);
7044 if (const auto *OPT = getAs<ObjCObjectPointerType>())
7050 if (const auto *OPT = getAs<ObjCObjectPointerType>())
7056 if (const auto *OPT = getAs<ObjCObjectPointerType>())
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp632 if (const auto *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType()
688 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType()
711 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType()
834 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
840 return ctx.getObjCObjectPointerType(obj)->castAs<ObjCObjectPointerType>(); in stripObjCKindOfTypeAndQuals()
1230 QualType VisitObjCObjectPointerType(const ObjCObjectPointerType *T) { in TRIVIAL_TYPE_CLASS()
1299 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()
1442 const ObjCObjectPointerType *ptrType = in VisitAttributedType()
1443 newEquivType->getAs<ObjCObjectPointerType>(); in VisitAttributedType()
1576 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) { in getObjCSubstitutions()
[all …]
H A DExprObjC.cpp317 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
H A DASTContext.cpp5396 dyn_cast<ObjCObjectPointerType>(type.getTypePtr())) { in applyObjCProtocolQualifiers()
5436 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers()
5444 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers()
5504 if (const auto *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols()
5522 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols()
5566 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType()
5569 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType()
5583 void *Mem = Allocate(sizeof(ObjCObjectPointerType), TypeAlignment); in getObjCObjectPointerType()
5585 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType()
6118 const auto *T1OPType = T1->getAs<ObjCObjectPointerType>(); in UnwrapSimilarTypes()
[all …]
/openbsd-src/gnu/llvm/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.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.cpp1768 if (auto *ObjPT = ReceiverType->getAs<ObjCObjectPointerType>()) { in CheckMessageArgumentTypes()
1959 const ObjCObjectPointerType *OPT, in LookupMethodInQualifiedType()
1974 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr()
2134 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr()
2183 return HandleExprPropertyRefExpr(T->castAs<ObjCObjectPointerType>(), in ActOnClassPropertyRefExpr()
2505 const auto *OPT = ReceiverType->getAs<ObjCObjectPointerType>(); in checkFoundationAPI()
2974 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage()
3042 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage()
3050 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage()
3184 if (const ObjCObjectPointerType * in BuildInstanceMessage()
[all …]
H A DSemaDeclObjC.cpp53 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod()
79 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()
2398 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2399 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn()
2400 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2479 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam()
2480 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam()
[all …]
H A DSemaOverload.cpp2417 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2426 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType()
2515 FromType->castAs<ObjCObjectPointerType>(), ToPointeeType, ToType, in IsPointerConversion()
2622 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion()
2623 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
2624 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion()
2625 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion()
2707 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion()
2708 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion()
3154 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DExternalSemaSource.h215 const ObjCObjectPointerType *OPT) { in CorrectTypo()
H A DMultiplexExternalSemaSource.h348 const ObjCObjectPointerType *OPT) override;
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp273 if (!isa<ObjCObjectPointerType>(T)) { in generateDiagnosticsForCallLike()
276 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); in generateDiagnosticsForCallLike()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransforms.cpp54 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h166 .getCanonicalType()->getAs<ObjCObjectPointerType>()) in VisitSymbolicRegion()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndexCodeCompletion.cpp620 else if (const ObjCObjectPointerType *ObjPtr = in ProcessCodeCompleteResults()
621 baseType->getAs<ObjCObjectPointerType>()) in ProcessCodeCompleteResults()

1234