Lines Matching defs:protocols
302 assert(LAngleLoc.isInvalid() && "Cannot have already parsed protocols");
329 SmallVector<Decl *, 4> protocols;
351 protocols, protocolLocs, EndProtoLoc,
362 // We already parsed the protocols named when we thought we had a
369 ProtocolIdents, protocols);
371 } else if (protocols.empty() && Tok.is(tok::less) &&
372 ParseObjCProtocolReferences(protocols, protocolLocs, true, true,
379 Actions.ObjC().ActOnTypedefedProtocols(protocols, protocolLocs,
386 SourceRange(typeArgsLAngleLoc, typeArgsRAngleLoc), protocols.data(),
387 protocols.size(), protocolLocs.data(), EndProtoLoc, attrs, &SkipBody);
767 // This is only valid on protocols.
1629 // Convert the list of protocols identifiers into a list of protocol decls.
1640 SmallVector<Decl *, 8> protocols;
1642 (void)ParseObjCProtocolReferences(protocols, protocolLocs, false, false,
1646 lAngleLoc, protocols, protocolLocs, rAngleLoc);
1667 SmallVectorImpl<Decl *> &protocols,
1672 assert(Tok.is(tok::less) && "Not at the start of type args or protocols");
1676 // identifiers, which might be types or might be protocols.
1719 // whether it refers to protocols or to type arguments.
1730 protocolLAngleLoc, protocols, protocolRAngleLoc,
1807 // Diagnose the mix between type args and protocols.
1841 SmallVectorImpl<Decl *> &protocols,
1853 protocols,
1871 if (!protocols.empty()) {
1879 ParseObjCProtocolReferences(protocols, protocolLocs,
1898 SmallVector<Decl *, 4> protocols;
1905 protocols, protocolLocs,
1919 protocolLAngleLoc, protocols, protocolLocs, protocolRAngleLoc);
2242 SmallVector<Decl *, 4> protocols;
2244 (void)ParseObjCProtocolReferences(protocols, protocolLocs,
2273 SmallVector<Decl *, 4> protocols;
2275 (void)ParseObjCProtocolReferences(protocols, protocolLocs,