/external/clang/include/clang/Edit/ |
H A D | Rewriters.h | 18 class ObjCProtocolDecl;
|
/external/clang/lib/AST/ |
H A D | DeclObjC.cpp | 37 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts, 72 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) { 73 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) 145 if (const ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(this)) 157 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(DC)) { 158 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) 187 if (const ObjCProtocolDecl *Prot 1490 ObjCProtocolDecl::ObjCProtocolDecl(ASTContext &C, DeclContext *DC, function in class:ObjCProtocolDecl [all...] |
H A D | ASTImporter.cpp | 115 bool ImportDefinition(ObjCProtocolDecl *From, ObjCProtocolDecl *To, 153 Decl *VisitObjCProtocolDecl(ObjCProtocolDecl *D); 1782 SmallVector<ObjCProtocolDecl *, 4> Protocols; 1784 ObjCProtocolDecl *Protocol 1785 = dyn_cast_or_null<ObjCProtocolDecl>(Importer.Import(P)); 3339 SmallVector<ObjCProtocolDecl *, 4> Protocols; 3347 ObjCProtocolDecl *ToProto 3348 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); 3380 bool ASTNodeImporter::ImportDefinition(ObjCProtocolDecl *Fro [all...] |
H A D | DeclPrinter.cpp | 75 void VisitObjCProtocolDecl(ObjCProtocolDecl *D); 296 isa<ObjCProtocolDecl>(*D) || 991 const ObjCList<ObjCProtocolDecl> &Protocols = OID->getReferencedProtocols(); 993 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(), 1023 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) { 1029 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols(); 1032 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
|
H A D | ASTContext.cpp | 1833 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) { 1860 } else if (const ObjCProtocolDecl *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) { 3447 static bool CmpProtocolNames(const ObjCProtocolDecl *LHS, 3448 const ObjCProtocolDecl *RHS) { 3452 static bool areSortedAndUniqued(ObjCProtocolDecl * const *Protocols, 3466 static void SortAndUniqueProtocols(ObjCProtocolDecl **Protocols, 3468 ObjCProtocolDecl **ProtocolsEnd = Protocols+NumProtocols; 3483 ObjCProtocolDecl * const *Protocols, 3503 SmallVector<ObjCProtocolDecl*, [all...] |
/external/clang/include/clang/AST/ |
H A D | DeclObjC.h | 29 class ObjCProtocolDecl; 76 class ObjCProtocolList : public ObjCList<ObjCProtocolDecl> { 79 using ObjCList<ObjCProtocolDecl>::set; 82 ObjCProtocolList() : ObjCList<ObjCProtocolDecl>(), Locations(nullptr) { } 88 void set(ObjCProtocolDecl* const* InList, unsigned Elts, 506 /// ObjCProtocolDecl, and ObjCImplDecl. 598 typedef llvm::DenseMap<const ObjCProtocolDecl *, ObjCPropertyDecl*> 685 ObjCList<ObjCProtocolDecl> AllReferencedProtocols; 881 typedef ObjCList<ObjCProtocolDecl>::iterator all_protocol_iterator; 948 void setProtocolList(ObjCProtocolDecl *cons 1503 class ObjCProtocolDecl : public ObjCContainerDecl, class in namespace:clang [all...] |
H A D | ExprObjC.h | 430 ObjCProtocolDecl *TheProtocol; 433 ObjCProtocolExpr(QualType T, ObjCProtocolDecl *protocol, 441 ObjCProtocolDecl *getProtocol() const { return TheProtocol; } 442 void setProtocol(ObjCProtocolDecl *P) { TheProtocol = P; }
|
/external/clang/lib/CodeGen/ |
H A D | CGObjCRuntime.h | 49 class ObjCProtocolDecl; 183 const ObjCProtocolDecl *OPD) = 0; 187 virtual void GenerateProtocol(const ObjCProtocolDecl *OPD) = 0;
|
H A D | CGObjCMac.cpp | 1003 const ObjCProtocolDecl *Proto, 1009 llvm::Constant *GetProtocolRef(const ObjCProtocolDecl *PD); 1053 void GenerateProtocol(const ObjCProtocolDecl *PD) override; 1058 virtual llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD)=0; 1064 virtual llvm::Constant *GetOrEmitProtocolRef(const ObjCProtocolDecl *PD)=0; 1155 llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD) override; 1161 llvm::Constant *GetOrEmitProtocolRef(const ObjCProtocolDecl *PD) override; 1168 EmitProtocolExtension(const ObjCProtocolDecl *PD, 1176 ObjCProtocolDecl::protocol_iterator begin, 1177 ObjCProtocolDecl [all...] |
/external/clang/tools/libclang/ |
H A D | CXCursor.h | 37 class ObjCProtocolDecl; 72 CXCursor MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto, 78 std::pair<const ObjCProtocolDecl *, SourceLocation>
|
H A D | IndexingContext.h | 159 ObjCProtocolDeclInfo(const ObjCProtocolDecl *D) 412 bool handleObjCProtocol(const ObjCProtocolDecl *D);
|
H A D | CursorVisitor.h | 223 bool VisitObjCProtocolDecl(ObjCProtocolDecl *PID);
|
H A D | IndexDecl.cpp | 145 bool VisitObjCProtocolDecl(const ObjCProtocolDecl *D) {
|
H A D | IndexingContext.cpp | 30 ObjCProtocolDecl *PD = *I; 483 bool IndexingContext::handleObjCProtocol(const ObjCProtocolDecl *D) { 1133 if (const ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D))
|
/external/clang/lib/Sema/ |
H A D | SemaDeclObjC.cpp | 74 if (isa<ObjCProtocolDecl>(method->getDeclContext())) { 597 IDecl->setProtocolList((ObjCProtocolDecl*const*)ProtoRefs, NumProtoRefs, 678 const ObjCList<ObjCProtocolDecl> &PList) { 681 for (ObjCList<ObjCProtocolDecl>::iterator I = PList.begin(), 683 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(), 714 ObjCProtocolDecl *PrevDecl = LookupProtocol(ProtocolName, ProtocolLoc, 716 ObjCProtocolDecl *PDecl = nullptr; 717 if (ObjCProtocolDecl *Def = PrevDecl? PrevDecl->getDefinition() : nullptr) { 726 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, 734 ObjCList<ObjCProtocolDecl> PLis [all...] |
H A D | SemaObjCProperty.cpp | 118 ObjCProtocolDecl *Proto, 119 llvm::SmallPtrSet<ObjCProtocolDecl *, 16> &Known) { 194 isa<ObjCProtocolDecl>(ClassDecl))); 199 llvm::SmallPtrSet<ObjCProtocolDecl *, 16> KnownProtos; 234 ObjCProtocolDecl *Proto = cast<ObjCProtocolDecl>(ClassDecl); 545 if (ObjCProtocolDecl* PNSCopying = 752 if (const ObjCProtocolDecl *PDecl = PI->getDefinition()) 758 if (const ObjCProtocolDecl *PDecl = PI->getDefinition()) 886 if (Synthesize && isa<ObjCProtocolDecl>(propert [all...] |
/external/lldb/include/lldb/Core/ |
H A D | ClangForward.h | 90 class ObjCProtocolDecl;
|
/external/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 131 if (const ObjCProtocolDecl *Def 132 = cast<ObjCProtocolDecl>(DC)->getDefinition())
|
H A D | ASTReaderDecl.cpp | 327 void VisitObjCProtocolDecl(ObjCProtocolDecl *D); 790 SmallVector<ObjCProtocolDecl *, 16> Protocols; 793 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); 806 Protocols.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); 832 void ASTDeclReader::VisitObjCProtocolDecl(ObjCProtocolDecl *PD) { 846 SmallVector<ObjCProtocolDecl *, 16> ProtoRefs; 849 ProtoRefs.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); 881 SmallVector<ObjCProtocolDecl *, 16> ProtoRefs; 884 ProtoRefs.push_back(ReadDeclAs<ObjCProtocolDecl>(Record, Idx)); 2186 isa<ObjCProtocolDecl>( [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 98 llvm::SmallPtrSet<ObjCProtocolDecl *, 32> ObjCProtocolDecls; 500 ObjCProtocolDecl *Protocol) { 505 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) 533 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) { 562 llvm::SmallVectorImpl<ObjCProtocolDecl*> &ConformingProtocols, 564 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols(); 705 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> ExplicitProtocols; 707 llvm::SmallVector<ObjCProtocolDecl *, 8> PotentialImplicitProtocols; 709 for (llvm::SmallPtrSet<ObjCProtocolDecl*, 32>::iterator I = 721 llvm::SmallVector<ObjCProtocolDecl*, [all...] |
/external/clang/lib/Index/ |
H A D | USRGeneration.cpp | 312 if (const ObjCProtocolDecl *pd = dyn_cast<ObjCProtocolDecl>(container)) { 377 GenObjCProtocol(cast<ObjCProtocolDecl>(D)->getName());
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteModernObjC.cpp | 112 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> ObjCSynthesizedProtocols; 125 llvm::SmallPtrSet<ObjCProtocolDecl *, 32> ProtocolExprDecls; 201 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(*I)) { 341 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl); 458 void RewriteObjCProtocolMetaData(ObjCProtocolDecl *Protocol, 461 const ObjCList<ObjCProtocolDecl> &Prots, 754 } else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) { 791 if (ObjCProtocolDecl *Prot [all...] |
H A D | RewriteObjC.cpp | 111 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> ObjCSynthesizedProtocols; 117 llvm::SmallPtrSet<ObjCProtocolDecl *, 32> ProtocolExprDecls; 177 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(*I)) { 287 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl); 337 virtual void RewriteObjCProtocolListMetaData(const ObjCList<ObjCProtocolDecl> &Prots, 343 virtual void RewriteObjCProtocolMetaData(ObjCProtocolDecl *Protocol, 535 void RewriteObjCProtocolMetaData(ObjCProtocolDecl *Protocol, 539 const ObjCList<ObjCProtocolDecl> &Prots, 680 } else if (ObjCProtocolDecl *P [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IvarInvalidationChecker.cpp | 273 if (const ObjCProtocolDecl *ProtD = dyn_cast<ObjCProtocolDecl>(D)) {
|
/external/lldb/source/Symbol/ |
H A D | ClangASTImporter.cpp | 199 else if (ObjCProtocolDecl *protocol_decl = dyn_cast<ObjCProtocolDecl>(decl))
|