Lines Matching defs:protocols
301 assert(LAngleLoc.isInvalid() && "Cannot have already parsed protocols");
328 SmallVector<Decl *, 4> protocols;
350 protocols, protocolLocs, EndProtoLoc,
361 // We already parsed the protocols named when we thought we had a
368 ProtocolIdents, protocols);
370 } else if (protocols.empty() && Tok.is(tok::less) &&
371 ParseObjCProtocolReferences(protocols, protocolLocs, true, true,
378 Actions.ObjC().ActOnTypedefedProtocols(protocols, protocolLocs,
385 SourceRange(typeArgsLAngleLoc, typeArgsRAngleLoc), protocols.data(),
386 protocols.size(), protocolLocs.data(), EndProtoLoc, attrs, &SkipBody);
766 // This is only valid on protocols.
1617 // Convert the list of protocols identifiers into a list of protocol decls.
1628 SmallVector<Decl *, 8> protocols;
1630 (void)ParseObjCProtocolReferences(protocols, protocolLocs, false, false,
1634 lAngleLoc, protocols, protocolLocs, rAngleLoc);
1655 SmallVectorImpl<Decl *> &protocols,
1660 assert(Tok.is(tok::less) && "Not at the start of type args or protocols");
1664 // identifiers, which might be types or might be protocols.
1707 // whether it refers to protocols or to type arguments.
1718 protocolLAngleLoc, protocols, protocolRAngleLoc,
1795 // Diagnose the mix between type args and protocols.
1829 SmallVectorImpl<Decl *> &protocols,
1841 protocols,
1859 if (!protocols.empty()) {
1867 ParseObjCProtocolReferences(protocols, protocolLocs,
1886 SmallVector<Decl *, 4> protocols;
1893 protocols, protocolLocs,
1907 protocolLAngleLoc, protocols, protocolLocs, protocolRAngleLoc);
2230 SmallVector<Decl *, 4> protocols;
2232 (void)ParseObjCProtocolReferences(protocols, protocolLocs,
2261 SmallVector<Decl *, 4> protocols;
2263 (void)ParseObjCProtocolReferences(protocols, protocolLocs,