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

  /src/external/apache2/llvm/dist/clang/lib/AST/
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...]
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) {
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...]
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...]
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...]
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...]
  /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/APINotes/
APINotesYAMLCompiler.cpp 500 ClassesSeq Protocols;
513 IO.mapOptional("Protocols", TLI.Protocols);
  /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...]
SemaType.cpp 1045 ArrayRef<ObjCProtocolDecl *> Protocols,
1050 if (!Protocols.empty()) {
1052 Result = Context.applyObjCProtocolQualifiers(Result, Protocols,
1072 ArrayRef<ObjCProtocolDecl *> Protocols,
1086 if (!Protocols.empty()) {
1088 Result = Context.applyObjCProtocolQualifiers(Result, Protocols,
1104 ArrayRef<Decl *> protocols,
1111 (ObjCProtocolDecl * const *)protocols.data(),
1112 protocols.size()),
1134 for (unsigned i = 0, n = protocols.size(); i != n; ++i
    [all...]
SemaDeclObjC.cpp 50 // We ignore protocols here. Should we? What about Class?
1093 // Check then save referenced protocols.
1108 /// of the protocols.
1267 /// Check then save referenced protocols.
1286 for (auto *PI : PDecl->protocols())
1294 /// FindProtocolDeclaration - This routine looks up protocols and
1296 /// protocol declarations in its 'Protocols' argument.
1300 SmallVectorImpl<Decl *> &Protocols) {
1338 Protocols.push_back(PDecl);
1344 // Objective-C protocols or valid Objective-C type arguments
    [all...]
TreeTransform.h 782 ArrayRef<ObjCProtocolDecl *> Protocols,
796 ArrayRef<ObjCProtocolDecl *> Protocols,
14129 ArrayRef<ObjCProtocolDecl *> Protocols,
14133 ProtocolLAngleLoc, Protocols,
14146 ArrayRef<ObjCProtocolDecl *> Protocols,
14151 ProtocolLAngleLoc, Protocols, ProtocolLocs,
  /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...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteObjC.cpp 3156 // advance to the end of the referenced protocols.
5086 /// RewriteObjCProtocolMetaData - Rewrite protocols meta-data.
5118 struct protocol_methods protocols[];
5153 struct protocol_methods protocols[];
5235 const ObjCList<ObjCProtocolDecl> &Protocols,
5238 if (Protocols.empty()) return;
5240 for (unsigned i = 0; i != Protocols.size(); i++)
5241 RewriteObjCProtocolMetaData(Protocols[i], prefix, ClassName, Result);
5254 Result += utostr(Protocols.size());
5261 Result += utostr(Protocols.size())
    [all...]
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/include/clang/AST/
ASTContext.h 940 /// base classes, its protocols, or its categories' protocols, that has
1155 ArrayRef<ObjCProtocolDecl *> protocols, bool &hasError,
1561 ObjCProtocolDecl * const *Protocols,
1566 ArrayRef<ObjCProtocolDecl *> protocols,
1570 ArrayRef<ObjCProtocolDecl *> protocols) const;
1576 /// QIdProtocolsAdoptObjCObjectProtocols - Checks that protocols in
1577 /// QT's qualified-id protocol list adopt all protocols in IDecl's list
1578 /// of protocols.
2363 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols);
    [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/Parse/
ParseObjc.cpp 277 assert(LAngleLoc.isInvalid() && "Cannot have already parsed protocols");
304 SmallVector<Decl *, 4> protocols; local
325 protocols, protocolLocs, EndProtoLoc,
336 // We already parsed the protocols named when we thought we had a
343 ProtocolIdents, protocols);
345 } else if (protocols.empty() && Tok.is(tok::less) &&
346 ParseObjCProtocolReferences(protocols, protocolLocs, true, true,
353 Actions.ActOnTypedefedProtocols(protocols, protocolLocs,
359 SourceRange(typeArgsLAngleLoc, typeArgsRAngleLoc), protocols.data(),
360 protocols.size(), protocolLocs.data(), EndProtoLoc, attrs)
1570 SmallVector<Decl *, 8> protocols; local
1667 protocols, local
1835 SmallVector<Decl *, 4> protocols; local
2172 SmallVector<Decl *, 4> protocols; local
2203 SmallVector<Decl *, 4> protocols; local
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Sema.h 9547 SmallVectorImpl<Decl *> &Protocols);
9569 SmallVectorImpl<Decl *> &protocols,
9577 ArrayRef<Decl *> protocols,
9590 ArrayRef<Decl *> Protocols,
9597 ArrayRef<ObjCProtocolDecl *> Protocols,
9609 ArrayRef<ObjCProtocolDecl *> Protocols,
12347 ArrayRef<IdentifierLocPair> Protocols);

Completed in 169 milliseconds