Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp728 ->getAs<ObjCObjectType>(); in isObjCIdOrObjectKindOfType()
756 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType
778 bool ObjCObjectType::isSpecialized() const { in isSpecialized()
814 bool ObjCObjectType::isKindOfType() const { in isKindOfType()
1466 const ObjCObjectType *objType = ptrType in VisitAttributedType()
1611 const ObjCObjectType *objectType; in getObjCSubstitutions()
1617 ->castAs<ObjCObjectType>(); in getObjCSubstitutions()
1619 objectType = getAs<ObjCObjectType>(); in getObjCSubstitutions()
1732 ->castAs<ObjCObjectType>(), in computeSuperClassTypeSlow()
1758 if (const auto *T = getAs<ObjCObjectType>()) in getAsObjCQualifiedInterfaceType()
[all …]
H A DExprObjC.cpp320 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
H A DASTContext.cpp5382 const ObjCObjectType *objT = objPtr->getObjectType(); in applyObjCProtocolQualifiers()
9791 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
9792 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces()
9920 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
9921 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols()
10038 const ObjCObjectType *LHS = Lptr->getObjectType(); in areCommonBaseCompatible()
10039 const ObjCObjectType *RHS = Rptr->getObjectType(); in areCommonBaseCompatible()
10102 LHS = LHSSuperType->castAs<ObjCObjectType>(); in areCommonBaseCompatible()
10152 RHS = RHSSuperType->castAs<ObjCObjectType>(); in areCommonBaseCompatible()
10204 const ObjCObjectType *RHSSuper = RHS; in canAssignObjCInterfaces()
[all …]
H A DMicrosoftMangle.cpp463 void mangleObjCKindOfType(const ObjCObjectType *T, Qualifiers Quals,
2057 void MicrosoftCXXNameMangler::mangleObjCKindOfType(const ObjCObjectType *T, in mangleObjCKindOfType()
2068 ->castAs<ObjCObjectType>(), in mangleObjCKindOfType()
3316 void MicrosoftCXXNameMangler::mangleType(const ObjCObjectType *T, in mangleType()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp122 const ObjCObjectType *Type = nullptr;
139 return {MessageExpr->getClassReceiver()->getAs<ObjCObjectType>(), in inferReceiverType()
149 return {MessageExpr->getSuperType()->getAs<ObjCObjectType>(), in inferReceiverType()
194 return {cast<ObjCObjectType>(DTI.getType()), !DTI.canBeASubClass()}; in inferReceiverType()
206 if (const ObjCObjectType *ObjTy = dyn_cast<ObjCObjectType>( in inferReceiverType()
487 To->getObjectType()->getSuperClassType()->castAs<ObjCObjectType>(); in getMostInformativeDerivedClassImpl()
/freebsd-14.2/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.cpp388 const clang::ObjCObjectType *objc_class_type = in CanImport()
389 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in CanImport()
462 const clang::ObjCObjectType *objc_class_type = in Import()
463 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in Import()
653 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in CompleteAndFetchChildren()
697 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in RequireCompleteType()
H A DASTResultSynthesizer.cpp349 if (expr_qual_type->getAs<ObjCObjectType>() != nullptr) in SynthesizeBodyResult()
/freebsd-14.2/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.h1767 friend class ObjCObjectType;
2487 const ObjCObjectType *getAsObjCInterfaceType() const;
6226 class ObjCObjectType : public Type,
6267 ObjCObjectType(QualType Canonical, QualType Base,
6272 ObjCObjectType(enum Nonce_ObjCInterface)
6425 class ObjCInterfaceType : public ObjCObjectType {
6433 : ObjCObjectType(Nonce_ObjCInterface),
6518 const ObjCObjectType *getObjectType() const {
6519 return PointeeType->castAs<ObjCObjectType>();
7217 return isa<ObjCObjectType>(CanonicalType);
[all …]
H A DCanonicalType.h578 struct CanProxyAdaptor<ObjCObjectType>
579 : public CanProxyBase<ObjCObjectType> {
H A DDeclObjC.h1561 const ObjCObjectType *getSuperClassType() const { in getSuperClassType()
1563 return TInfo->getType()->castAs<ObjCObjectType>(); in getSuperClassType()
H A DASTContext.h2888 bool canAssignObjCInterfaces(const ObjCObjectType *LHS,
2889 const ObjCObjectType *RHS);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td107 def ObjCObjectType : TypeNode<Type>;
108 def ObjCInterfaceType : TypeNode<ObjCObjectType>, LeafType;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2701 const clang::ObjCObjectType *objc_class_type = in GetCompleteQualType()
3418 const clang::ObjCObjectType *objc_class_type = in IsDefined()
5321 const clang::ObjCObjectType *objc_class_type = in GetNumChildren()
5552 const clang::ObjCObjectType *objc_class_type = in GetNumFields()
5705 const clang::ObjCObjectType *objc_class_type = in GetFieldAtIndex()
5747 const clang::ObjCObjectType *objc_class_type = in GetNumDirectBaseClasses()
7250 const clang::ObjCObjectType *objc_class_type = in GetAsObjCInterfaceDecl()
7251 llvm::dyn_cast<clang::ObjCObjectType>( in GetAsObjCInterfaceDecl()
8192 const clang::ObjCObjectType *objc_class_type = in SetHasExternalStorage()
8227 const clang::ObjCObjectType *object_type = in StartTagDeclarationDefinition()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp281 auto addReceivers = [&](const ObjCObjectType *Ty) { in VisitObjCMessageExpr()
297 addReceivers(recT->getAs<ObjCObjectType>()); in VisitObjCMessageExpr()
H A DUSRGeneration.cpp908 if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) { in VisitType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp1228 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType()
1358 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr()
1538 const ObjCObjectType *OT = OPT->getObjectType(); in LookupMemberExpr()
H A DSemaDeclObjC.cpp52 const ObjCObjectType *result = in checkInitMethod()
590 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnSuperClassOfClassInterface()
1132 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) { in ActOnTypedefedProtocols()
1167 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias()
1454 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
3087 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration()
3478 const ObjCObjectType *TypeBound) { in FilterMethodsByTypeBound()
3514 const ObjCObjectType *TypeBound) { in CollectMultipleMethodsInGlobalPool()
H A DSemaExprObjC.cpp1938 const ObjCObjectType *objType = type->castAs<ObjCObjectType>(); in LookupMethodInObjectType()
2647 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>(); in BuildClassMessage()
2949 const ObjCObjectType *typeBound = nullptr; in BuildInstanceMessage()
H A DSemaAvailability.cpp896 } else if (const auto *ObjCO = dyn_cast<ObjCObjectType>(TyPtr)) { in VisitTypeLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp142 const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>(); in maybeAdjustInterfaceForSubscriptingCheck()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1278 const ObjCObjectType *ReceiverT = nullptr; in getRuntimeDefinition()
1329 cast<ObjCObjectType>(DTI.getType().getCanonicalType()); in getRuntimeDefinition()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp629 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType()); in ConvertType()
H A DCGDebugInfo.h209 llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);

123