Lines Matching defs:IDecl
335 } else if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(IIDecl)) {
336 (void)DiagnoseUseOfDecl(IDecl, NameLoc);
338 T = Context.getObjCInterfaceType(IDecl);
1445 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName);
1447 if (!IDecl && DoTypoCorrection) {
1454 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>();
1456 << Id << IDecl->getDeclName()
1457 << FixItHint::CreateReplacement(IdLoc, IDecl->getNameAsString());
1458 Diag(IDecl->getLocation(), diag::note_previous_decl)
1459 << IDecl->getDeclName();
1461 Id = IDecl->getIdentifier();
1464 ObjCInterfaceDecl *Def = dyn_cast_or_null<ObjCInterfaceDecl>(IDecl);
10801 Decl *Sema::ActOnObjCContainerStartDefinition(Decl *IDecl) {
10802 assert(isa<ObjCContainerDecl>(IDecl) &&
10804 DeclContext *OCD = cast<DeclContext>(IDecl);
10808 return IDecl;
11854 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface();
11856 if (IDecl) {
11858 IDecl->getIvarDecl(ClsFields[i]->getIdentifier())) {
11865 Ext = IDecl->known_extensions_begin(),
11866 ExtEnd = IDecl->known_extensions_end();