/external/clang/test/Index/ |
D | complete-categories.m | 23 // CHECK-CC1: ObjCCategoryDecl:{TypedText Cat1} 24 // CHECK-CC1: ObjCCategoryDecl:{TypedText Cat2} 25 // CHECK-CC1: ObjCCategoryDecl:{TypedText Cat3} 27 // CHECK-CC2: ObjCCategoryDecl:{TypedText Cat1} 28 // CHECK-CC2-NEXT: ObjCCategoryDecl:{TypedText Cat3} 30 // CHECK-CC3: ObjCCategoryDecl:{TypedText Cat1} 31 // CHECK-CC3: ObjCCategoryDecl:{TypedText Cat2} 32 // CHECK-CC3: ObjCCategoryDecl:{TypedText Cat3} 34 // CHECK-CC4: ObjCCategoryDecl:{TypedText Cat1} 35 // CHECK-CC4-NEXT: ObjCCategoryDecl:{TypedText Cat3} [all …]
|
D | properties-class-extensions.m | 49 // CHECK: properties-class-extensions.m:5:12: ObjCCategoryDecl=Cat:5:12 Extent=[5:1 - 7:5] 55 // CHECK: properties-class-extensions.m:8:12: ObjCCategoryDecl=:8:12 Extent=[8:1 - 11:5] 66 // CHECK: properties-class-extensions.m:18:12: ObjCCategoryDecl=:18:12 Extent=[18:1 - 20:5] 83 // CHECK: properties-class-extensions.m:30:12: ObjCCategoryDecl=:30:12 Extent=[30:1 - 32:5] 91 // CHECK: properties-class-extensions.m:37:12: ObjCCategoryDecl=:37:12 Extent=[37:1 - 39:5]
|
D | c-index-getCursor-test.m | 73 // CHECK: [18:1 - 18:12] ObjCCategoryDecl=FooCat:18:12 75 // CHECK: [18:15 - 19:1] ObjCCategoryDecl=FooCat:18:12 79 // CHECK: [19:41 - 20:1] ObjCCategoryDecl=FooCat:18:12 81 // CHECK: [20:23 - 21:5] ObjCCategoryDecl=FooCat:18:12
|
D | local-symbols.m | 41 // CHECK: local-symbols.m:26:12: ObjCCategoryDecl=:26:12 Extent=[26:1 - 27:5]
|
D | usrs.m | 208 // CHECK-source: usrs.m:54:12: ObjCCategoryDecl=:54:12 Extent=[54:1 - 56:5] 212 // CHECK-source: usrs.m:57:12: ObjCCategoryDecl=:57:12 Extent=[57:1 - 59:5] 216 // CHECK-source: usrs.m:60:12: ObjCCategoryDecl=Bar:60:12 Extent=[60:1 - 62:5]
|
D | c-index-api-loadTU-test.m | 90 // CHECK: c-index-api-loadTU-test.m:20:12: ObjCCategoryDecl=FooCat:20:12 Extent=[20:1 - 23:5]
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 116 for (ObjCCategoryDecl *Cat = OID->getCategoryList(); in FindPropertyDeclaration() 135 const ObjCCategoryDecl *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration() 138 for (ObjCCategoryDecl::protocol_iterator in FindPropertyDeclaration() 220 ObjCCategoryDecl* ObjCInterfaceDecl::getFirstClassExtension() const { in getFirstClassExtension() 221 for (ObjCCategoryDecl *CDecl = getCategoryList(); CDecl; in getFirstClassExtension() 229 const ObjCCategoryDecl* ObjCCategoryDecl::getNextClassExtension() const { in getNextClassExtension() 230 for (const ObjCCategoryDecl *CDecl = getNextClassCategory(); CDecl; in getNextClassExtension() 245 for (const ObjCCategoryDecl *CDecl = ClassDecl->getFirstClassExtension(); in lookupInstanceVariable() 295 ObjCCategoryDecl *CatDecl = ClassDecl->getCategoryList(); in lookupMethod() 365 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) { in getNextRedeclaration() [all …]
|
D | DumpXML.cpp | 750 void visitCategoryList(ObjCCategoryDecl *D) { in visitCategoryList() 778 void visitObjCCategoryDeclAttrs(ObjCCategoryDecl *D) { in visitObjCCategoryDeclAttrs() 782 void visitObjCCategoryDeclChildren(ObjCCategoryDecl *D) { in visitObjCCategoryDeclChildren() 787 for (ObjCCategoryDecl::protocol_iterator in visitObjCCategoryDeclChildren() 792 void visitObjCCategoryDeclAsContext(ObjCCategoryDecl *D) { in visitObjCCategoryDeclAsContext()
|
D | DeclPrinter.cpp | 72 void VisitObjCCategoryDecl(ObjCCategoryDecl *D); 278 isa<ObjCCategoryDecl>(*D)) in VisitDeclContext() 878 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) { in VisitObjCCategoryDecl()
|
D | ASTImporter.cpp | 119 Decl *VisitObjCCategoryDecl(ObjCCategoryDecl *D); 2910 Decl *ASTNodeImporter::VisitObjCCategoryDecl(ObjCCategoryDecl *D) { in VisitObjCCategoryDecl() 2924 ObjCCategoryDecl *MergeWithCategory in VisitObjCCategoryDecl() 2926 ObjCCategoryDecl *ToCategory = MergeWithCategory; in VisitObjCCategoryDecl() 2928 ToCategory = ObjCCategoryDecl::Create(Importer.getToContext(), DC, in VisitObjCCategoryDecl() 2944 ObjCCategoryDecl::protocol_loc_iterator FromProtoLoc in VisitObjCCategoryDecl() 2946 for (ObjCCategoryDecl::protocol_iterator FromProto = D->protocol_begin(), in VisitObjCCategoryDecl() 3145 for (ObjCCategoryDecl *FromCat = D->getCategoryList(); FromCat; in VisitObjCInterfaceDecl() 3166 ObjCCategoryDecl *Category = cast_or_null<ObjCCategoryDecl>( in VisitObjCCategoryImplDecl()
|
D | ASTContext.cpp | 1122 for (const ObjCCategoryDecl *CDeclChain = OI->getCategoryList(); in CollectInheritedProtocols() 1130 } else if (const ObjCCategoryDecl *OC = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectInheritedProtocols() 1131 for (ObjCCategoryDecl::protocol_iterator P = OC->protocol_begin(), in CollectInheritedProtocols() 1154 for (const ObjCCategoryDecl *CDecl = OI->getFirstClassExtension(); CDecl; in CountNonClassIvars() 1175 ObjCCategoryImplDecl *ASTContext::getObjCImplementation(ObjCCategoryDecl *D) { in getObjCImplementation() 1190 void ASTContext::setObjCImplementation(ObjCCategoryDecl *CatD, in setObjCImplementation()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 129 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC)) in CheckObjCMethodOverride() 187 for (ObjCCategoryDecl *Category = Class->getCategoryList(); in CheckObjCMethodOverrides() 205 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(DC)) { in CheckObjCMethodOverrides() 235 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(DC)) in CheckObjCMethodOverrides() 696 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods() 710 for (ObjCCategoryDecl::method_iterator i = CAT->meth_begin(), in DiagnoseClassExtensionDupMethods() 768 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface() 776 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface() 789 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface() 804 ObjCCategoryDecl *CDeclChain; in ActOnStartCategoryInterface() [all …]
|
D | SemaObjCProperty.cpp | 107 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) in ActOnProperty() 140 Sema::HandlePropertyInClassExtension(Scope *S, ObjCCategoryDecl *CDecl, in HandlePropertyInClassExtension() 158 for (const ObjCCategoryDecl *ClsExtDecl = in HandlePropertyInClassExtension() 550 if (const ObjCCategoryDecl *CD = in ActOnPropertyImplDecl() 551 dyn_cast<ObjCCategoryDecl>(property->getDeclContext())) { in ActOnPropertyImplDecl() 568 ObjCCategoryDecl *Category = in ActOnPropertyImplDecl() 978 ObjCCategoryDecl *CatDecl = static_cast<ObjCCategoryDecl*>(CDecl); in MatchOneProtocolPropertiesInClass() 984 ObjCCategoryDecl::prop_iterator CP, CE; in MatchOneProtocolPropertiesInClass() 1019 ObjCCategoryDecl *CatDecl = static_cast<ObjCCategoryDecl*>(CDecl); in CompareProperties() 1021 if (ObjCCategoryDecl *MDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in CompareProperties() [all …]
|
D | SemaCodeComplete.cpp | 3198 for (ObjCCategoryDecl *Category = IFace->getCategoryList(); in AddObjCProperties() 3216 } else if (const ObjCCategoryDecl *Category in AddObjCProperties() 3217 = dyn_cast<ObjCCategoryDecl>(Container)) { in AddObjCProperties() 3219 for (ObjCCategoryDecl::protocol_iterator P = Category->protocol_begin(), in AddObjCProperties() 4391 for (ObjCCategoryDecl *CatDecl = IFace->getCategoryList(); CatDecl; in AddObjCMethods() 4434 if (ObjCCategoryDecl *Category in CodeCompleteObjCPropertyGetter() 4435 = dyn_cast_or_null<ObjCCategoryDecl>(ClassDecl)) in CodeCompleteObjCPropertyGetter() 4463 if (ObjCCategoryDecl *Category in CodeCompleteObjCPropertySetter() 4464 = dyn_cast_or_null<ObjCCategoryDecl>(ObjCImplDecl)) in CodeCompleteObjCPropertySetter() 4663 for (ObjCCategoryDecl *Category = Class->getCategoryList(); Category; in AddSuperSendCompletion() [all …]
|
D | SemaLookup.cpp | 2750 for (ObjCCategoryDecl *Category = IFace->getCategoryList(); in LookupVisibleDecls() 2787 } else if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(Ctx)) { in LookupVisibleDecls() 2788 for (ObjCCategoryDecl::protocol_iterator I = Category->protocol_begin(), in LookupVisibleDecls()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 28 class ObjCCategoryDecl; variable 475 ObjCCategoryDecl *CategoryList; 519 ObjCCategoryDecl *FindCategoryDeclaration(IdentifierInfo *CategoryId) const; 616 ObjCCategoryDecl* getCategoryList() const { in getCategoryList() 623 void setCategoryList(ObjCCategoryDecl *category) { in setCategoryList() 627 ObjCCategoryDecl* getFirstClassExtension() const; 1003 class ObjCCategoryDecl : public ObjCContainerDecl { 1012 ObjCCategoryDecl *NextClassCategory; 1023 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, in ObjCCategoryDecl() function 1032 static ObjCCategoryDecl *Create(ASTContext &C, DeclContext *DC, [all …]
|
D | ASTContext.h | 1511 ObjCCategoryImplDecl *getObjCImplementation(ObjCCategoryDecl *D); 1522 void setObjCImplementation(ObjCCategoryDecl *CatD,
|
D | DeclBase.h | 35 class ObjCCategoryDecl; variable
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 82 for (const ObjCCategoryDecl *CD = in Scan()
|
/external/clang/tools/libclang/ |
D | CIndexUSRs.cpp | 329 ObjCCategoryDecl *CD = cast<ObjCCategoryDecl>(D); in VisitObjCContainerDecl()
|
D | CIndex.cpp | 300 bool VisitObjCCategoryDecl(ObjCCategoryDecl *ND); 996 bool CursorVisitor::VisitObjCCategoryDecl(ObjCCategoryDecl *ND) { in VisitObjCCategoryDecl() 1001 ObjCCategoryDecl::protocol_loc_iterator PL = ND->protocol_loc_begin(); in VisitObjCCategoryDecl() 1002 for (ObjCCategoryDecl::protocol_iterator I = ND->protocol_begin(), in VisitObjCCategoryDecl() 1027 ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(PD->getDeclContext()); in VisitObjCPropertyDecl() 4075 = cast<ObjCCategoryDecl>(D)->getImplementation()) in clang_getCursorDefinition() 4146 if (ObjCCategoryDecl *CatD = CatImplD->getCategoryDecl()) in clang_getCanonicalCursor() 5157 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(Container)) { in CollectOverriddenMethods() 5158 for (ObjCCategoryDecl::protocol_iterator P = Category->protocol_begin(), in CollectOverriddenMethods() 5170 for (ObjCCategoryDecl *Category = Interface->getCategoryList(); in CollectOverriddenMethods()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 151 void VisitObjCCategoryDecl(ObjCCategoryDecl *D); 527 cast_or_null<ObjCCategoryDecl>(Reader.GetDecl(Record[Idx++]))); in VisitObjCInterfaceDecl() 597 void ASTDeclReader::VisitObjCCategoryDecl(ObjCCategoryDecl *CD) { in VisitObjCCategoryDecl() 611 CD->setNextClassCategory(cast_or_null<ObjCCategoryDecl>(Reader.GetDecl(Record[Idx++]))); in VisitObjCCategoryDecl() 1627 D = ObjCCategoryDecl::Create(*Context, 0, SourceLocation(), in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 114 void VisitObjCCategoryDecl(ObjCCategoryDecl *D); 526 void ASTDeclWriter::VisitObjCCategoryDecl(ObjCCategoryDecl *D) { in VisitObjCCategoryDecl() 530 for (ObjCCategoryDecl::protocol_iterator in VisitObjCCategoryDecl() 533 for (ObjCCategoryDecl::protocol_loc_iterator in VisitObjCCategoryDecl()
|
/external/clang/lib/Rewrite/ |
D | RewriteObjC.cpp | 256 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl); 709 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(D)) { in HandleTopLevelSingleDecl() 952 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() 958 for (ObjCCategoryDecl::prop_iterator I = CatDecl->prop_begin(), in RewriteCategoryDecl() 962 for (ObjCCategoryDecl::instmeth_iterator in RewriteCategoryDecl() 966 for (ObjCCategoryDecl::classmeth_iterator in RewriteCategoryDecl() 3626 ObjCCategoryDecl *CDecl; in RewriteObjCCategoryImplDecl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 2143 ObjCCategoryDecl *CD = cast<ObjCCategoryDecl>(D); in EmitTopLevelDecl()
|