HomeSort by: relevance | last modified time | path
    Searched defs:Protocols (Results 1 - 13 of 13) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/APINotes/
APINotesYAMLCompiler.cpp 500 ClassesSeq Protocols;
513 IO.mapOptional("Protocols", TLI.Protocols);
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclObjC.cpp 120 /// found in the class, its protocols, its super classes or categories.
157 // Also look into protocols, for a user declared instance method.
171 for (const auto *PI : PD->protocols())
266 for (const auto *I : PID->protocols())
282 // Look through protocols.
295 // Look through protocols.
297 for (const auto *I : OCD->protocols())
367 /// with name 'PropertyId' in the primary class; including those in protocols
385 // Look through protocols.
447 // This is O(n*m). But it is extremely rare and number of protocols i
    [all...]
DeclPrinter.cpp 1369 // Protocols?
1370 const ObjCList<ObjCProtocolDecl> &Protocols = OID->getReferencedProtocols();
1371 if (!Protocols.empty()) {
1372 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
1373 E = Protocols.end(); I != E; ++I)
1374 Out << (I == Protocols.begin() ? '<' : ',') << **I;
1407 // Protocols?
1408 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols();
1409 if (!Protocols.empty()) {
1411 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin()
    [all...]
ODRHash.cpp 934 auto Protocols = T->getProtocols();
935 ID.AddInteger(Protocols.size());
936 for (auto Protocol : Protocols) {
952 auto Protocols = T->getProtocols();
953 ID.AddInteger(Protocols.size());
954 for (auto Protocol : Protocols) {
JSONNodeDumper.cpp 958 llvm::json::Array Protocols;
959 for (const auto* P : D->protocols())
960 Protocols.push_back(createBareDeclRef(P));
961 if (!Protocols.empty())
962 JOS.attribute("protocols", std::move(Protocols));
974 llvm::json::Array Protocols;
975 for (const auto *P : D->protocols())
976 Protocols.push_back(createBareDeclRef(P));
977 if (!Protocols.empty()
    [all...]
ASTImporter.cpp 1588 SmallVector<ObjCProtocolDecl *, 4> Protocols;
1591 Protocols.push_back(*ProtocolOrErr);
1598 Protocols,
4386 // Import protocols
4387 SmallVector<ObjCProtocolDecl *, 4> Protocols;
4396 Protocols.push_back(*ToProtoOrErr);
4407 ToCategory->setProtocolList(Protocols.data(), Protocols.size(),
4442 // Import protocols
4443 SmallVector<ObjCProtocolDecl *, 4> Protocols;
    [all...]
ASTContext.cpp 2567 /// CollectInheritedProtocols - Collect all protocols in current class and
2570 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {
2575 CollectInheritedProtocols(Proto, Protocols);
2580 CollectInheritedProtocols(Cat, Protocols);
2584 CollectInheritedProtocols(SD, Protocols);
2588 for (auto *Proto : OC->protocols()) {
2589 CollectInheritedProtocols(Proto, Protocols);
2593 if (!Protocols.insert(
2597 for (auto *Proto : OP->protocols())
2598 CollectInheritedProtocols(Proto, Protocols);
5183 ArrayRef<ObjCProtocolDecl *> protocols = protocolsVec; local
5270 SmallVector<ObjCProtocolDecl *, 8> protocols; local
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
ObjCMT.cpp 666 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols();
671 if (Protocols.empty()) {
837 // Find all implicit conforming protocols for this class
862 // Further reduce number of conforming protocols. If protocol P1 is in the list
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGObjCGNU.cpp 355 /// All of the protocols that have been declared.
422 /// and ObjC2 protocols. Objective-C 1 protocols can not contain optional
463 /// Generates a list of referenced protocols. Classes, categories, and
464 /// protocols all use this structure.
465 llvm::Constant *GenerateProtocolList(ArrayRef<std::string> Protocols);
467 /// To ensure that all protocols are seen by the runtime, we add a category on
469 /// protocols. This is a horribly ugly hack, but it allows us to collect all
470 /// of the protocols without changing the ABI.
483 llvm::Constant *Protocols,
    [all...]
CGObjCMac.cpp 893 /// Protocols - Protocols for which an objc_protocol structure has
896 llvm::DenseMap<IdentifierInfo*, llvm::GlobalVariable*> Protocols;
898 /// DefinedProtocols - Protocols which have actually been
1267 llvm::Constant *Protocols,
1301 /// protocols. The return value has type ProtocolListPtrTy.
1476 /// protocols. The return value has type ProtocolListPtrTy.
3044 if (Protocols.count(PD->getIdentifier()))
3088 llvm::GlobalVariable *Entry = Protocols[PD->getIdentifier()];
3127 Protocols[PD->getIdentifier()] = Entry
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 6119 /// const struct _protocol_list_t * protocol_list; // super protocols
6171 /// const struct _protocol_list_t *protocols;
6208 Result += "\tconst struct _protocol_list_t * protocol_list; // super protocols\n";
6256 Result += "\tconst struct _protocol_list_t *protocols;\n";
6849 /// RewriteObjCProtocolMetaData - Rewrite protocols meta-data.
6862 for (auto *I : PDecl->protocols())
6898 SmallVector<ObjCProtocolDecl *, 8> SuperProtocols(PDecl->protocols());
7069 // Protocols referenced in class declaration?
7072 const ObjCList<ObjCProtocolDecl> &Protocols = CDecl->getReferencedProtocols();
7073 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCodeComplete.cpp 1154 // Protocols are in distinct namespaces from everything else.
4732 // Add properties in referenced protocols.
4734 for (auto *P : Protocol->protocols())
4750 // Look through protocols.
4765 // Look through protocols.
4766 for (auto *P : Category->protocols())
5383 // Add properties from the protocols in a qualified interface.
6926 /// the superclasses of classes along with their categories, protocols, and
6974 // Visit the protocols of protocols
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderDecl.cpp 1125 // Read the directly referenced protocols and their SourceLocations.
1127 SmallVector<ObjCProtocolDecl *, 16> Protocols;
1128 Protocols.reserve(NumProtocols);
1130 Protocols.push_back(readDeclAs<ObjCProtocolDecl>());
1135 Data.ReferencedProtocols.set(Protocols.data(), NumProtocols, ProtoLocs.data(),
1138 // Read the transitive closure of protocols referenced by this class.
1140 Protocols.clear();
1141 Protocols.reserve(NumProtocols);
1143 Protocols.push_back(readDeclAs<ObjCProtocolDecl>());
1144 Data.AllReferencedProtocols.set(Protocols.data(), NumProtocols
    [all...]

Completed in 67 milliseconds