Lines Matching refs:ImpDecl

2115 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,  in CheckImplementationIvars()  argument
2118 assert(ImpDecl && "missing implementation decl"); in CheckImplementationIvars()
2119 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
2129 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2136 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2147 if (ImpDecl->getSuperClass()) in CheckImplementationIvars()
2148 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use); in CheckImplementationIvars()
2167 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2169 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
4653 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes() argument
4686 if (Impl != ImpDecl) in checkObjCDirectMethodClashes()
4694 if (CatImpl != ImpDecl) in checkObjCDirectMethodClashes()
4821 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration() local
4823 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
4824 ImpDecl->addInstanceMethod(ObjCMethod); in ActOnMethodDeclaration()
4826 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
4827 ImpDecl->addClassMethod(ObjCMethod); in ActOnMethodDeclaration()
4835 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) { in ActOnMethodDeclaration()
4867 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) { in ActOnMethodDeclaration()
4895 if (isa<ObjCCategoryImplDecl>(ImpDecl)) in ActOnMethodDeclaration()
4922 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() && in ActOnMethodDeclaration()
4929 checkObjCDirectMethodClashes(*this, IDecl, ObjCMethod, ImpDecl); in ActOnMethodDeclaration()