Lines Matching refs:ImpDecl
2096 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars() argument
2099 assert(ImpDecl && "missing implementation decl"); in CheckImplementationIvars()
2100 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
2110 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2112 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2123 if (ImpDecl->getSuperClass()) in CheckImplementationIvars()
2124 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use); in CheckImplementationIvars()
2143 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2145 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
4645 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration() local
4647 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
4648 ImpDecl->addInstanceMethod(ObjCMethod); in ActOnMethodDeclaration()
4650 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
4651 ImpDecl->addClassMethod(ObjCMethod); in ActOnMethodDeclaration()
4656 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) { in ActOnMethodDeclaration()
4662 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() && in ActOnMethodDeclaration()