• Home
  • Raw
  • Download

Lines Matching refs:PDecl

614     if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(),  in CheckForwardProtocolDeclarationForCircularDependency()  local
616 if (PDecl->getIdentifier() == PName) { in CheckForwardProtocolDeclarationForCircularDependency()
622 if (!PDecl->hasDefinition()) in CheckForwardProtocolDeclarationForCircularDependency()
626 PDecl->getLocation(), PDecl->getReferencedProtocols())) in CheckForwardProtocolDeclarationForCircularDependency()
647 ObjCProtocolDecl *PDecl = 0; in ActOnStartProtocolInterface() local
657 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface()
660 PDecl->startDefinition(); in ActOnStartProtocolInterface()
672 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface()
676 PushOnScopeChains(PDecl, TUScope); in ActOnStartProtocolInterface()
677 PDecl->startDefinition(); in ActOnStartProtocolInterface()
681 ProcessDeclAttributeList(TUScope, PDecl, AttrList); in ActOnStartProtocolInterface()
685 mergeDeclAttributes(PDecl, PrevDecl); in ActOnStartProtocolInterface()
689 PDecl->setProtocolList((ObjCProtocolDecl*const*)ProtoRefs, NumProtoRefs, in ActOnStartProtocolInterface()
693 CheckObjCDeclScope(PDecl); in ActOnStartProtocolInterface()
694 return ActOnObjCContainerStartDefinition(PDecl); in ActOnStartProtocolInterface()
706 ObjCProtocolDecl *PDecl = LookupProtocol(ProtocolId[i].first, in FindProtocolDeclaration() local
708 if (!PDecl) { in FindProtocolDeclaration()
713 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) { in FindProtocolDeclaration()
716 Diag(PDecl->getLocation(), diag::note_previous_decl) in FindProtocolDeclaration()
717 << PDecl->getDeclName(); in FindProtocolDeclaration()
721 if (!PDecl) { in FindProtocolDeclaration()
727 (void)DiagnoseUseOfDecl(PDecl, ProtocolId[i].second); in FindProtocolDeclaration()
731 if (WarnOnDeclarations && !PDecl->hasDefinition()) in FindProtocolDeclaration()
734 Protocols.push_back(PDecl); in FindProtocolDeclaration()
778 ObjCProtocolDecl *PDecl in ActOnForwardProtocolDeclaration() local
783 PushOnScopeChains(PDecl, TUScope); in ActOnForwardProtocolDeclaration()
784 CheckObjCDeclScope(PDecl); in ActOnForwardProtocolDeclaration()
787 ProcessDeclAttributeList(TUScope, PDecl, attrList); in ActOnForwardProtocolDeclaration()
790 mergeDeclAttributes(PDecl, PrevDecl); in ActOnForwardProtocolDeclaration()
792 DeclsInGroup.push_back(PDecl); in ActOnForwardProtocolDeclaration()
1543 ObjCProtocolDecl *PDecl, in CheckProtocolMethodDefs() argument
1578 for (ObjCProtocolDecl::instmeth_iterator I = PDecl->instmeth_begin(), in CheckProtocolMethodDefs()
1579 E = PDecl->instmeth_end(); I != E; ++I) { in CheckProtocolMethodDefs()
1606 << PDecl->getDeclName(); in CheckProtocolMethodDefs()
1612 I = PDecl->classmeth_begin(), E = PDecl->classmeth_end(); in CheckProtocolMethodDefs()
1629 PDecl->getDeclName(); in CheckProtocolMethodDefs()
1634 for (ObjCProtocolDecl::protocol_iterator PI = PDecl->protocol_begin(), in CheckProtocolMethodDefs()
1635 E = PDecl->protocol_end(); PI != E; ++PI) in CheckProtocolMethodDefs()