Lines Matching refs:ImpDecl
2120 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars() argument
2123 assert(ImpDecl && "missing implementation decl"); in CheckImplementationIvars()
2124 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
2134 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2141 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2152 if (ImpDecl->getSuperClass()) in CheckImplementationIvars()
2153 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use); in CheckImplementationIvars()
2172 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2174 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
4663 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes() argument
4696 if (Impl != ImpDecl) in checkObjCDirectMethodClashes()
4704 if (CatImpl != ImpDecl) in checkObjCDirectMethodClashes()
4831 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration() local
4833 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
4834 ImpDecl->addInstanceMethod(ObjCMethod); in ActOnMethodDeclaration()
4836 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
4837 ImpDecl->addClassMethod(ObjCMethod); in ActOnMethodDeclaration()
4845 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) { in ActOnMethodDeclaration()
4878 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) { in ActOnMethodDeclaration()
4906 if (isa<ObjCCategoryImplDecl>(ImpDecl)) in ActOnMethodDeclaration()
4935 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() && in ActOnMethodDeclaration()
4942 checkObjCDirectMethodClashes(*this, IDecl, ObjCMethod, ImpDecl); in ActOnMethodDeclaration()