Lines Matching refs:Protocols
949 // Read the directly referenced protocols and their SourceLocations.
951 SmallVector<ObjCProtocolDecl *, 16> Protocols;
952 Protocols.reserve(NumProtocols);
954 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx));
959 ID->setProtocolList(Protocols.data(), NumProtocols, ProtoLocs.data(),
962 // Read the transitive closure of protocols referenced by this class.
964 Protocols.clear();
965 Protocols.reserve(NumProtocols);
967 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx));
968 ID->data().AllReferencedProtocols.set(Protocols.data(), NumProtocols,
2563 // Objective-C classes and protocols with the same name always match.