Lines Matching defs:ImpDecl
2136 void SemaObjC::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
2139 assert(ImpDecl && "missing implementation decl");
2141 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface();
2151 ivars[i]->setLexicalDeclContext(ImpDecl);
2158 ImpDecl->addDecl(ivars[i]);
2169 if (ImpDecl->getSuperClass())
2170 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use);
2189 ImplIvar->setLexicalDeclContext(ImpDecl);
2191 ImpDecl->addDecl(ImplIvar);
4682 ObjCImplDecl *ImpDecl = nullptr) {
4715 if (Impl != ImpDecl)
4723 if (CatImpl != ImpDecl)
4856 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) {
4858 PrevMethod = ImpDecl->getInstanceMethod(Sel);
4859 ImpDecl->addInstanceMethod(ObjCMethod);
4861 PrevMethod = ImpDecl->getClassMethod(Sel);
4862 ImpDecl->addClassMethod(ObjCMethod);
4870 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) {
4903 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) {
4931 if (isa<ObjCCategoryImplDecl>(ImpDecl))
4960 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() &&
4967 checkObjCDirectMethodClashes(SemaRef, IDecl, ObjCMethod, ImpDecl);