Lines Matching refs:ImpDecl
1150 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars() argument
1153 assert(ImpDecl && "missing implementation decl"); in CheckImplementationIvars()
1154 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
1164 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
1166 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
1177 if (ImpDecl->getSuperClass()) in CheckImplementationIvars()
1178 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use); in CheckImplementationIvars()
1197 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
1199 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
3165 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration() local
3167 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
3168 ImpDecl->addInstanceMethod(ObjCMethod); in ActOnMethodDeclaration()
3170 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
3171 ImpDecl->addClassMethod(ObjCMethod); in ActOnMethodDeclaration()
3175 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) in ActOnMethodDeclaration()
3184 if (isa<ObjCCategoryImplDecl>(ImpDecl)) { in ActOnMethodDeclaration()