| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 702 ->getAs<ObjCObjectType>(); in isObjCIdOrObjectKindOfType() 730 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType 752 bool ObjCObjectType::isSpecialized() const { in isSpecialized() 788 bool ObjCObjectType::isKindOfType() const { in isKindOfType() 1439 const ObjCObjectType *objType = ptrType in VisitAttributedType() 1551 const ObjCObjectType *objectType; in getObjCSubstitutions() 1557 ->castAs<ObjCObjectType>(); in getObjCSubstitutions() 1559 objectType = getAs<ObjCObjectType>(); in getObjCSubstitutions() 1672 ->castAs<ObjCObjectType>(), in computeSuperClassTypeSlow() 1698 if (const auto *T = getAs<ObjCObjectType>()) in getAsObjCQualifiedInterfaceType() [all …]
|
| H A D | ExprObjC.cpp | 320 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
|
| H A D | ASTContext.cpp | 5344 const ObjCObjectType *objT = objPtr->getObjectType(); in applyObjCProtocolQualifiers() 9572 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces() 9573 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces() 9701 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols() 9702 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols() 9816 const ObjCObjectType *LHS = Lptr->getObjectType(); in areCommonBaseCompatible() 9817 const ObjCObjectType *RHS = Rptr->getObjectType(); in areCommonBaseCompatible() 9880 LHS = LHSSuperType->castAs<ObjCObjectType>(); in areCommonBaseCompatible() 9930 RHS = RHSSuperType->castAs<ObjCObjectType>(); in areCommonBaseCompatible() 9982 const ObjCObjectType *RHSSuper = RHS; in canAssignObjCInterfaces() [all …]
|
| H A D | MicrosoftMangle.cpp | 457 void mangleObjCKindOfType(const ObjCObjectType *T, Qualifiers Quals, 1937 void MicrosoftCXXNameMangler::mangleObjCKindOfType(const ObjCObjectType *T, in mangleObjCKindOfType() 1948 ->castAs<ObjCObjectType>(), in mangleObjCKindOfType() 3168 void MicrosoftCXXNameMangler::mangleType(const ObjCObjectType *T, in mangleType()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXType.cpp | 505 D = cast<ObjCObjectType>(TP)->getInterface(); in clang_getTypeDeclaration() 1179 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCObjectBaseType() 1191 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getNumObjCProtocolRefs() 1203 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCProtocolDecl() 1219 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getNumObjCTypeArgs() 1231 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCTypeArg()
|
| H A D | CIndexCodeCompletion.cpp | 624 else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>()) in ProcessCodeCompleteResults()
|
| H A D | CXIndexDataConsumer.cpp | 322 if (const ObjCObjectType *ObjectTy = Ty->getAs<ObjCObjectType>()) { in AttrListInfo()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 120 const ObjCObjectType *Type = nullptr; 137 return {MessageExpr->getClassReceiver()->getAs<ObjCObjectType>(), in inferReceiverType() 147 return {MessageExpr->getSuperType()->getAs<ObjCObjectType>(), in inferReceiverType() 192 return {cast<ObjCObjectType>(DTI.getType()), !DTI.canBeASubClass()}; in inferReceiverType() 204 if (const ObjCObjectType *ObjTy = dyn_cast<ObjCObjectType>( in inferReceiverType() 487 To->getObjectType()->getSuperClassType()->castAs<ObjCObjectType>(); in getMostInformativeDerivedClassImpl()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | NameSearchContext.cpp | 163 } else if (const ObjCObjectType *objc_object_type = in AddTypeDecl() 164 qual_type->getAs<ObjCObjectType>()) { in AddTypeDecl()
|
| H A D | ClangASTImporter.cpp | 387 const clang::ObjCObjectType *objc_class_type = in CanImport() 388 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in CanImport() 461 const clang::ObjCObjectType *objc_class_type = in Import() 462 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in Import() 652 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in CompleteAndFetchChildren() 696 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in RequireCompleteType()
|
| H A D | ASTResultSynthesizer.cpp | 349 if (expr_qual_type->getAs<ObjCObjectType>() != nullptr) in SynthesizeBodyResult()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | BuiltinTypes.def | 231 // 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 D | Type.h | 1694 friend class ObjCObjectType; 2312 const ObjCObjectType *getAsObjCInterfaceType() const; 5951 class ObjCObjectType : public Type, 5992 ObjCObjectType(QualType Canonical, QualType Base, 5997 ObjCObjectType(enum Nonce_ObjCInterface) 6151 class ObjCInterfaceType : public ObjCObjectType { 6159 : ObjCObjectType(Nonce_ObjCInterface), 6244 const ObjCObjectType *getObjectType() const { 6245 return PointeeType->castAs<ObjCObjectType>(); 6940 return isa<ObjCObjectType>(CanonicalType); [all …]
|
| H A D | CanonicalType.h | 579 struct CanProxyAdaptor<ObjCObjectType> 580 : public CanProxyBase<ObjCObjectType> {
|
| H A D | DeclObjC.h | 1543 const ObjCObjectType *getSuperClassType() const { in getSuperClassType() 1545 return TInfo->getType()->castAs<ObjCObjectType>(); in getSuperClassType()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 107 def ObjCObjectType : TypeNode<Type>; 108 def ObjCInterfaceType : TypeNode<ObjCObjectType>, LeafType;
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 2736 const clang::ObjCObjectType *objc_class_type = in GetCompleteQualType() 3461 const clang::ObjCObjectType *objc_class_type = in IsDefined() 5388 const clang::ObjCObjectType *objc_class_type = in GetNumChildren() 5624 const clang::ObjCObjectType *objc_class_type = in GetNumFields() 5776 const clang::ObjCObjectType *objc_class_type = in GetFieldAtIndex() 5817 const clang::ObjCObjectType *objc_class_type = in GetNumDirectBaseClasses() 7309 const clang::ObjCObjectType *objc_class_type = in GetAsObjCInterfaceDecl() 7310 llvm::dyn_cast<clang::ObjCObjectType>( in GetAsObjCInterfaceDecl() 8241 const clang::ObjCObjectType *objc_class_type = in SetHasExternalStorage() 8276 const clang::ObjCObjectType *object_type = in StartTagDeclarationDefinition() [all …]
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexBody.cpp | 267 auto addReceivers = [&](const ObjCObjectType *Ty) { in VisitObjCMessageExpr() 283 addReceivers(recT->getAs<ObjCObjectType>()); in VisitObjCMessageExpr()
|
| H A D | USRGeneration.cpp | 843 if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) { in VisitType()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprMember.cpp | 1195 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType() 1325 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr() 1505 const ObjCObjectType *OT = OPT->getObjectType(); in LookupMemberExpr()
|
| H A D | SemaDeclObjC.cpp | 52 const ObjCObjectType *result = in checkInitMethod() 590 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnSuperClassOfClassInterface() 1124 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) { in ActOnTypedefedProtocols() 1159 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias() 1440 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) { in actOnObjCTypeArgsOrProtocolQualifiers() 3080 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration() 3471 const ObjCObjectType *TypeBound) { in FilterMethodsByTypeBound() 3507 const ObjCObjectType *TypeBound) { in CollectMultipleMethodsInGlobalPool()
|
| H A D | SemaExprObjC.cpp | 1938 const ObjCObjectType *objType = type->castAs<ObjCObjectType>(); in LookupMethodInObjectType() 2644 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>(); in BuildClassMessage() 2948 const ObjCObjectType *typeBound = nullptr; in BuildInstanceMessage()
|
| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 141 const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>(); in maybeAdjustInterfaceForSubscriptingCheck()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 1214 const ObjCObjectType *ReceiverT = nullptr; in getRuntimeDefinition() 1265 cast<ObjCObjectType>(DTI.getType().getCanonicalType()); in getRuntimeDefinition()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 203 llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);
|