Lines Matching defs:ImpDecl
2135 void SemaObjC::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
2138 assert(ImpDecl && "missing implementation decl");
2140 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface();
2150 ivars[i]->setLexicalDeclContext(ImpDecl);
2157 ImpDecl->addDecl(ivars[i]);
2168 if (ImpDecl->getSuperClass())
2169 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use);
2188 ImplIvar->setLexicalDeclContext(ImpDecl);
2190 ImpDecl->addDecl(ImplIvar);
4673 ObjCImplDecl *ImpDecl = nullptr) {
4706 if (Impl != ImpDecl)
4714 if (CatImpl != ImpDecl)
4851 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) {
4853 PrevMethod = ImpDecl->getInstanceMethod(Sel);
4854 ImpDecl->addInstanceMethod(ObjCMethod);
4856 PrevMethod = ImpDecl->getClassMethod(Sel);
4857 ImpDecl->addClassMethod(ObjCMethod);
4865 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) {
4898 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) {
4926 if (isa<ObjCCategoryImplDecl>(ImpDecl))
4955 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() &&
4962 checkObjCDirectMethodClashes(SemaRef, IDecl, ObjCMethod, ImpDecl);