Home
last modified time | relevance | path

Searched refs:ObjCObjectType (Results 1 – 25 of 106) sorted by relevance

12345

/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp58 const ObjCObjectType *getObjectTypeForAllocAndNew(const ObjCMessageExpr *MsgE,
226 const ObjCObjectType *ObjTy = getObjectTypeForAllocAndNew(MsgE, C); in checkPostCall()
308 const ObjCObjectType *
312 if (const ObjCObjectType *ObjTy in getObjectTypeForAllocAndNew()
313 = MsgE->getClassReceiver()->getAs<ObjCObjectType>()) in getObjectTypeForAllocAndNew()
318 if (const ObjCObjectType *ObjTy in getObjectTypeForAllocAndNew()
319 = MsgE->getSuperType()->getAs<ObjCObjectType>()) in getObjectTypeForAllocAndNew()
334 if (const ObjCObjectType *ObjTy = in getObjectTypeForAllocAndNew()
335 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
399 To->getObjectType()->getSuperClassType()->getAs<ObjCObjectType>(); in getMostInformativeDerivedClassImpl()
[all …]
/external/clang/lib/AST/
DType.cpp471 const ObjCObjectType *&bound) const { in isObjCIdOrObjectKindOfType()
492 ->getAs<ObjCObjectType>(); in isObjCIdOrObjectKindOfType()
535 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType
571 bool ObjCObjectType::isSpecialized() const { in isSpecialized()
577 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isSpecialized()
589 ArrayRef<QualType> ObjCObjectType::getTypeArgs() const { in getTypeArgs()
595 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in getTypeArgs()
607 bool ObjCObjectType::isKindOfType() const { in isKindOfType()
612 if (auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isKindOfType()
624 QualType ObjCObjectType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
[all …]
DExprObjC.cpp333 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
DASTContext.cpp1735 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
3736 if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos)) in getObjCObjectType()
3744 if (auto baseObject = baseType->getAs<ObjCObjectType>()) in getObjCObjectType()
5833 ObjCInterfaceDecl *OI = T->castAs<ObjCObjectType>()->getInterface(); in getObjCEncodingForTypeImpl()
6946 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
6947 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces()
7064 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
7065 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols()
7183 const ObjCObjectType *LHS = Lptr->getObjectType(); in areCommonBaseCompatible()
7184 const ObjCObjectType *RHS = Rptr->getObjectType(); in areCommonBaseCompatible()
[all …]
/external/llvm-project/clang/lib/AST/
DType.cpp681 const ObjCObjectType *&bound) const { in isObjCIdOrObjectKindOfType()
702 ->getAs<ObjCObjectType>(); in isObjCIdOrObjectKindOfType()
731 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType
753 bool ObjCObjectType::isSpecialized() const { in isSpecialized()
759 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isSpecialized()
771 ArrayRef<QualType> ObjCObjectType::getTypeArgs() const { in getTypeArgs()
777 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in getTypeArgs()
789 bool ObjCObjectType::isKindOfType() const { in isKindOfType()
794 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isKindOfType()
806 QualType ObjCObjectType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
[all …]
DExprObjC.cpp333 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp59 const ObjCObjectType *getObjectTypeForAllocAndNew(const ObjCMessageExpr *MsgE,
123 const ObjCObjectType *Type = nullptr;
140 return {MessageExpr->getClassReceiver()->getAs<ObjCObjectType>(), in inferReceiverType()
150 return {MessageExpr->getSuperType()->getAs<ObjCObjectType>(), in inferReceiverType()
195 return {cast<ObjCObjectType>(DTI.getType()), !DTI.canBeASubClass()}; in inferReceiverType()
207 if (const ObjCObjectType *ObjTy = dyn_cast<ObjCObjectType>( in inferReceiverType()
490 To->getObjectType()->getSuperClassType()->castAs<ObjCObjectType>(); in getMostInformativeDerivedClassImpl()
/external/llvm-project/clang/tools/libclang/
DCXType.cpp499 D = cast<ObjCObjectType>(TP)->getInterface(); in clang_getTypeDeclaration()
1165 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCObjectBaseType()
1177 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getNumObjCProtocolRefs()
1189 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCProtocolDecl()
1205 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getNumObjCTypeArgs()
1217 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCTypeArg()
DCIndexCodeCompletion.cpp623 else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>()) in ProcessCodeCompleteResults()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DNameSearchContext.cpp161 } else if (const ObjCObjectType *objc_object_type = in AddTypeDecl()
162 qual_type->getAs<ObjCObjectType>()) { in AddTypeDecl()
DClangASTImporter.cpp390 const clang::ObjCObjectType *objc_class_type = in CanImport()
391 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in CanImport()
466 const clang::ObjCObjectType *objc_class_type = in Import()
467 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in Import()
657 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in CompleteAndFetchChildren()
701 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in RequireCompleteType()
/external/clang/include/clang/AST/
DBuiltinTypes.def146 // ObjCObjectType with this as its base. In fact, this only ever
147 // shows up in an AST as the base type of an ObjCObjectType.
152 // ObjCObjectType with this as its base. In fact, this only ever
153 // shows up in an AST as the base type of an ObjCObjectType.
DType.h1397 friend class ObjCObjectType;
1713 const ObjCObjectType *&bound) const;
1837 const ObjCObjectType *getAsObjCInterfaceType() const;
1843 const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
4730 class ObjCObjectType : public Type {
4747 mutable llvm::PointerIntPair<const ObjCObjectType *, 1, bool>
4751 return const_cast<ObjCObjectType*>(this)->getProtocolStorage();
4756 return const_cast<ObjCObjectType *>(this)->getTypeArgStorage();
4762 ObjCObjectType(QualType Canonical, QualType Base,
4768 ObjCObjectType(enum Nonce_ObjCInterface)
[all …]
DCanonicalType.h560 struct CanProxyAdaptor<ObjCObjectType>
561 : public CanProxyBase<ObjCObjectType> {
DTypeNodes.def105 TYPE(ObjCInterface, ObjCObjectType)
/external/llvm-project/clang/include/clang/AST/
DBuiltinTypes.def228 // ObjCObjectType with this as its base. In fact, this only ever
229 // shows up in an AST as the base type of an ObjCObjectType.
234 // ObjCObjectType with this as its base. In fact, this only ever
235 // shows up in an AST as the base type of an ObjCObjectType.
DType.h1613 friend class ObjCObjectType;
2071 const ObjCObjectType *&bound) const;
2228 const ObjCObjectType *getAsObjCInterfaceType() const;
2235 const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
5786 class ObjCObjectType : public Type,
5787 public ObjCProtocolQualifiers<ObjCObjectType> {
5788 friend class ObjCProtocolQualifiers<ObjCObjectType>;
5806 mutable llvm::PointerIntPair<const ObjCObjectType *, 1, bool>
5811 return const_cast<ObjCObjectType *>(this)->getTypeArgStorage();
5827 ObjCObjectType(QualType Canonical, QualType Base,
[all …]
DCanonicalType.h579 struct CanProxyAdaptor<ObjCObjectType>
580 : public CanProxyBase<ObjCObjectType> {
/external/llvm-project/clang/include/clang/Basic/
DTypeNodes.td105 def ObjCObjectType : TypeNode<Type>;
106 def ObjCInterfaceType : TypeNode<ObjCObjectType>, LeafType;
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp2555 return llvm::cast<clang::ObjCObjectType>(qual_type.getTypePtr()) in GetDeclContextForType()
2648 const clang::ObjCObjectType *objc_class_type = in GetCompleteQualType()
2649 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in GetCompleteQualType()
3354 const clang::ObjCObjectType *objc_class_type = in IsDefined()
3355 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in IsDefined()
3453 llvm::dyn_cast_or_null<clang::ObjCObjectType>( in IsPossibleDynamicType()
4262 const clang::ObjCObjectType *objc_class_type = in GetNumMemberFunctions()
4263 llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr()); in GetNumMemberFunctions()
4360 const clang::ObjCObjectType *objc_class_type = in GetMemberFunctionAtIndex()
4361 llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr()); in GetMemberFunctionAtIndex()
[all …]
/external/llvm-project/clang/lib/Index/
DIndexBody.cpp263 auto addReceivers = [&](const ObjCObjectType *Ty) { in VisitObjCMessageExpr()
279 addReceivers(recT->getAs<ObjCObjectType>()); in VisitObjCMessageExpr()
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp583 else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>()) in ProcessCodeCompleteResults()
/external/clang/lib/Index/
DUSRGeneration.cpp713 if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) { in VisitType()
/external/clang/lib/Sema/
DSemaExprMember.cpp1234 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType()
1348 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr()
1522 const ObjCObjectType *OT = OPT->getObjectType(); in LookupMemberExpr()
DSemaDeclObjC.cpp52 const ObjCObjectType *result = in checkInitMethod()
514 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) { in ActOnSuperClassOfClassInterface()
1043 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) in ActOnTypedefedProtocols()
1070 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias()
1343 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
2975 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration()
3355 const ObjCObjectType *TypeBound) { in FilterMethodsByTypeBound()
3391 const ObjCObjectType *TypeBound) { in CollectMultipleMethodsInGlobalPool()

12345