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