Lines Matching refs:ImpDecl
2134 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars() argument
2137 assert(ImpDecl && "missing implementation decl"); in CheckImplementationIvars()
2138 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
2148 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2155 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2166 if (ImpDecl->getSuperClass()) in CheckImplementationIvars()
2167 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use); in CheckImplementationIvars()
2186 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2188 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
4675 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes() argument
4708 if (Impl != ImpDecl) in checkObjCDirectMethodClashes()
4716 if (CatImpl != ImpDecl) in checkObjCDirectMethodClashes()
4843 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration() local
4845 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
4846 ImpDecl->addInstanceMethod(ObjCMethod); in ActOnMethodDeclaration()
4848 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
4849 ImpDecl->addClassMethod(ObjCMethod); in ActOnMethodDeclaration()
4857 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) { in ActOnMethodDeclaration()
4890 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) { in ActOnMethodDeclaration()
4918 if (isa<ObjCCategoryImplDecl>(ImpDecl)) in ActOnMethodDeclaration()
4947 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() && in ActOnMethodDeclaration()
4954 checkObjCDirectMethodClashes(*this, IDecl, ObjCMethod, ImpDecl); in ActOnMethodDeclaration()