/external/clang/lib/StaticAnalyzer/Checkers/ |
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()
|
D | NSErrorChecker.cpp | 288 const ObjCObjectPointerType* PT = in IsNSError() 289 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
|
D | IvarInvalidationChecker.cpp | 287 const ObjCObjectPointerType *IvTy = IvQTy->getAs<ObjCObjectPointerType>(); in trackIvar()
|
/external/clang/lib/Analysis/ |
D | CocoaConventions.cpp | 63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
|
/external/clang/lib/AST/ |
D | Type.cpp | 412 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType() 492 const ObjCObjectPointerType *Type::getAsObjCQualifiedIdType() const { in getAsObjCQualifiedIdType() 495 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedIdType() 502 const ObjCObjectPointerType *Type::getAsObjCQualifiedClassType() const { in getAsObjCQualifiedClassType() 505 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCQualifiedClassType() 512 const ObjCObjectPointerType *Type::getAsObjCInterfacePointerType() const { in getAsObjCInterfacePointerType() 513 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) { in getAsObjCInterfacePointerType() 850 } else if (isa<ObjCObjectPointerType>(T)) { in getScalarTypeKind() 2232 return Cache::get(cast<ObjCObjectPointerType>(T)->getPointeeType()); in computeCachedProperties() 2314 return computeLinkageInfo(cast<ObjCObjectPointerType>(T)->getPointeeType()); in computeLinkageInfo() [all …]
|
D | ASTContext.cpp | 3616 if (const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols() 3634 const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols() 3678 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType() 3681 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType() 3695 void *Mem = Allocate(sizeof(ObjCObjectPointerType), TypeAlignment); in getObjCObjectPointerType() 3696 ObjCObjectPointerType *QType = in getObjCObjectPointerType() 3697 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType() 4059 const ObjCObjectPointerType *T1OPType = T1->getAs<ObjCObjectPointerType>(), in UnwrapSimilarPointerTypes() 4060 *T2OPType = T2->getAs<ObjCObjectPointerType>(); in UnwrapSimilarPointerTypes() 5596 const ObjCObjectPointerType *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl() [all …]
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 567 typedef ObjCObjectPointerType::qual_iterator qual_iterator; 575 struct CanProxyAdaptor<ObjCObjectPointerType> 576 : public CanProxyBase<ObjCObjectPointerType> { 585 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
|
D | ASTContext.h | 128 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes; 2042 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT, 2043 const ObjCObjectPointerType *RHSOPT); 2047 const ObjCObjectPointerType *LHSOPT, 2048 const ObjCObjectPointerType *RHSOPT, 2051 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT, 2052 const ObjCObjectPointerType *RHSOPT);
|
D | Type.h | 1701 const ObjCObjectPointerType *getAsObjCInterfacePointerType() const; 1702 const ObjCObjectPointerType *getAsObjCQualifiedIdType() const; 1703 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 …]
|
D | BuiltinTypes.def | 142 // type is a typedef of an ObjCObjectPointerType to an 148 // 'Class' type is a typedef of an ObjCObjectPointerType to an
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 412 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension() 413 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension() 441 if (isa<ObjCObjectPointerType>(PrimaryPropertyQT)) { in HandlePropertyInClassExtension() 544 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl() 545 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl() 1002 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl() 1003 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl() 1068 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl() 1069 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl() 1072 PropertyIvarType->getAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl() [all …]
|
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() 1119 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter() 1120 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter() 1228 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter() 1229 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
|
D | SemaExprMember.cpp | 414 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl() 1140 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType() 1141 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1157 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType() 1217 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr() 1218 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr() 1411 const ObjCObjectPointerType *OPT; in LookupMemberExpr() 1412 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
|
D | SemaDeclObjC.cpp | 52 method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType(); in checkInitMethod() 78 receiverClass = receiverTypeIfCall->castAs<ObjCObjectPointerType>() in checkInitMethod() 1307 const ObjCObjectPointerType *A, in isObjCTypeSubstitutable() 1308 const ObjCObjectPointerType *B, in isObjCTypeSubstitutable() 1379 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideReturn() 1380 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 1381 if (const ObjCObjectPointerType *IfacePtrTy = in CheckMethodOverrideReturn() 1382 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn() 1449 if (const ObjCObjectPointerType *ImplPtrTy = in CheckMethodOverrideParam() 1450 ImplTy->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideParam() [all …]
|
D | SemaOverload.cpp | 1936 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 1945 if (isa<ObjCObjectPointerType>(ToType)) in BuildSimilarlyQualifiedPointerType() 2034 FromType->getAs<ObjCObjectPointerType>(), in IsPointerConversion() 2143 const ObjCObjectPointerType* ToObjCPtr = in isObjCPointerConversion() 2144 ToType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2145 const ObjCObjectPointerType *FromObjCPtr = in isObjCPointerConversion() 2146 FromType->getAs<ObjCObjectPointerType>(); in isObjCPointerConversion() 2244 if (FromPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2245 ToPointeeType->getAs<ObjCObjectPointerType>() && in isObjCPointerConversion() 2641 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() [all …]
|
D | SemaExprObjC.cpp | 1336 ReceiverType->getAs<ObjCObjectPointerType>()->getInterfaceDecl()) { in CheckMessageArgumentTypes() 1496 const ObjCObjectPointerType *OPT, in LookupMethodInQualifiedType() 1511 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, in HandleExprPropertyRefExpr() 1652 if (const ObjCObjectPointerType * OBJPT = in HandleExprPropertyRefExpr() 2408 if (const ObjCObjectPointerType *QClassTy in BuildInstanceMessage() 2465 if (const ObjCObjectPointerType *QIdTy in BuildInstanceMessage() 2473 } else if (const ObjCObjectPointerType *OCIType in BuildInstanceMessage() 2555 if (const ObjCObjectPointerType * in BuildInstanceMessage() 3364 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeNSCast() 3429 if (const ObjCObjectPointerType *InterfacePointerType = in CheckObjCBridgeCFCast() [all …]
|
D | SemaExpr.cpp | 3899 << op->getType()->castAs<ObjCObjectPointerType>()->getPointeeType() in checkArithmeticOnObjCPointer() 3991 } else if (const ObjCObjectPointerType *PTy = in CreateBuiltinArraySubscriptExpr() 3992 LHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr() 4008 } else if (const ObjCObjectPointerType *PTy = in CreateBuiltinArraySubscriptExpr() 4009 RHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr() 5787 const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>(); in isObjCPtrBlockCompatible() 6240 const ObjCObjectPointerType *LHSOPT = LHSTy->castAs<ObjCObjectPointerType>(); in FindCompositeObjCPointerType() 6241 const ObjCObjectPointerType *RHSOPT = RHSTy->castAs<ObjCObjectPointerType>(); in FindCompositeObjCPointerType() 6299 QualType rhptee = RHSTy->getAs<ObjCObjectPointerType>()->getPointeeType(); in FindCompositeObjCPointerType() 6318 QualType lhptee = LHSTy->getAs<ObjCObjectPointerType>()->getPointeeType(); in FindCompositeObjCPointerType() [all …]
|
D | MultiplexExternalSemaSource.cpp | 290 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
/external/clang/include/clang/Sema/ |
D | ExternalSemaSource.h | 199 const ObjCObjectPointerType *OPT) { in CorrectTypo()
|
D | MultiplexExternalSemaSource.h | 344 const ObjCObjectPointerType *OPT) override;
|
/external/lldb/source/Symbol/ |
D | ClangASTType.cpp | 467 … pointee_type->SetClangType (m_ast, cast<ObjCObjectPointerType>(qual_type)->getPointeeType()); in IsPointerType() 518 … pointee_type->SetClangType(m_ast, cast<ObjCObjectPointerType>(qual_type)->getPointeeType()); in IsPointerOrReferenceType() 668 const ObjCObjectPointerType *obj_pointer_type = dyn_cast<ObjCObjectPointerType>(qual_type); in IsObjCClassType() 740 …dynamic_pointee_type->SetClangType(m_ast, cast<ObjCObjectPointerType>(qual_type)->getPointeeType()… in IsPossibleDynamicType() 997 … const ObjCObjectPointerType *obj_pointer_type = dyn_cast<ObjCObjectPointerType>(qual_type); in IsObjCObjectPointerType() 2119 … const ObjCObjectPointerType *pointer_type = cast<ObjCObjectPointerType>(qual_type.getTypePtr()); in GetNumChildren() 2276 … const ObjCObjectPointerType *objc_class_type = qual_type->getAsObjCInterfacePointerType(); in GetNumDirectBaseClasses() 2402 … const ObjCObjectPointerType *objc_class_type = qual_type->getAsObjCInterfacePointerType(); in GetNumFields() 2477 … const ObjCObjectPointerType *objc_class_type = qual_type->getAsObjCInterfacePointerType(); in GetDirectBaseClassAtIndex() 2711 … const ObjCObjectPointerType *objc_class_type = qual_type->getAsObjCInterfacePointerType(); in GetFieldAtIndex() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
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()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 57 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { in canApplyWeak()
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 108 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 579 else if (const ObjCObjectPointerType *ObjPtr = in ProcessCodeCompleteResults() 580 baseType->getAs<ObjCObjectPointerType>()) in ProcessCodeCompleteResults()
|