/external/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 1149 // Protocols? 1150 const ObjCList<ObjCProtocolDecl> &Protocols = OID->getReferencedProtocols(); local 1151 if (!Protocols.empty()) { 1152 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(), 1153 E = Protocols.end(); I != E; ++I) 1154 Out << (I == Protocols.begin() ? '<' : ',') << **I; 1187 // Protocols? 1188 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols(); local 1189 if (!Protocols.empty()) { 1191 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols [all...] |
H A D | DeclObjC.cpp | 689 const ObjCList<ObjCProtocolDecl> &Protocols = local 691 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(), 692 E = Protocols.end(); I != E; ++I)
|
H A D | ASTImporter.cpp | 1972 SmallVector<ObjCProtocolDecl *, 4> Protocols; local 1978 Protocols.push_back(Protocol); 1982 Protocols, 3728 SmallVector<ObjCProtocolDecl *, 4> Protocols; local 3740 Protocols.push_back(ToProto); 3745 ToCategory->setProtocolList(Protocols.data(), Protocols.size(), 3782 SmallVector<ObjCProtocolDecl *, 4> Protocols; local 3794 Protocols.push_back(ToProto); 3799 To->setProtocolList(Protocols 3942 SmallVector<ObjCProtocolDecl *, 4> Protocols; local [all...] |
H A D | ASTContext.cpp | 1972 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) { 1977 CollectInheritedProtocols(Proto, Protocols); 1982 CollectInheritedProtocols(Cat, Protocols); 1986 CollectInheritedProtocols(SD, Protocols); 1991 CollectInheritedProtocols(Proto, Protocols); 1995 if (!Protocols.insert( 2000 CollectInheritedProtocols(Proto, Protocols); 3686 static bool areSortedAndUniqued(ArrayRef<ObjCProtocolDecl *> Protocols) { argument 3687 if (Protocols.empty()) return true; 3689 if (Protocols[ 1971 CollectInheritedProtocols(const Decl *CDecl, llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) argument 3700 SortAndUniqueProtocols(SmallVectorImpl<ObjCProtocolDecl *> &Protocols) argument 3713 getObjCObjectType(QualType BaseType, ObjCProtocolDecl * const *Protocols, unsigned NumProtocols) const argument 7223 SmallVector<ObjCProtocolDecl *, 8> Protocols; local 7274 SmallVector<ObjCProtocolDecl *, 8> Protocols; local [all...] |
/external/clang/lib/Parse/ |
H A D | ParseObjc.cpp | 1544 ParseObjCProtocolReferences(SmallVectorImpl<Decl *> &Protocols, argument 1583 ProtocolIdents, Protocols);
|
/external/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 665 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols(); local 670 if (Protocols.empty()) {
|
/external/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 428 llvm::Constant *GenerateProtocolList(ArrayRef<std::string> Protocols); 446 llvm::Constant *Protocols, 1616 llvm::Constant *Protocols, 1672 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy)); 1725 llvm::Constant *CGObjCGNU::GenerateProtocolList(ArrayRef<std::string>Protocols){ 1727 Protocols.size()); 1734 for (const std::string *iter = Protocols.begin(), *endIter = Protocols.end(); 1752 Elements.push_back(llvm::ConstantInt::get(LongTy, Protocols.size())); 1774 // Protocols ar 1607 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 1803 SmallVector<std::string, 16> Protocols; local 2064 SmallVector<std::string, 16> Protocols; local 2292 SmallVector<std::string, 16> Protocols; local [all...] |
H A D | CGObjCMac.cpp | 858 /// Protocols - Protocols for which an objc_protocol structure has 861 llvm::DenseMap<IdentifierInfo*, llvm::GlobalVariable*> Protocols; member in class:__anon1231::CGObjCCommonMac 863 /// DefinedProtocols - Protocols which have actually been 1125 llvm::Constant *Protocols, 2675 if (Protocols.count(PD->getIdentifier())) 2718 llvm::GlobalVariable *Entry = Protocols[PD->getIdentifier()]; 2794 Protocols[PD->getIdentifier()] = Entry; 2802 llvm::GlobalVariable *&Entry = Protocols[PD->getIdentifier()]; 3263 llvm::Constant *Protocols local 3356 EmitMetaClass(const ObjCImplementationDecl *ID, llvm::Constant *Protocols, ArrayRef<llvm::Constant*> Methods) argument [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1006 SmallVector<ObjCProtocolDecl *, 16> Protocols; local 1007 Protocols.reserve(NumProtocols); 1009 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); 1014 ID->setProtocolList(Protocols.data(), NumProtocols, ProtoLocs.data(), 1019 Protocols.clear(); 1020 Protocols.reserve(NumProtocols); 1022 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); 1023 ID->data().AllReferencedProtocols.set(Protocols.data(), NumProtocols,
|
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 5227 const ObjCList<ObjCProtocolDecl> &Protocols, 5230 if (Protocols.empty()) return; 5232 for (unsigned i = 0; i != Protocols.size(); i++) 5233 RewriteObjCProtocolMetaData(Protocols[i], prefix, ClassName, Result); 5246 Result += utostr(Protocols.size()); 5253 Result += utostr(Protocols.size()); 5257 Result += Protocols[0]->getNameAsString(); 5260 for (unsigned i = 1; i != Protocols.size(); i++) { 5262 Result += Protocols[i]->getNameAsString(); 5383 // Protocols reference 5226 RewriteObjCProtocolListMetaData( const ObjCList<ObjCProtocolDecl> &Protocols, StringRef prefix, StringRef ClassName, std::string &Result) argument [all...] |
H A D | RewriteModernObjC.cpp | 7069 // Protocols referenced in class declaration? 7072 const ObjCList<ObjCProtocolDecl> &Protocols = CDecl->getReferencedProtocols(); local 7073 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(), 7074 E = Protocols.end(); 7317 // Protocols referenced in class declaration?
|
/external/clang/lib/Sema/ |
H A D | SemaCodeComplete.cpp | 898 // Protocols are in distinct namespaces from everything else. 5072 const ObjCList<ObjCProtocolDecl> &Protocols local 5074 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(), 5075 E = Protocols.end(); 5097 const ObjCList<ObjCProtocolDecl> &Protocols local 5099 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(), 5100 E = Protocols.end(); 5950 ArrayRef<IdentifierLocPair> Protocols) { 5961 for (const IdentifierLocPair &Pair : Protocols) 6313 const ObjCList<ObjCProtocolDecl> &Protocols local 5949 CodeCompleteObjCProtocolReferences( ArrayRef<IdentifierLocPair> Protocols) argument 6336 const ObjCList<ObjCProtocolDecl> &Protocols local 6359 const ObjCList<ObjCProtocolDecl> &Protocols local [all...] |
H A D | SemaDeclObjC.cpp | 1205 /// protocol declarations in its 'Protocols' argument. 1209 SmallVectorImpl<Decl *> &Protocols) { 1248 Protocols.push_back(PDecl); 1791 // Protocols in the class extension belong to the class. 1207 FindProtocolDeclaration(bool WarnOnDeclarations, bool ForObjCContainer, ArrayRef<IdentifierLocPair> ProtocolId, SmallVectorImpl<Decl *> &Protocols) argument
|
H A D | SemaType.cpp | 1060 ArrayRef<ObjCProtocolDecl *> Protocols, 1074 if (!Protocols.empty()) { 1078 Result, Protocols, 1135 ArrayRef<Decl *> Protocols, 1166 llvm::makeArrayRef((ObjCProtocolDecl * const *)Protocols.data(), 1167 Protocols.size()), 1202 assert(ObjCObjectTL.getNumProtocols() == Protocols.size()); 1205 for (unsigned i = 0, n = Protocols.size(); i != n; ++i) 1054 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 1127 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
|
H A D | TreeTransform.h | 712 ArrayRef<ObjCProtocolDecl *> Protocols, 11482 ArrayRef<ObjCProtocolDecl *> Protocols, 11487 ProtocolLAngleLoc, Protocols, ProtocolLocs, 11475 RebuildObjCObjectType( QualType BaseType, SourceLocation Loc, SourceLocation TypeArgsLAngleLoc, ArrayRef<TypeSourceInfo *> TypeArgs, SourceLocation TypeArgsRAngleLoc, SourceLocation ProtocolLAngleLoc, ArrayRef<ObjCProtocolDecl *> Protocols, ArrayRef<SourceLocation> ProtocolLocs, SourceLocation ProtocolRAngleLoc) argument
|