Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp810 const ObjCObjectType *&bound) const { in isObjCIdOrObjectKindOfType()
832 ->getAs<ObjCObjectType>(); in isObjCIdOrObjectKindOfType()
860 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType
882 bool ObjCObjectType::isSpecialized() const { in isSpecialized()
888 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isSpecialized()
900 ArrayRef<QualType> ObjCObjectType::getTypeArgs() const { in getTypeArgs()
906 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in getTypeArgs()
918 bool ObjCObjectType::isKindOfType() const { in isKindOfType()
923 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isKindOfType()
936 ObjCObjectType::stripObjCKindOfTypeAndQuals(const ASTContext &ctx) const { in stripObjCKindOfTypeAndQuals()
[all …]
H A DExprObjC.cpp315 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
H A DASTContext.cpp2451 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
6132 if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos)) in getObjCObjectType()
6140 if (const auto *baseObject = baseType->getAs<ObjCObjectType>()) in getObjCObjectType()
6211 const ObjCObjectType *objT = objPtr->getObjectType(); in applyObjCProtocolQualifiers()
6228 if (const auto *objT = dyn_cast<ObjCObjectType>(type.getTypePtr())){ in applyObjCProtocolQualifiers()
9470 ObjCInterfaceDecl *OI = T->castAs<ObjCObjectType>()->getInterface(); in getObjCEncodingForTypeImpl()
10814 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
10815 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces()
10943 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
10944 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols()
[all …]
H A DMicrosoftMangle.cpp479 void mangleObjCKindOfType(const ObjCObjectType *T, Qualifiers Quals,
2213 void MicrosoftCXXNameMangler::mangleObjCKindOfType(const ObjCObjectType *T, in mangleObjCKindOfType()
2224 ->castAs<ObjCObjectType>(), in mangleObjCKindOfType()
3581 void MicrosoftCXXNameMangler::mangleType(const ObjCObjectType *T, in mangleType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp118 const ObjCObjectType *Type = nullptr;
135 return {MessageExpr->getClassReceiver()->getAs<ObjCObjectType>(), in inferReceiverType()
145 return {MessageExpr->getSuperType()->getAs<ObjCObjectType>(), in inferReceiverType()
190 return {cast<ObjCObjectType>(DTI.getType()), !DTI.canBeASubClass()}; in inferReceiverType()
202 if (const ObjCObjectType *ObjTy = dyn_cast<ObjCObjectType>( in inferReceiverType()
483 To->getObjectType()->getSuperClassType()->castAs<ObjCObjectType>(); in getMostInformativeDerivedClassImpl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp161 } else if (const ObjCObjectType *objc_object_type = in AddTypeDecl()
162 qual_type->getAs<ObjCObjectType>()) { in AddTypeDecl()
H A DClangASTImporter.cpp390 const clang::ObjCObjectType *objc_class_type = in CanImport()
391 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in CanImport()
464 const clang::ObjCObjectType *objc_class_type = in Import()
465 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in Import()
894 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in CompleteAndFetchChildren()
938 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in RequireCompleteType()
H A DASTResultSynthesizer.cpp341 if (expr_qual_type->getAs<ObjCObjectType>() != nullptr) in SynthesizeBodyResult()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DBuiltinTypes.def231 // ObjCObjectType with this as its base. In fact, this only ever
232 // shows up in an AST as the base type of an ObjCObjectType.
237 // ObjCObjectType with this as its base. In fact, this only ever
238 // shows up in an AST as the base type of an ObjCObjectType.
H A DType.h2005 friend class ObjCObjectType;
2644 const ObjCObjectType *&bound) const;
2818 const ObjCObjectType *getAsObjCInterfaceType() const;
2825 const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
7496 class ObjCObjectType : public Type,
7497 public ObjCProtocolQualifiers<ObjCObjectType> {
7498 friend class ObjCProtocolQualifiers<ObjCObjectType>;
7516 mutable llvm::PointerIntPair<const ObjCObjectType *, 1, bool>
7521 return const_cast<ObjCObjectType *>(this)->getTypeArgStorage();
7537 ObjCObjectType(QualType Canonical, QualType Base,
[all …]
H A DCanonicalType.h582 struct CanProxyAdaptor<ObjCObjectType>
583 : public CanProxyBase<ObjCObjectType> {
H A DDeclObjC.h1562 const ObjCObjectType *getSuperClassType() const { in getSuperClassType()
1564 return TInfo->getType()->castAs<ObjCObjectType>(); in getSuperClassType()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td111 def ObjCObjectType : TypeNode<Type>;
112 def ObjCInterfaceType : TypeNode<ObjCObjectType>, LeafType;
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2589 return llvm::cast<clang::ObjCObjectType>(qual_type.getTypePtr()) in GetDeclContextForType()
2692 static const clang::ObjCObjectType *
2698 const clang::ObjCObjectType *objc_class_type = in GetCompleteObjCObjectType()
2699 llvm::cast<clang::ObjCObjectType>(qual_type); in GetCompleteObjCObjectType()
3498 const clang::ObjCObjectType *objc_class_type = in IsDefined()
3499 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in IsDefined()
3611 llvm::dyn_cast_or_null<clang::ObjCObjectType>( in IsPossibleDynamicType()
4433 const clang::ObjCObjectType *objc_class_type = in GetNumMemberFunctions()
4434 llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr()); in GetNumMemberFunctions()
4531 const clang::ObjCObjectType *objc_class_type = in GetMemberFunctionAtIndex()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp279 auto addReceivers = [&](const ObjCObjectType *Ty) { in VisitObjCMessageExpr()
295 addReceivers(recT->getAs<ObjCObjectType>()); in VisitObjCMessageExpr()
H A DUSRGeneration.cpp922 if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) { in VisitType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp1175 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType()
1307 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr()
1486 const ObjCObjectType *OT = OPT->getObjectType(); in LookupMemberExpr()
H A DSemaTypeTraits.cpp1594 const ObjCObjectType *LHSObjTy = LhsT->getAs<ObjCObjectType>(); in BuiltinIsBaseOf()
1595 const ObjCObjectType *RHSObjTy = RhsT->getAs<ObjCObjectType>(); in BuiltinIsBaseOf()
H A DSemaDeclObjC.cpp55 const ObjCObjectType *result = in checkInitMethod()
597 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnSuperClassOfClassInterface()
1129 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) { in ActOnTypedefedProtocols()
1165 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias()
1452 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
3096 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration()
3484 const ObjCObjectType *TypeBound) { in FilterMethodsByTypeBound()
3519 bool InstanceFirst, bool CheckTheOther, const ObjCObjectType *TypeBound) { in CollectMultipleMethodsInGlobalPool()
H A DSemaExprObjC.cpp1941 const ObjCObjectType *objType = type->castAs<ObjCObjectType>(); in LookupMethodInObjectType()
2641 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>(); in BuildClassMessage()
2942 const ObjCObjectType *typeBound = nullptr; in BuildInstanceMessage()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp142 const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>(); in maybeAdjustInterfaceForSubscriptingCheck()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1298 const ObjCObjectType *ReceiverT = nullptr; in getRuntimeDefinition()
1349 cast<ObjCObjectType>(DTI.getType().getCanonicalType()); in getRuntimeDefinition()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp683 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType()); in ConvertType()
H A DCGDebugInfo.h234 llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h464 const ObjCObjectType *TypeBound = nullptr);

123