Lines Matching defs:Protocols
1004 // Read the directly referenced protocols and their SourceLocations.
1006 SmallVector<ObjCProtocolDecl *, 16> Protocols;
1007 Protocols.reserve(NumProtocols);
1009 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx));
1014 ID->setProtocolList(Protocols.data(), NumProtocols, ProtoLocs.data(),
1017 // Read the transitive closure of protocols referenced by this class.
1019 Protocols.clear();
1020 Protocols.reserve(NumProtocols);
1022 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx));
1023 ID->data().AllReferencedProtocols.set(Protocols.data(), NumProtocols,
2655 // Objective-C classes and protocols with the same name always match.