Home
last modified time | relevance | path

Searched refs:IDecl (Results 1 – 23 of 23) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp1112 return IDecl; in ActOnStartClassInterface()
1126 if (!IDecl) in ActOnTypedefedProtocols()
1830 if (!IDecl in ActOnStartCategoryInterface()
1843 if (!IDecl) in ActOnStartCategoryInterface()
1922 if (IDecl && IDecl->hasDefinition()) { in ActOnStartCategoryImplementation()
1955 if (IDecl && IDecl->hasAttr<ObjCRuntimeVisibleAttr>()) { in ActOnStartCategoryImplementation()
2139 if (!IDecl) in CheckImplementationIvars()
2197 IVI = IDecl->ivar_begin(), IVE = IDecl->ivar_end(); in CheckImplementationIvars()
2948 if (!IDecl) in CheckCategoryVsClassMethodMatches()
4174 IDecl = IDecl->getSuperClass(); in ActOnAtEnd()
[all …]
H A DSemaObjCProperty.cpp596 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()
1870 while (IDecl->getSuperClass()) { in SuperClassImplementsProperty()
1879 IDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty()
2040 if (!IDecl) in DiagnoseUnimplementedProperties()
2049 if (IDecl) in DiagnoseUnimplementedProperties()
2059 if (IDecl) { in DiagnoseUnimplementedProperties()
[all …]
H A DSemaExprMember.cpp1372 ObjCInterfaceDecl *IDecl = OTy->getInterface(); in LookupMemberExpr() local
1373 if (!IDecl) { in LookupMemberExpr()
1395 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr()
1403 Validator, Sema::CTK_ErrorRecovery, IDecl)) { in LookupMemberExpr()
1408 << IDecl->getDeclName() << MemberName); in LookupMemberExpr()
1425 IDecl->FindPropertyDeclaration( in LookupMemberExpr()
1434 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1472 if (!declaresSameEntity(ClassDeclared, IDecl) || in LookupMemberExpr()
1476 } else if (!IDecl->isSuperClassOf(ClassOfMethodDecl)) in LookupMemberExpr()
1500 !S.IvarBacksCurrentMethodAccessor(IDecl, MD, IV)); in LookupMemberExpr()
H A DSemaAvailability.cpp83 if (const auto *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl() local
84 if (IDecl->getDefinition()) { in ShouldDiagnoseAvailabilityOfDecl()
85 D = IDecl->getDefinition(); in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaDecl.cpp573 (void)DiagnoseUseOfDecl(IDecl, NameLoc); in getTypeName()
575 T = Context.getObjCInterfaceType(IDecl); in getTypeName()
2361 if (!IDecl && DoTypoCorrection) { in getObjCInterfaceDecl()
2369 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>(); in getObjCInterfaceDecl()
2370 Id = IDecl->getIdentifier(); in getObjCInterfaceDecl()
18197 assert(IDecl->getLexicalParent() == CurContext && in ActOnObjCContainerStartDefinition()
18199 CurContext = IDecl; in ActOnObjCContainerStartDefinition()
19633 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface(); in ActOnFields() local
19635 if (IDecl) { in ActOnFields()
19637 IDecl->getIvarDecl(ClsFields[i]->getIdentifier())) { in ActOnFields()
[all …]
H A DSemaCodeComplete.cpp9564 Decl *IDecl = nullptr; in CodeCompleteObjCMethodDecl() local
9567 IDecl = OCD; in CodeCompleteObjCMethodDecl()
9572 if (Decl *D = IDecl) { in CodeCompleteObjCMethodDecl()
H A DSemaExpr.cpp605 if (ObjCInterfaceDecl *IDecl = OTy->getInterface()) { in DiagnoseDirectIsaAccess() local
607 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in DiagnoseDirectIsaAccess()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp435 if (IDecl && in PropertyMemoryAttribute()
665 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl->getLocation(); in rewriteToObjCInterfaceDecl()
831 if (!IDecl || ObjCProtocolDecls.empty() || IDecl->isDeprecated()) in migrateProtocolConformance()
1029 if (!IDecl) { in migrateMethodInstanceType()
1031 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1033 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType()
1035 if (!IDecl || in migrateMethodInstanceType()
1300 if (!IDecl) { in migrateFactoryMethod()
1302 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1304 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod()
[all …]
H A DTransAutoreleasePool.cpp389 bool isNSAutoreleasePool(ObjCInterfaceDecl *IDecl) { in isNSAutoreleasePool() argument
390 return IDecl && IDecl->getIdentifier() == PoolII; in isNSAutoreleasePool()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1133 assert(IDecl); in canBeOverridenInSubclass()
1140 SourceLocation InterfLoc = IDecl->getEndOfDefinitionLoc(); in canBeOverridenInSubclass()
1156 D = IDecl->lookupMethod(Sel, true); in canBeOverridenInSubclass()
1168 IDecl = D->getClassInterface(); in canBeOverridenInSubclass()
1169 if (!IDecl) in canBeOverridenInSubclass()
1172 IDecl = IDecl->getSuperClass(); in canBeOverridenInSubclass()
1173 if (!IDecl) in canBeOverridenInSubclass()
1339 if (ObjCInterfaceDecl *IDecl = ReceiverT->getInterface()) in getRuntimeDefinition() local
1343 CanBeSubClassed = canBeOverridenInSubclass(IDecl, Sel); in getRuntimeDefinition()
1349 if (ObjCInterfaceDecl *IDecl = ReceiverT->getInterface()) { in getRuntimeDefinition() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp115 if (ObjCInterfaceDecl *IDecl = ME->getReceiverInterface()) { in VisitObjCMessageExpr() local
121 D = IDecl->lookupPrivateMethod(Sel); in VisitObjCMessageExpr()
123 D = IDecl->lookupPrivateClassMethod(Sel); in VisitObjCMessageExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1867 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 DRewriteModernObjC.cpp835 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()
7029 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData()
7153 if (ImplementationIsNonLazy(IDecl)) in RewriteObjCClassMetaData()
7279 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl()
7322 /* Container */IDecl, in RewriteObjCCategoryImplDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp191 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { in findPropertyDecl() local
192 for (const auto *Ext : IDecl->visible_extensions()) in findPropertyDecl()
1800 ObjCInterfaceDecl *IDecl = this; in ClassImplementsProtocol() local
1802 for (auto *PI : IDecl->protocols()){ in ClassImplementsProtocol()
1825 if (IDecl->getSuperClass()) in ClassImplementsProtocol()
2131 ClassInterface(IDecl), CategoryNameLoc(CategoryNameLoc), in ObjCCategoryDecl()
2149 if (IDecl) { in Create()
2151 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create()
2152 if (IDecl->hasDefinition()) { in Create()
2153 IDecl->setCategoryListRaw(CatDecl); in Create()
[all …]
H A DASTContext.cpp2572 auto *IDecl = const_cast<ObjCInterfaceDecl *>(OI); in DeepCollectObjCIvars() local
2573 for (const ObjCIvarDecl *Iv = IDecl->all_declared_ivar_begin(); Iv; in DeepCollectObjCIvars()
5504 ObjCInterfaceDecl *IDecl) { in QIdProtocolsAdoptObjCObjectProtocols() argument
5510 if (!IDecl->hasDefinition()) in QIdProtocolsAdoptObjCObjectProtocols()
5513 CollectInheritedProtocols(IDecl, InheritedProtocols); in QIdProtocolsAdoptObjCObjectProtocols()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp367 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit() local
368 for (const ObjCIvarDecl *Iv = IDecl->all_declared_ivar_begin(); Iv; in visit()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h2346 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl,
2362 ObjCInterfaceDecl *IDecl,
H A DRecursiveASTVisitor.h2781 ObjCInterfaceDecl *IDecl = S->getClassReceiver();
2782 QualType Type = IDecl->getASTContext().getObjCInterfaceType(IDecl);
H A DASTContext.h1702 ObjCInterfaceDecl *IDecl);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1193 virtual bool canBeOverridenInSubclass(ObjCInterfaceDecl *IDecl,
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp2517 const ObjCInterfaceDecl *IDecl = OPT->getObjectType()->getInterface(); in GetEHType() local
2518 assert(IDecl && "Invalid @catch type."); in GetEHType()
2519 return MakeConstantString(IDecl->getIdentifier()->getName()); in GetEHType()
H A DCGObjCMac.cpp4759 ObjCInterfaceDecl *IDecl = ObjTy->getInterface(); in EmitTryOrSynchronizedStmt() local
4760 assert(IDecl && "Catch parameter must have Objective-C type!"); in EmitTryOrSynchronizedStmt()
4763 llvm::Value *Class = EmitClassRef(CGF, IDecl); in EmitTryOrSynchronizedStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3542 void ActOnObjCContainerStartDefinition(ObjCContainerDecl *IDecl);
4885 ObjCContainerDecl* IDecl,
4900 ObjCInterfaceDecl *IDecl,
4961 ObjCInterfaceDecl* IDecl);
4989 ObjCContainerDecl* IDecl,
10523 ObjCInterfaceDecl *IDecl,