Home | History | Annotate | Download | only in Sema

Lines Matching refs:IMPDecl

1036   ObjCImplementationDecl* IMPDecl =
1040 if (CheckObjCDeclScope(IMPDecl))
1041 return ActOnObjCContainerStartDefinition(IMPDecl);
1050 IDecl->setImplementation(IMPDecl);
1051 PushOnScopeChains(IMPDecl, TUScope);
1056 IMPDecl->getLocation(), 1);
1058 return ActOnObjCContainerStartDefinition(IMPDecl);
1080 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
1083 assert(ImpDecl && "missing implementation decl");
1084 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface();
1094 ivars[i]->setLexicalDeclContext(ImpDecl);
1096 ImpDecl->addDecl(ivars[i]);
1107 if (ImpDecl->getSuperClass())
1108 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use);
1118 ImplIvar->setLexicalDeclContext(ImpDecl);
1120 ImpDecl->addDecl(ImplIvar);
1673 ObjCImplDecl* IMPDecl,
1688 WarnUndefinedMethod(IMPDecl->getLocation(), *I, IncompleteImpl,
1693 IMPDecl->getInstanceMethod((*I)->getSelector());
1718 WarnUndefinedMethod(IMPDecl->getLocation(), *I, IncompleteImpl,
1722 IMPDecl->getClassMethod((*I)->getSelector());
1745 IMPDecl, *Cat, IncompleteImpl, false,
1755 IMPDecl, *Ext, IncompleteImpl, false,
1765 IMPDecl,
1773 IMPDecl,
1812 void Sema::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl,
1819 I = IMPDecl->instmeth_begin(), E = IMPDecl->instmeth_end(); I!=E; ++I)
1829 DiagnoseUnimplementedProperties(S, IMPDecl, CDecl, InsMap);
1833 I = IMPDecl->classmeth_begin(),
1834 E = IMPDecl->classmeth_end(); I != E; ++I)
1841 IMPDecl, CDecl,
1847 dyn_cast<ObjCCategoryImplDecl>(IMPDecl))
1859 CheckProtocolMethodDefs(IMPDecl->getLocation(), *PI, IncompleteImpl,
1866 ImplMethodsVsClassMethods(S, IMPDecl, *Ext, IncompleteImpl);
1874 CheckProtocolMethodDefs(IMPDecl->getLocation(), *PI, IncompleteImpl,
1886 DiagnoseUnimplementedProperties(S, IMPDecl, CDecl, InsMap);
2979 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) {
2981 PrevMethod = ImpDecl->getInstanceMethod(Sel);
2982 ImpDecl->addInstanceMethod(ObjCMethod);
2984 PrevMethod = ImpDecl->getClassMethod(Sel);
2985 ImpDecl->addClassMethod(ObjCMethod);
2989 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface())