Lines Matching refs:Protocol
3554 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
3555 if (Protocol->hasDefinition())
3556 return Protocol->getDefinition();
3558 return Protocol;
3605 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
3606 for (auto *P : Protocol->protocols())
4611 // Since we have an interface or protocol, we can end it.
4646 // @protocol name
4647 Builder.AddTypedTextChunk(OBJC_AT_KEYWORD_NAME(NeedAt,"protocol"));
4649 Builder.AddPlaceholderChunk("protocol");
4710 // @protocol ( protocol-name )
4711 Builder.AddResultTypeChunk("Protocol *");
4712 Builder.AddTypedTextChunk(OBJC_AT_KEYWORD_NAME(NeedAt,"protocol"));
4714 Builder.AddPlaceholderChunk("protocol-name");
4997 /// The container will be a class, protocol, category, or implementation of
5050 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
5051 if (Protocol->hasDefinition()) {
5053 = Protocol->getReferencedProtocols();
5076 // Add a categories protocol methods.
5913 /// \brief Add all of the protocol declarations that we find in the given
5942 if (ObjCProtocolDecl *Protocol = LookupProtocol(Protocols[I].first,
5944 Results.Ignore(Protocol);
6331 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
6333 if (!Protocol->hasDefinition())
6335 Protocol = Protocol->getDefinition();
6336 Container = Protocol;
6340 = Protocol->getReferencedProtocols();