Lines Matching refs:ImpDecl
1080 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars() argument
1083 assert(ImpDecl && "missing implementation decl"); in CheckImplementationIvars()
1084 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
1094 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
1096 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
1107 if (ImpDecl->getSuperClass()) in CheckImplementationIvars()
1108 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use); in CheckImplementationIvars()
1118 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
1120 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
2979 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration() local
2981 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
2982 ImpDecl->addInstanceMethod(ObjCMethod); in ActOnMethodDeclaration()
2984 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
2985 ImpDecl->addClassMethod(ObjCMethod); in ActOnMethodDeclaration()
2989 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) in ActOnMethodDeclaration()