Lines Matching defs:IDecl
297 } else if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(IIDecl)) {
298 (void)DiagnoseUseOfDecl(IDecl, NameLoc);
300 T = Context.getObjCInterfaceType(IDecl);
1294 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName);
1296 if (!IDecl && DoTypoCorrection) {
1303 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>();
1305 << Id << IDecl->getDeclName()
1306 << FixItHint::CreateReplacement(IdLoc, IDecl->getNameAsString());
1307 IDecl->getLocation(), diag::note_previous_decl)
1308 << IDecl->getDeclName();
1310 Id = IDecl->getIdentifier();
1313 ObjCInterfaceDecl *Def = dyn_cast_or_null<ObjCInterfaceDecl>(IDecl);
8668 Decl *Sema::ActOnObjCContainerStartDefinition(Decl *IDecl) {
8669 assert(isa<ObjCContainerDecl>(IDecl) &&
8671 DeclContext *OCD = cast<DeclContext>(IDecl);
8675 return IDecl;
9834 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface();
9836 if (IDecl) {
9838 IDecl->getIvarDecl(ClsFields[i]->getIdentifier())) {
9845 IDecl->getFirstClassExtension();