| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 36 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE, 246 const ObjCObjectPointerType * 253 const ObjCObjectPointerType *NewTy = in getBetterObjCType() 254 CastE->getType()->getAs<ObjCObjectPointerType>(); in getBetterObjCType() 261 const ObjCObjectPointerType *OldTy = in getBetterObjCType() 262 OldDTy->getAs<ObjCObjectPointerType>(); in getBetterObjCType()
|
| H A D | NSErrorChecker.cpp | 288 const ObjCObjectPointerType* PT = in IsNSError() 289 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
|
| H A D | IvarInvalidationChecker.cpp | 287 const ObjCObjectPointerType *IvTy = IvQTy->getAs<ObjCObjectPointerType>(); in trackIvar()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | Type.cpp | 420 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType() 500 const ObjCObjectPointerType *Type::getAsObjCQualifiedIdType() const { in getAsObjCQualifiedIdType() 503 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedIdType() 510 const ObjCObjectPointerType *Type::getAsObjCQualifiedClassType() const { in getAsObjCQualifiedClassType() 513 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedClassType() 520 const ObjCObjectPointerType *Type::getAsObjCInterfacePointerType() const { in getAsObjCInterfacePointerType() 521 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCInterfacePointerType() 857 } else if (isa<ObjCObjectPointerType>(T)) { in getScalarTypeKind() 2239 return Cache::get(cast<ObjCObjectPointerType>(T)->getPointeeType()); in computeCachedProperties() 2321 return computeLinkageInfo(cast<ObjCObjectPointerType>(T)->getPointeeType()); in computeLinkageInfo() [all …]
|
| H A D | ASTContext.cpp | 3594 if (const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols() 3612 const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols() 3656 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType() 3659 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType() 3673 void *Mem = Allocate(sizeof(ObjCObjectPointerType), TypeAlignment); in getObjCObjectPointerType() 3674 ObjCObjectPointerType *QType = in getObjCObjectPointerType() 3675 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType() 4037 const ObjCObjectPointerType *T1OPType = T1->getAs<ObjCObjectPointerType>(), in UnwrapSimilarPointerTypes() 4038 *T2OPType = T2->getAs<ObjCObjectPointerType>(); in UnwrapSimilarPointerTypes() 5561 const ObjCObjectPointerType *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 409 if (!isa<ObjCObjectPointerType>(PIDecl->getType()) || in HandlePropertyInClassExtension() 410 !isa<ObjCObjectPointerType>(PDecl->getType()) || in HandlePropertyInClassExtension() 438 if (isa<ObjCObjectPointerType>(PrimaryPropertyQT)) { in HandlePropertyInClassExtension() 541 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl() 542 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl() 999 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl() 1000 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl() 1065 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl() 1066 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl() 1069 PropertyIvarType->getAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl() [all …]
|
| H A D | SemaPseudoObject.cpp | 513 const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 514 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType() 532 if (const ObjCObjectPointerType *PT = in LookupMethodInReceiverType() 533 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>()) in LookupMethodInReceiverType() 824 if (const ObjCObjectPointerType *ptr in buildRValueOperation() 825 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation() 1123 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter() 1124 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter() 1232 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter() 1233 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
|
| H A D | SemaExprMember.cpp | 398 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl() 1126 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType() 1127 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1143 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1203 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr() 1204 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr() 1397 const ObjCObjectPointerType *OPT; in LookupMemberExpr() 1398 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
|
| H A D | SemaDeclObjC.cpp | 52 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod() 78 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod() 1308 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable() 1309 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable() 1380 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn() 1381 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 1382 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn() 1383 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 1450 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam() 1451 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam() [all …]
|
| H A D | SemaOverload.cpp | 1922 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 1931 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2020 FromType->getAs<ObjCObjectPointerType>(), in IsPointerConversion() 2129 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion() 2130 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2131 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion() 2132 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2230 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2231 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2627 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() [all …]
|
| H A D | SemaExprObjC.cpp | 1338 ReceiverType->getAs<ObjCObjectPointerType>()->getInterfaceDecl()) { in CheckMessageArgumentTypes() 1498 const ObjCObjectPointerType *OPT, in LookupMethodInQualifiedType() 1571 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr() 1712 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr() 2464 if (const ObjCObjectPointerType *QClassTy in BuildInstanceMessage() 2523 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage() 2531 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage() 2605 if (const ObjCObjectPointerType * in BuildInstanceMessage() 3419 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeNSCast() 3480 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeCFCast() [all …]
|
| H A D | MultiplexExternalSemaSource.cpp | 294 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
| H A D | SemaExpr.cpp | 3849 << op->getType()->castAs<ObjCObjectPointerType>()->getPointeeType() in checkArithmeticOnObjCPointer() 3941 } else if (const ObjCObjectPointerType *PTy = in CreateBuiltinArraySubscriptExpr() 3942 LHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr() 3958 } else if (const ObjCObjectPointerType *PTy = in CreateBuiltinArraySubscriptExpr() 3959 RHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr() 5669 const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>(); in isObjCPtrBlockCompatible() 5947 const ObjCObjectPointerType *LHSOPT = LHSTy->castAs<ObjCObjectPointerType>(); in FindCompositeObjCPointerType() 5948 const ObjCObjectPointerType *RHSOPT = RHSTy->castAs<ObjCObjectPointerType>(); in FindCompositeObjCPointerType() 6006 QualType rhptee = RHSTy->getAs<ObjCObjectPointerType>()->getPointeeType(); in FindCompositeObjCPointerType() 6025 QualType lhptee = LHSTy->getAs<ObjCObjectPointerType>()->getPointeeType(); in FindCompositeObjCPointerType() [all …]
|
| H A D | SemaCodeComplete.cpp | 3607 const ObjCObjectPointerType *ObjCPtr in CodeCompleteMemberReferenceExpr() 3622 if (const ObjCObjectPointerType *ObjCPtr in CodeCompleteMemberReferenceExpr() 3623 = BaseType->getAs<ObjCObjectPointerType>()) in CodeCompleteMemberReferenceExpr() 5054 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>()) in GetAssumedMessageSendExprType() 5538 else if (const ObjCObjectPointerType *QualID in CodeCompleteObjCInstanceMessage() 5546 else if (const ObjCObjectPointerType *IFacePtr in CodeCompleteObjCInstanceMessage() 6288 if (const ObjCObjectPointerType *ObjCPointer in AddObjCKeyValueCompletions() 6289 = Property->getType()->getAs<ObjCObjectPointerType>()) { in AddObjCKeyValueCompletions() 6362 ReturnType->getAs<ObjCObjectPointerType>()->getInterfaceDecl() && in AddObjCKeyValueCompletions() 6363 ReturnType->getAs<ObjCObjectPointerType>()->getInterfaceDecl() in AddObjCKeyValueCompletions() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 640 typedef ObjCObjectPointerType::qual_iterator qual_iterator; 648 struct CanProxyAdaptor<ObjCObjectPointerType> 649 : public CanProxyBase<ObjCObjectPointerType> { 658 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
|
| H A D | ASTContext.h | 128 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes; 2038 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT, 2039 const ObjCObjectPointerType *RHSOPT); 2043 const ObjCObjectPointerType *LHSOPT, 2044 const ObjCObjectPointerType *RHSOPT, 2047 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT, 2048 const ObjCObjectPointerType *RHSOPT);
|
| H A D | Type.h | 1700 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const; 1701 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const; 1702 const ObjCObjectPointerType *getAsObjCQualifiedClassType() const; 4528 class ObjCObjectPointerType : public Type, public llvm::FoldingSetNode { 4531 ObjCObjectPointerType(QualType Canonical, QualType Pointee) 5005 return isa<ObjCObjectPointerType>(CanonicalType); 5019 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) 5024 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) 5029 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) 5034 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) [all …]
|
| H A D | BuiltinTypes.def | 142 // type is a typedef of an ObjCObjectPointerType to an 148 // 'Class' type is a typedef of an ObjCObjectPointerType to an
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Sema/ |
| H A D | ExternalSemaSource.h | 217 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
| H A D | MultiplexExternalSemaSource.h | 358 const ObjCObjectPointerType *OPT) override;
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 789 const ObjCObjectPointerType *ReceiverT = nullptr; in getRuntimeDefinition() 797 ReceiverT = cast<ObjCObjectPointerType>(SupersType); in getRuntimeDefinition() 806 ReceiverT = dyn_cast<ObjCObjectPointerType>(DynType); in getRuntimeDefinition()
|
| /minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 57 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
|
| /minix3/external/bsd/llvm/dist/clang/unittests/Sema/ |
| H A D | ExternalSemaSourceTest.cpp | 109 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
| /minix3/external/bsd/llvm/dist/clang/tools/libclang/ |
| H A D | CIndexCodeCompletion.cpp | 585 else if (const ObjCObjectPointerType *ObjPtr = in ProcessCodeCompleteResults() 586 baseType->getAs<ObjCObjectPointerType>()) in ProcessCodeCompleteResults()
|