Home
last modified time | relevance | path

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

123456

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
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 …]
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()
DNSErrorChecker.cpp297 const ObjCObjectPointerType* PT = in IsNSError()
298 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
DNonnullGlobalConstantsChecker.cpp136 if (auto *T = dyn_cast<ObjCObjectPointerType>(Ty)) { in isNonnullType()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp47 const ObjCObjectPointerType *)
62 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE,
96 void reportGenericsBug(const ObjCObjectPointerType *From,
97 const ObjCObjectPointerType *To, ExplodedNode *N,
345 const ObjCObjectPointerType *
352 const ObjCObjectPointerType *NewTy = in getBetterObjCType()
353 CastE->getType()->getAs<ObjCObjectPointerType>(); in getBetterObjCType()
360 const ObjCObjectPointerType *OldTy = in getBetterObjCType()
361 OldDTy->getAs<ObjCObjectPointerType>(); in getBetterObjCType()
378 static const ObjCObjectPointerType *getMostInformativeDerivedClassImpl( in getMostInformativeDerivedClassImpl()
[all …]
DDynamicTypeChecker.cpp154 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition()
182 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
183 const auto *StaticObjCType = StaticType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
DNSErrorChecker.cpp287 const ObjCObjectPointerType* PT = in IsNSError()
288 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError()
/external/clang/lib/Analysis/
DCocoaConventions.cpp63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/external/llvm-project/clang/lib/Analysis/
DCocoaConventions.cpp69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef()
/external/clang/lib/AST/
DType.cpp418 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) in getPointeeType()
474 const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>(); in isObjCIdOrObjectKindOfType()
497 const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>(); in isObjCClassOrClassKindOfType()
644 const ObjCObjectPointerType *ObjCObjectPointerType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
650 return ctx.getObjCObjectPointerType(obj)->castAs<ObjCObjectPointerType>(); in stripObjCKindOfTypeAndQuals()
1011 QualType VisitObjCObjectPointerType(const ObjCObjectPointerType *T) { in TRIVIAL_TYPE_CLASS()
1096 ->castAs<ObjCObjectPointerType>(); in substObjCTypeArgs()
1322 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) { in getObjCSubstitutions()
1446 const ObjCInterfaceType *ObjCObjectPointerType::getInterfaceType() const { in getInterfaceType()
1455 QualType ObjCObjectPointerType::getSuperClassType() const { in getSuperClassType()
[all …]
DASTContext.cpp3809 if (const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>()) { in ObjCObjectAdoptsQTypeProtocols()
3827 const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>(); in QIdProtocolsAdoptObjCObjectProtocols()
3871 ObjCObjectPointerType::Profile(ID, ObjectT); in getObjCObjectPointerType()
3874 if (ObjCObjectPointerType *QT = in getObjCObjectPointerType()
3888 void *Mem = Allocate(sizeof(ObjCObjectPointerType), TypeAlignment); in getObjCObjectPointerType()
3889 ObjCObjectPointerType *QType = in getObjCObjectPointerType()
3890 new (Mem) ObjCObjectPointerType(Canonical, ObjectT); in getObjCObjectPointerType()
4273 const ObjCObjectPointerType *T1OPType = T1->getAs<ObjCObjectPointerType>(), in UnwrapSimilarPointerTypes()
4274 *T2OPType = T2->getAs<ObjCObjectPointerType>(); in UnwrapSimilarPointerTypes()
5854 const ObjCObjectPointerType *OPT = T->castAs<ObjCObjectPointerType>(); in getObjCEncodingForTypeImpl()
[all …]
/external/clang/include/clang/AST/
DCanonicalType.h570 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
578 struct CanProxyAdaptor<ObjCObjectPointerType>
579 : public CanProxyBase<ObjCObjectPointerType> {
588 typedef ObjCObjectPointerType::qual_iterator qual_iterator;
/external/llvm-project/clang/lib/AST/
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 …]
/external/llvm-project/clang/include/clang/AST/
DCanonicalType.h589 using qual_iterator = ObjCObjectPointerType::qual_iterator;
598 struct CanProxyAdaptor<ObjCObjectPointerType>
599 : public CanProxyBase<ObjCObjectPointerType> {
608 using qual_iterator = ObjCObjectPointerType::qual_iterator;
DASTContext.h231 mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
2638 bool ObjCQualifiedIdTypesAreCompatible(const ObjCObjectPointerType *LHS,
2639 const ObjCObjectPointerType *RHS,
2642 bool ObjCQualifiedClassTypesAreCompatible(const ObjCObjectPointerType *LHS,
2643 const ObjCObjectPointerType *RHS);
2646 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2647 const ObjCObjectPointerType *RHSOPT);
2651 const ObjCObjectPointerType *LHSOPT,
2652 const ObjCObjectPointerType *RHSOPT,
2655 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
[all …]
/external/clang/lib/Sema/
DSemaObjCProperty.cpp505 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension()
538 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension()
539 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension()
592 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl()
593 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl()
1080 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl()
1081 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl()
1175 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl()
1176 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl()
1179 PropertyIvarType->getAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl()
[all …]
DSemaPseudoObject.cpp545 const ObjCObjectPointerType *PT = in LookupMethodInReceiverType()
546 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType()
564 if (const ObjCObjectPointerType *PT = in LookupMethodInReceiverType()
565 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>()) in LookupMethodInReceiverType()
837 if (const ObjCObjectPointerType *ptr in buildRValueOperation()
838 = propType->getAs<ObjCObjectPointerType>()) { in buildRValueOperation()
1140 if (const ObjCObjectPointerType *PTy = in findAtIndexGetter()
1141 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexGetter()
1246 if (const ObjCObjectPointerType *PTy = in findAtIndexSetter()
1247 BaseT->getAs<ObjCObjectPointerType>()) { in findAtIndexSetter()
DSemaExprMember.cpp426 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, in FindGetterSetterNameDecl()
1230 const ObjCObjectPointerType *opty in ShouldTryAgainWithRedefinitionType()
1231 = base.get()->getType()->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1247 opty = redef->getAs<ObjCObjectPointerType>(); in ShouldTryAgainWithRedefinitionType()
1307 else if (const ObjCObjectPointerType *Ptr in LookupMemberExpr()
1308 = BaseType->getAs<ObjCObjectPointerType>()) in LookupMemberExpr()
1504 const ObjCObjectPointerType *OPT; in LookupMemberExpr()
1505 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) { in LookupMemberExpr()
/external/llvm-project/clang/lib/Sema/
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()
DSemaObjCProperty.cpp510 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension()
544 if (!isa<ObjCObjectPointerType>(PrimaryClassPropertyT) || in HandlePropertyInClassExtension()
545 !isa<ObjCObjectPointerType>(ClassExtPropertyT) || in HandlePropertyInClassExtension()
600 if (const ObjCObjectPointerType *ObjPtrTy = in CreatePropertyDecl()
601 T->getAs<ObjCObjectPointerType>()) { in CreatePropertyDecl()
1267 if (const ObjCObjectPointerType *ObjT = in ActOnPropertyImplDecl()
1268 PropertyIvarType->getAs<ObjCObjectPointerType>()) { in ActOnPropertyImplDecl()
1372 if (isa<ObjCObjectPointerType>(PropertyIvarType) in ActOnPropertyImplDecl()
1373 && isa<ObjCObjectPointerType>(IvarType)) in ActOnPropertyImplDecl()
1376 PropertyIvarType->getAs<ObjCObjectPointerType>(), in ActOnPropertyImplDecl()
[all …]
/external/clang/include/clang/Sema/
DExternalSemaSource.h207 const ObjCObjectPointerType *OPT) { in CorrectTypo()
/external/llvm-project/clang/include/clang/Sema/
DExternalSemaSource.h217 const ObjCObjectPointerType *OPT) { in CorrectTypo()
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DIncludeFixer.h111 const ObjCObjectPointerType *OPT) override;
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp112 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
154 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
/external/llvm-project/clang/unittests/Sema/
DExternalSemaSourceTest.cpp111 const ObjCObjectPointerType *OPT) override { in CorrectTypo()
153 const ObjCObjectPointerType *OPT) override { in CorrectTypo()

123456