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()
4655 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes() argument
4688 if (Impl != ImpDecl) in checkObjCDirectMethodClashes()
4696 if (CatImpl != ImpDecl) in checkObjCDirectMethodClashes()
4823 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration() local
4825 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
4826 ImpDecl->addInstanceMethod(ObjCMethod); in ActOnMethodDeclaration()
4828 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
4829 ImpDecl->addClassMethod(ObjCMethod); in ActOnMethodDeclaration()
4837 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) { in ActOnMethodDeclaration()
4870 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) { in ActOnMethodDeclaration()
4898 if (isa<ObjCCategoryImplDecl>(ImpDecl)) in ActOnMethodDeclaration()
4927 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() && in ActOnMethodDeclaration()
4934 checkObjCDirectMethodClashes(*this, IDecl, ObjCMethod, ImpDecl); in ActOnMethodDeclaration()