Searched refs:Protocols (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp951 llvm::json::Array Protocols; local
953 Protocols.push_back(createBareDeclRef(P));
954 if (!Protocols.empty())
955 JOS.attribute("protocols", std::move(Protocols));
967 llvm::json::Array Protocols; local
969 Protocols.push_back(createBareDeclRef(P));
970 if (!Protocols.empty())
971 JOS.attribute("protocols", std::move(Protocols));
979 llvm::json::Array Protocols; local
981 Protocols
[all...]
H A DODRHash.cpp934 auto Protocols = T->getProtocols(); local
935 ID.AddInteger(Protocols.size());
936 for (auto Protocol : Protocols) {
952 auto Protocols = T->getProtocols(); local
953 ID.AddInteger(Protocols.size());
954 for (auto Protocol : Protocols) {
H A DDeclPrinter.cpp1324 // Protocols?
1325 const ObjCList<ObjCProtocolDecl> &Protocols = OID->getReferencedProtocols(); local
1326 if (!Protocols.empty()) {
1327 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
1328 E = Protocols.end(); I != E; ++I)
1329 Out << (I == Protocols.begin() ? '<' : ',') << **I;
1362 // Protocols?
1363 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols(); local
1364 if (!Protocols.empty()) {
1366 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols
[all...]
H A DASTContext.cpp2480 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {
2485 CollectInheritedProtocols(Proto, Protocols);
2490 CollectInheritedProtocols(Cat, Protocols);
2494 CollectInheritedProtocols(SD, Protocols);
2499 CollectInheritedProtocols(Proto, Protocols);
2503 if (!Protocols.insert(
2508 CollectInheritedProtocols(Proto, Protocols);
4908 static bool areSortedAndUniqued(ArrayRef<ObjCProtocolDecl *> Protocols) { argument
4909 if (Protocols.empty()) return true;
4911 if (Protocols[
2479 CollectInheritedProtocols(const Decl *CDecl, llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) argument
4922 SortAndUniqueProtocols(SmallVectorImpl<ObjCProtocolDecl *> &Protocols) argument
4935 getObjCObjectType(QualType BaseType, ObjCProtocolDecl * const *Protocols, unsigned NumProtocols) const argument
8931 SmallVector<ObjCProtocolDecl *, 8> Protocols; local
8982 SmallVector<ObjCProtocolDecl *, 8> Protocols; local
[all...]
H A DASTImporter.cpp1566 SmallVector<ObjCProtocolDecl *, 4> Protocols; local
1569 Protocols.push_back(*ProtocolOrErr);
1576 Protocols,
4277 SmallVector<ObjCProtocolDecl *, 4> Protocols;
4286 Protocols.push_back(*ToProtoOrErr);
4297 ToCategory->setProtocolList(Protocols.data(), Protocols.size(),
4333 SmallVector<ObjCProtocolDecl *, 4> Protocols;
4342 Protocols.push_back(*ToProtoOrErr);
4354 To->setProtocolList(Protocols
[all...]
H A DDeclObjC.cpp719 const ObjCList<ObjCProtocolDecl> &Protocols = local
721 for (auto *Protocol : Protocols)
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp475 llvm::Constant *GenerateProtocolList(ArrayRef<std::string> Protocols);
493 llvm::Constant *Protocols,
1200 SmallVector<llvm::Constant*, 16> Protocols; variable
1202 Protocols.push_back(
1205 return GenerateProtocolList(Protocols);
1341 llvm::Constant *GenerateProtocolList(ArrayRef<llvm::Constant*> Protocols) { argument
1343 Protocols.size());
1345 Protocols);
1349 ProtocolBuilder.addInt(SizeTy, Protocols.size());
1383 SmallVector<llvm::Constant*, 16> Protocols; variable
1923 SmallVector<llvm::Constant*, 16> Protocols; variable
2887 GenerateClassStructure( llvm::Constant *MetaClass, llvm::Constant *SuperClass, unsigned info, const char *Name, llvm::Constant *Version, llvm::Constant *InstanceSize, llvm::Constant *IVars, llvm::Constant *Methods, llvm::Constant *Protocols, llvm::Constant *IvarOffsets, llvm::Constant *Properties, llvm::Constant *StrongIvarBitmap, llvm::Constant *WeakIvarBitmap, bool isMeta) argument
3022 GenerateProtocolList(ArrayRef<std::string> Protocols) argument
3097 SmallVector<std::string, 16> Protocols; local
3243 SmallVector<std::string, 16> Protocols; local
3517 SmallVector<std::string, 16> Protocols; local
[all...]
H A DCGObjCMac.cpp891 /// Protocols - Protocols for which an objc_protocol structure has
894 llvm::DenseMap<IdentifierInfo*, llvm::GlobalVariable*> Protocols; member in class:__anon1740::CGObjCCommonMac
896 /// DefinedProtocols - Protocols which have actually been
1272 llvm::Constant *Protocols,
3027 if (Protocols.count(PD->getIdentifier()))
3071 llvm::GlobalVariable *Entry = Protocols[PD->getIdentifier()];
3110 Protocols[PD->getIdentifier()] = Entry;
3118 llvm::GlobalVariable *&Entry = Protocols[PD->getIdentifier()];
3558 llvm::Constant *Protocols local
3651 EmitMetaClass(const ObjCImplementationDecl *ID, llvm::Constant *Protocols, ArrayRef<const ObjCMethodDecl*> Methods) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp1125 // Protocols are in distinct namespaces from everything else.
6794 const ObjCList<ObjCProtocolDecl> &Protocols = local
6796 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
6797 E = Protocols.end();
6819 const ObjCList<ObjCProtocolDecl> &Protocols = local
6821 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
6822 E = Protocols.end();
7657 ArrayRef<IdentifierLocPair> Protocols) {
7668 for (const IdentifierLocPair &Pair : Protocols)
8011 const ObjCList<ObjCProtocolDecl> &Protocols local
7656 CodeCompleteObjCProtocolReferences( ArrayRef<IdentifierLocPair> Protocols) argument
8034 const ObjCList<ObjCProtocolDecl> &Protocols = local
8057 const ObjCList<ObjCProtocolDecl> &Protocols = local
[all...]
H A DSemaType.cpp1043 ArrayRef<ObjCProtocolDecl *> Protocols,
1048 if (!Protocols.empty()) {
1050 Result = Context.applyObjCProtocolQualifiers(Result, Protocols,
1070 ArrayRef<ObjCProtocolDecl *> Protocols,
1084 if (!Protocols.empty()) {
1086 Result = Context.applyObjCProtocolQualifiers(Result, Protocols,
1147 ArrayRef<Decl *> Protocols,
1178 llvm::makeArrayRef((ObjCProtocolDecl * const *)Protocols.data(),
1179 Protocols.size()),
1201 assert(OTPTL.getNumProtocols() == Protocols
1041 BuildObjCTypeParamType(const ObjCTypeParamDecl *Decl, SourceLocation ProtocolLAngleLoc, ArrayRef<ObjCProtocolDecl *> Protocols, ArrayRef<SourceLocation> ProtocolLocs, SourceLocation ProtocolRAngleLoc, bool FailOnError) argument
1064 BuildObjCObjectType(QualType BaseType, SourceLocation Loc, SourceLocation TypeArgsLAngleLoc, ArrayRef<TypeSourceInfo *> TypeArgs, SourceLocation TypeArgsRAngleLoc, SourceLocation ProtocolLAngleLoc, ArrayRef<ObjCProtocolDecl *> Protocols, ArrayRef<SourceLocation> ProtocolLocs, SourceLocation ProtocolRAngleLoc, bool FailOnError) argument
1139 actOnObjCTypeArgsAndProtocolQualifiers( Scope *S, SourceLocation Loc, ParsedType BaseType, SourceLocation TypeArgsLAngleLoc, ArrayRef<ParsedType> TypeArgs, SourceLocation TypeArgsRAngleLoc, SourceLocation ProtocolLAngleLoc, ArrayRef<Decl *> Protocols, ArrayRef<SourceLocation> ProtocolLocs, SourceLocation ProtocolRAngleLoc) argument
[all...]
H A DSemaDeclObjC.cpp1291 /// protocol declarations in its 'Protocols' argument.
1295 SmallVectorImpl<Decl *> &Protocols) {
1333 Protocols.push_back(PDecl);
1880 // Protocols in the class extension belong to the class.
1293 FindProtocolDeclaration(bool WarnOnDeclarations, bool ForObjCContainer, ArrayRef<IdentifierLocPair> ProtocolId, SmallVectorImpl<Decl *> &Protocols) argument
H A DTreeTransform.h780 ArrayRef<ObjCProtocolDecl *> Protocols,
794 ArrayRef<ObjCProtocolDecl *> Protocols,
13823 ArrayRef<ObjCProtocolDecl *> Protocols,
13827 ProtocolLAngleLoc, Protocols,
13840 ArrayRef<ObjCProtocolDecl *> Protocols,
13845 ProtocolLAngleLoc, Protocols, ProtocolLocs,
13820 RebuildObjCTypeParamType( const ObjCTypeParamDecl *Decl, SourceLocation ProtocolLAngleLoc, ArrayRef<ObjCProtocolDecl *> Protocols, ArrayRef<SourceLocation> ProtocolLocs, SourceLocation ProtocolRAngleLoc) argument
13833 RebuildObjCObjectType( QualType BaseType, SourceLocation Loc, SourceLocation TypeArgsLAngleLoc, ArrayRef<TypeSourceInfo *> TypeArgs, SourceLocation TypeArgsRAngleLoc, SourceLocation ProtocolLAngleLoc, ArrayRef<ObjCProtocolDecl *> Protocols, ArrayRef<SourceLocation> ProtocolLocs, SourceLocation ProtocolRAngleLoc) argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1118 SmallVector<ObjCProtocolDecl *, 16> Protocols; local
1119 Protocols.reserve(NumProtocols);
1121 Protocols.push_back(readDeclAs<ObjCProtocolDecl>());
1126 Data.ReferencedProtocols.set(Protocols.data(), NumProtocols, ProtoLocs.data(),
1131 Protocols.clear();
1132 Protocols.reserve(NumProtocols);
1134 Protocols.push_back(readDeclAs<ObjCProtocolDecl>());
1135 Data.AllReferencedProtocols.set(Protocols.data(), NumProtocols,
1268 // Protocols in the class extension belong to the class.
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5229 const ObjCList<ObjCProtocolDecl> &Protocols,
5232 if (Protocols.empty()) return;
5234 for (unsigned i = 0; i != Protocols.size(); i++)
5235 RewriteObjCProtocolMetaData(Protocols[i], prefix, ClassName, Result);
5248 Result += utostr(Protocols.size());
5255 Result += utostr(Protocols.size());
5259 Result += Protocols[0]->getNameAsString();
5262 for (unsigned i = 1; i != Protocols.size(); i++) {
5264 Result += Protocols[i]->getNameAsString();
5385 // Protocols reference
5228 RewriteObjCProtocolListMetaData( const ObjCList<ObjCProtocolDecl> &Protocols, StringRef prefix, StringRef ClassName, std::string &Result) argument
[all...]
H A DRewriteModernObjC.cpp7062 // Protocols referenced in class declaration?
7065 const ObjCList<ObjCProtocolDecl> &Protocols = CDecl->getReferencedProtocols(); local
7066 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
7067 E = Protocols.end();
7310 // Protocols referenced in class declaration?
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1494 ObjCProtocolDecl * const *Protocols,
2265 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp668 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols(); local
673 if (Protocols.empty()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp1522 ParseObjCProtocolReferences(SmallVectorImpl<Decl *> &Protocols, argument
1560 ProtocolIdents, Protocols);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9271 SmallVectorImpl<Decl *> &Protocols);
9314 ArrayRef<Decl *> Protocols,
9321 ArrayRef<ObjCProtocolDecl *> Protocols,
9333 ArrayRef<ObjCProtocolDecl *> Protocols,
12038 ArrayRef<IdentifierLocPair> Protocols);

Completed in 541 milliseconds