Lines Matching defs:ImpDecl
2115 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
2118 assert(ImpDecl && "missing implementation decl");
2119 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface();
2129 ivars[i]->setLexicalDeclContext(ImpDecl);
2136 ImpDecl->addDecl(ivars[i]);
2147 if (ImpDecl->getSuperClass())
2148 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use);
2167 ImplIvar->setLexicalDeclContext(ImpDecl);
2169 ImpDecl->addDecl(ImplIvar);
4655 ObjCImplDecl *ImpDecl = nullptr) {
4688 if (Impl != ImpDecl)
4696 if (CatImpl != ImpDecl)
4823 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) {
4825 PrevMethod = ImpDecl->getInstanceMethod(Sel);
4826 ImpDecl->addInstanceMethod(ObjCMethod);
4828 PrevMethod = ImpDecl->getClassMethod(Sel);
4829 ImpDecl->addClassMethod(ObjCMethod);
4837 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) {
4870 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) {
4898 if (isa<ObjCCategoryImplDecl>(ImpDecl))
4927 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() &&
4934 checkObjCDirectMethodClashes(*this, IDecl, ObjCMethod, ImpDecl);