| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 1104 return IDecl; in ActOnStartClassInterface() 1118 if (!IDecl) in ActOnTypedefedProtocols() 1816 if (!IDecl in ActOnStartCategoryInterface() 1829 if (!IDecl) in ActOnStartCategoryInterface() 1908 if (IDecl && IDecl->hasDefinition()) { in ActOnStartCategoryImplementation() 1941 if (IDecl && IDecl->hasAttr<ObjCRuntimeVisibleAttr>()) { in ActOnStartCategoryImplementation() 2125 if (!IDecl) in CheckImplementationIvars() 2183 IVI = IDecl->ivar_begin(), IVE = IDecl->ivar_end(); in CheckImplementationIvars() 2941 if (!IDecl) in CheckCategoryVsClassMethodMatches() 4167 IDecl = IDecl->getSuperClass(); in ActOnAtEnd() [all …]
|
| H A D | SemaObjCProperty.cpp | 596 if (IDecl) in CreatePropertyDecl() 1098 ObjCInterfaceDecl *IDecl = nullptr; in ActOnPropertyImplDecl() local 1104 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl() 1107 assert(IDecl && in ActOnPropertyImplDecl() 1179 if (!IDecl) { in ActOnPropertyImplDecl() 1872 while (IDecl->getSuperClass()) { in SuperClassImplementsProperty() 1881 IDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty() 2043 if (!IDecl) in DiagnoseUnimplementedProperties() 2053 if (IDecl) in DiagnoseUnimplementedProperties() 2063 if (IDecl) { in DiagnoseUnimplementedProperties() [all …]
|
| H A D | SemaExprMember.cpp | 1339 ObjCInterfaceDecl *IDecl = OTy->getInterface(); in LookupMemberExpr() local 1340 if (!IDecl) { in LookupMemberExpr() 1362 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr() 1370 Validator, Sema::CTK_ErrorRecovery, IDecl)) { in LookupMemberExpr() 1375 << IDecl->getDeclName() << MemberName); in LookupMemberExpr() 1392 IDecl->FindPropertyDeclaration( in LookupMemberExpr() 1401 << IDecl->getDeclName() << MemberName in LookupMemberExpr() 1439 if (!declaresSameEntity(ClassDeclared, IDecl) || in LookupMemberExpr() 1443 } else if (!IDecl->isSuperClassOf(ClassOfMethodDecl)) in LookupMemberExpr() 1467 !S.IvarBacksCurrentMethodAccessor(IDecl, MD, IV)); in LookupMemberExpr()
|
| H A D | SemaAvailability.cpp | 82 if (const auto *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl() local 83 if (IDecl->getDefinition()) { in ShouldDiagnoseAvailabilityOfDecl() 84 D = IDecl->getDefinition(); in ShouldDiagnoseAvailabilityOfDecl()
|
| H A D | SemaDecl.cpp | 496 (void)DiagnoseUseOfDecl(IDecl, NameLoc); in getTypeName() 498 T = Context.getObjCInterfaceType(IDecl); in getTypeName() 2233 if (!IDecl && DoTypoCorrection) { in getObjCInterfaceDecl() 2241 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>(); in getObjCInterfaceDecl() 2242 Id = IDecl->getIdentifier(); in getObjCInterfaceDecl() 17126 assert(IDecl->getLexicalParent() == CurContext && in ActOnObjCContainerStartDefinition() 17128 CurContext = IDecl; in ActOnObjCContainerStartDefinition() 18404 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface(); in ActOnFields() local 18406 if (IDecl) { in ActOnFields() 18408 IDecl->getIvarDecl(ClsFields[i]->getIdentifier())) { in ActOnFields() [all …]
|
| H A D | SemaCodeComplete.cpp | 9401 Decl *IDecl = nullptr; in CodeCompleteObjCMethodDecl() local 9404 IDecl = OCD; in CodeCompleteObjCMethodDecl() 9409 if (Decl *D = IDecl) { in CodeCompleteObjCMethodDecl()
|
| H A D | SemaExpr.cpp | 586 if (ObjCInterfaceDecl *IDecl = OTy->getInterface()) { in DiagnoseDirectIsaAccess() local 588 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in DiagnoseDirectIsaAccess()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 438 if (IDecl && in PropertyMemoryAttribute() 668 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl->getLocation(); in rewriteToObjCInterfaceDecl() 834 if (!IDecl || ObjCProtocolDecls.empty() || IDecl->isDeprecated()) in migrateProtocolConformance() 1032 if (!IDecl) { in migrateMethodInstanceType() 1034 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType() 1036 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType() 1038 if (!IDecl || in migrateMethodInstanceType() 1303 if (!IDecl) { in migrateFactoryMethod() 1305 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod() 1307 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod() [all …]
|
| H A D | TransAutoreleasePool.cpp | 389 bool isNSAutoreleasePool(ObjCInterfaceDecl *IDecl) { in isNSAutoreleasePool() argument 390 return IDecl && IDecl->getIdentifier() == PoolII; in isNSAutoreleasePool()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 1069 assert(IDecl); in canBeOverridenInSubclass() 1076 SourceLocation InterfLoc = IDecl->getEndOfDefinitionLoc(); in canBeOverridenInSubclass() 1092 D = IDecl->lookupMethod(Sel, true); in canBeOverridenInSubclass() 1104 IDecl = D->getClassInterface(); in canBeOverridenInSubclass() 1105 if (!IDecl) in canBeOverridenInSubclass() 1108 IDecl = IDecl->getSuperClass(); in canBeOverridenInSubclass() 1109 if (!IDecl) in canBeOverridenInSubclass() 1275 if (ObjCInterfaceDecl *IDecl = ReceiverT->getInterface()) in getRuntimeDefinition() local 1279 CanBeSubClassed = canBeOverridenInSubclass(IDecl, Sel); in getRuntimeDefinition() 1285 if (ObjCInterfaceDecl *IDecl = ReceiverT->getInterface()) { in getRuntimeDefinition() local [all …]
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 115 if (ObjCInterfaceDecl *IDecl = ME->getReceiverInterface()) { in VisitObjCMessageExpr() local 121 D = IDecl->lookupPrivateMethod(Sel); in VisitObjCMessageExpr() 123 D = IDecl->lookupPrivateClassMethod(Sel); in VisitObjCMessageExpr()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 1867 if (IDecl) { in RewriteObjCTryStmt() 5277 !IDecl->ivar_empty() ? IDecl->ivar_size() : CDecl->ivar_size(); in RewriteObjCClassMetaData() 5314 if (!IDecl->ivar_empty()) { in RewriteObjCClassMetaData() 5317 IVI = IDecl->ivar_begin(); in RewriteObjCClassMetaData() 5318 IVE = IDecl->ivar_end(); in RewriteObjCClassMetaData() 5375 RewriteObjCMethodsMetaData(IDecl->classmeth_begin(), IDecl->classmeth_end(), in RewriteObjCClassMetaData() 5448 if (IDecl->classmeth_begin() != IDecl->classmeth_end()) { in RewriteObjCClassMetaData() 5501 if (IDecl->instmeth_begin() != IDecl->instmeth_end()) { in RewriteObjCClassMetaData() 5651 RewriteObjCMethodsMetaData(IDecl->classmeth_begin(), IDecl->classmeth_end(), in RewriteObjCCategoryImplDecl() 5693 if (IDecl->instmeth_begin() != IDecl->instmeth_end()) { in RewriteObjCCategoryImplDecl() [all …]
|
| H A D | RewriteModernObjC.cpp | 835 Result += IDecl->getName(); in WriteInternalIvarName() 1247 NameStr += IDecl->getNameAsString(); in RewriteObjCMethodDecl() 1280 ResultStr += IDecl->getNameAsString(); in RewriteObjCMethodDecl() 1972 if (IDecl) { in RewriteObjCTryStmt() 1989 Result += IDecl->getNameAsString(); in RewriteObjCTryStmt() 3605 if (!IDecl) in IsTagDefinedInsideClass() 7030 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() 7154 if (ImplementationIsNonLazy(IDecl)) in RewriteObjCClassMetaData() 7280 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() 7323 /* Container */IDecl, in RewriteObjCCategoryImplDecl() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 191 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { in findPropertyDecl() local 192 for (const auto *Ext : IDecl->visible_extensions()) in findPropertyDecl() 1765 ObjCInterfaceDecl *IDecl = this; in ClassImplementsProtocol() local 1767 for (auto *PI : IDecl->protocols()){ in ClassImplementsProtocol() 1790 if (IDecl->getSuperClass()) in ClassImplementsProtocol() 2059 ClassInterface(IDecl), CategoryNameLoc(CategoryNameLoc), in ObjCCategoryDecl() 2077 if (IDecl) { in Create() 2079 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create() 2080 if (IDecl->hasDefinition()) { in Create() 2081 IDecl->setCategoryListRaw(CatDecl); in Create() [all …]
|
| H A D | ASTContext.cpp | 2616 auto *IDecl = const_cast<ObjCInterfaceDecl *>(OI); in DeepCollectObjCIvars() local 2617 for (const ObjCIvarDecl *Iv = IDecl->all_declared_ivar_begin(); Iv; in DeepCollectObjCIvars() 5466 ObjCInterfaceDecl *IDecl) { in QIdProtocolsAdoptObjCObjectProtocols() argument 5472 if (!IDecl->hasDefinition()) in QIdProtocolsAdoptObjCObjectProtocols() 5475 CollectInheritedProtocols(IDecl, InheritedProtocols); in QIdProtocolsAdoptObjCObjectProtocols()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IvarInvalidationChecker.cpp | 369 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit() local 370 for (const ObjCIvarDecl *Iv = IDecl->all_declared_ivar_begin(); Iv; in visit()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 2299 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, 2315 ObjCInterfaceDecl *IDecl,
|
| H A D | RecursiveASTVisitor.h | 2777 ObjCInterfaceDecl *IDecl = S->getClassReceiver(); 2778 QualType Type = IDecl->getASTContext().getObjCInterfaceType(IDecl);
|
| H A D | ASTContext.h | 1708 ObjCInterfaceDecl *IDecl);
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallEvent.h | 1139 virtual bool canBeOverridenInSubclass(ObjCInterfaceDecl *IDecl,
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 2403 const ObjCInterfaceDecl *IDecl = OPT->getObjectType()->getInterface(); in GetEHType() local 2404 assert(IDecl && "Invalid @catch type."); in GetEHType() 2405 return MakeConstantString(IDecl->getIdentifier()->getName()); in GetEHType()
|
| H A D | CGObjCMac.cpp | 4777 ObjCInterfaceDecl *IDecl = ObjTy->getInterface(); in EmitTryOrSynchronizedStmt() local 4778 assert(IDecl && "Catch parameter must have Objective-C type!"); in EmitTryOrSynchronizedStmt() 4781 llvm::Value *Class = EmitClassRef(CGF, IDecl); in EmitTryOrSynchronizedStmt()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 3375 void ActOnObjCContainerStartDefinition(ObjCContainerDecl *IDecl); 4636 ObjCContainerDecl* IDecl, 4651 ObjCInterfaceDecl *IDecl, 4712 ObjCInterfaceDecl* IDecl); 4740 ObjCContainerDecl* IDecl, 9878 ObjCInterfaceDecl *IDecl,
|