| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 588 using qual_iterator = ObjCObjectPointerType::qual_iterator; 597 struct CanProxyAdaptor<ObjCObjectPointerType> 598 : public CanProxyBase<ObjCObjectPointerType> { 607 using qual_iterator = ObjCObjectPointerType::qual_iterator;
|
| H A D | ASTContext.h | 243 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes; 2967 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS, 2968 const ObjCObjectPointerType *RHS, 2971 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS, 2972 const ObjCObjectPointerType *RHS); 2975 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT, 2976 const ObjCObjectPointerType *RHSOPT); 2980 const ObjCObjectPointerType *LHSOPT, 2981 const ObjCObjectPointerType *RHSOPT, 2984 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT, [all …]
|
| H A D | BuiltinTypes.def | 230 // type is a typedef of an ObjCObjectPointerType to an 236 // 'Class' type is a typedef of an ObjCObjectPointerType to an
|
| H A D | Type.h | 2744 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const; 2745 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const; 2746 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const; 7395 class ObjCObjectPointerType : public Type, public llvm::FoldingSetNode { 7400 ObjCObjectPointerType(QualType Canonical, QualType Pointee) 7549 const ObjCObjectPointerType *stripObjCKindOfTypeAndQuals( 8138 return isa<ObjCObjectPointerType>(CanonicalType); 8159 if (const auto *OPT = getAs<ObjCObjectPointerType>()) 8165 if (const auto *OPT = getAs<ObjCObjectPointerType>()) 8171 if (const auto *OPT = getAs<ObjCObjectPointerType>()) [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaPseudoObject.cpp | 557 const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 558 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType() 576 if (const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 577 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>()) in LookupMethodInReceiverType() 851 if (const ObjCObjectPointerType *ptr in buildRValueOperation() 852 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation() 1078 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter() 1079 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter() 1177 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter() 1178 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
|
| H A D | SemaObjCProperty.cpp | 494 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension() 528 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension() 529 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension() 578 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl() 579 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl() 1241 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl() 1242 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl() 1345 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl() 1346 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl() 1348 PropertyIvarType->castAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl() [all …]
|
| H A D | SemaExprObjC.cpp | 1784 if (auto *ObjPT = ReceiverType->getAs<ObjCObjectPointerType>()) { in CheckMessageArgumentTypes() 1977 Selector Sel, const ObjCObjectPointerType *OPT, bool Instance) { in LookupMethodInQualifiedType() 1990 const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() 2148 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr() 2195 return HandleExprPropertyRefExpr(T->castAs<ObjCObjectPointerType>(), in ActOnClassPropertyRefExpr() 2519 const auto *OPT = ReceiverType->getAs<ObjCObjectPointerType>(); in checkFoundationAPI() 2983 const ObjCObjectPointerType *QClassTy in BuildInstanceMessage() 3050 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage() 3058 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage() 3194 if (const ObjCObjectPointerType * in BuildInstanceMessage() [all …]
|
| H A D | SemaObjC.cpp | 143 const ObjCObjectPointerType *pointerType = in CheckObjCForCollectionOperand() 144 collection->getType()->getAs<ObjCObjectPointerType>(); in CheckObjCForCollectionOperand() 608 if (const auto *typeArgObjC = typeArg->getAs<ObjCObjectPointerType>()) { in applyObjCTypeArgs() 619 const auto *boundObjC = bound->castAs<ObjCObjectPointerType>(); in applyObjCTypeArgs() 1490 const auto *PT = T->getAs<ObjCObjectPointerType>(); in isNSStringType() 1529 if (!VD->getType()->getAs<ObjCObjectPointerType>()) { in checkIBOutletCommon() 1535 if (!PD->getType()->getAs<ObjCObjectPointerType>()) { in checkIBOutletCommon() 2334 ICE->getSubExpr()->getType()->getAs<ObjCObjectPointerType>()) in checkCollectionLiteralElement() 2340 if (ElementType->getAs<ObjCObjectPointerType>() && in checkCollectionLiteralElement() 2361 const auto *TargetObjCPtr = TargetType->getAs<ObjCObjectPointerType>(); in checkArrayLiteral() [all …]
|
| H A D | SemaExprMember.cpp | 525 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl() 1235 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType() 1236 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1252 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1311 else if (const ObjCObjectPointerType *Ptr = in LookupMemberExpr() 1312 BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr() 1533 const ObjCObjectPointerType *OPT; in LookupMemberExpr() 1534 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
|
| H A D | SemaDeclObjC.cpp | 57 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod() 83 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod() 2311 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable() 2312 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable() 2405 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn() 2406 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 2407 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn() 2408 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 2487 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam() 2488 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam() [all …]
|
| H A D | SemaSwift.cpp | 111 if (const auto *OPT = Pointee->getAs<ObjCObjectPointerType>()) in isErrorParameter() 250 if (const auto *ObjCPtrTy = Param->getAs<ObjCObjectPointerType>()) { in checkSwiftAsyncErrorBlock()
|
| H A D | SemaOverload.cpp | 2695 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2704 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2777 FromType->castAs<ObjCObjectPointerType>(), ToPointeeType, ToType, in IsPointerConversion() 2881 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion() 2882 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2883 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion() 2884 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2966 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2967 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 3362 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() [all …]
|
| H A D | MultiplexExternalSemaSource.cpp | 326 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 708 if (const auto *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType() 764 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType() 787 const auto *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType() 910 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals() 916 return ctx.getObjCObjectPointerType(obj)->castAs<ObjCObjectPointerType>(); in stripObjCKindOfTypeAndQuals() 1314 QualType VisitObjCObjectPointerType(const ObjCObjectPointerType *T) { in TRIVIAL_TYPE_CLASS() 1383 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType() 1526 const ObjCObjectPointerType *ptrType = in VisitAttributedType() 1527 newEquivType->getAs<ObjCObjectPointerType>(); in VisitAttributedType() 1675 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) { in getObjCSubstitutions() [all …]
|
| H A D | ExprObjC.cpp | 317 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in getReceiverInterface()
|
| H A D | ASTContext.cpp | 5791 dyn_cast<ObjCObjectPointerType>(type.getTypePtr())) { in applyObjCProtocolQualifiers() 5831 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers() 5839 const auto *objPtr = type->castAs<ObjCObjectPointerType>(); in applyObjCProtocolQualifiers() 5899 if (const auto *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols() 5917 const auto *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols() 5961 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType() 5964 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType() 5979 Allocate(sizeof(ObjCObjectPointerType), alignof(ObjCObjectPointerType)); in getObjCObjectPointerType() 5981 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType() 6576 const auto *T1OPType = T1->getAs<ObjCObjectPointerType>(); in UnwrapSimilarTypes() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ExternalSemaSource.h | 215 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
| H A D | MultiplexExternalSemaSource.h | 348 const ObjCObjectPointerType *OPT) override;
|
| H A D | SemaObjC.h | 646 ExprResult HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, 807 const ObjCObjectPointerType *OPT,
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonnullGlobalConstantsChecker.cpp | 141 if (auto *T = dyn_cast<ObjCObjectPointerType>(Ty)) { in isNonnullType()
|
| H A D | BasicObjCFoundationChecks.cpp | 836 const ObjCObjectPointerType *PT = T->getAs<ObjCObjectPointerType>(); in isKnownNonNilCollectionType()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 273 if (!isa<ObjCObjectPointerType>(T)) { in generateDiagnosticsForCallLike() 276 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); in generateDiagnosticsForCallLike()
|
| /freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 55 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 111 def ObjCObjectPointerType : TypeNode<Type>;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 2564 llvm::cast<clang::ObjCObjectPointerType>(qual_type.getTypePtr()) in GetDeclContextForType() 3267 llvm::cast<clang::ObjCObjectPointerType>(qual_type) in IsPointerType() 3320 llvm::cast<clang::ObjCObjectPointerType>(qual_type) in IsPointerOrReferenceType() 3472 const clang::ObjCObjectPointerType *obj_pointer_type = in IsObjCClassType() 3473 llvm::dyn_cast<clang::ObjCObjectPointerType>(qual_type); in IsObjCClassType() 3570 llvm::cast<clang::ObjCObjectPointerType>(qual_type) in IsPossibleDynamicType() 3742 const clang::ObjCObjectPointerType *obj_pointer_type = in IsObjCObjectPointerType() 3743 llvm::dyn_cast<clang::ObjCObjectPointerType>(qual_type); in IsObjCObjectPointerType() 4382 const clang::ObjCObjectPointerType *objc_class_type = in GetNumMemberFunctions() 4383 qual_type->castAs<clang::ObjCObjectPointerType>(); in GetNumMemberFunctions() [all …]
|