Home
last modified time | relevance | path

Searched refs:ObjCCategoryDecl (Results 1 – 25 of 48) sorted by relevance

12

/external/clang/test/Index/
Dcomplete-categories.m23 // 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 …]
Dproperties-class-extensions.m49 // 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]
Dc-index-getCursor-test.m73 // 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
Dlocal-symbols.m41 // CHECK: local-symbols.m:26:12: ObjCCategoryDecl=:26:12 Extent=[26:1 - 27:5]
Dusrs.m220 // CHECK-source: usrs.m:54:12: ObjCCategoryDecl=:54:12 Extent=[54:1 - 56:5]
224 // CHECK-source: usrs.m:57:12: ObjCCategoryDecl=:57:12 Extent=[57:1 - 59:5]
228 // CHECK-source: usrs.m:60:12: ObjCCategoryDecl=Bar:60:12 Extent=[60:1 - 62:5]
Dc-index-api-loadTU-test.m91 // CHECK: c-index-api-loadTU-test.m:20:12: ObjCCategoryDecl=FooCat:20:12 Extent=[20:1 - 23:5]
170 // CHECK: c-index-api-loadTU-test.m:73:12: ObjCCategoryDecl=:73:12 Extent=[73:1 - 76:5]
Dget-cursor.m129 // CHECK-SPELLRANGE: 65:12 ObjCCategoryDecl=Dido:65:12 Extent=[65:1 - 66:5] Spelling=Dido ([65:18 -…
/external/clang/lib/AST/
DDeclObjC.cpp176 const ObjCCategoryDecl *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration()
179 for (ObjCCategoryDecl::protocol_iterator in FindPropertyDeclaration()
562 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) { in getNextRedeclaration()
573 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getNextRedeclaration()
597 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getCanonicalDecl()
765 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext())) in getClassInterface()
784 if (const ObjCCategoryDecl * in CollectOverriddenMethodsRecurse()
785 Category = dyn_cast<ObjCCategoryDecl>(Container)) { in CollectOverriddenMethodsRecurse()
799 for (ObjCCategoryDecl::protocol_iterator P = Category->protocol_begin(), in CollectOverriddenMethodsRecurse()
872 } else if (const ObjCCategoryDecl * in collectOverriddenMethodsSlow()
[all …]
DDumpXML.cpp782 void visitObjCCategoryDeclAttrs(ObjCCategoryDecl *D) { in visitObjCCategoryDeclAttrs()
785 void visitObjCCategoryDeclChildren(ObjCCategoryDecl *D) { in visitObjCCategoryDeclChildren()
790 for (ObjCCategoryDecl::protocol_iterator in visitObjCCategoryDeclChildren()
795 void visitObjCCategoryDeclAsContext(ObjCCategoryDecl *D) { in visitObjCCategoryDeclAsContext()
DDeclPrinter.cpp77 void VisitObjCCategoryDecl(ObjCCategoryDecl *D);
304 isa<ObjCCategoryDecl>(*D)) in VisitDeclContext()
1023 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) { in VisitObjCCategoryDecl()
1028 for (ObjCCategoryDecl::ivar_iterator I = PID->ivar_begin(), in VisitObjCCategoryDecl()
/external/clang/include/clang/AST/
DASTMutationListener.h26 class ObjCCategoryDecl; variable
66 virtual void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface()
79 const ObjCCategoryDecl *ClassExt) {} in AddedObjCPropertyInClassExtension()
DDeclObjC.h30 class ObjCCategoryDecl; variable
644 ObjCCategoryDecl *CategoryList;
736 ObjCCategoryDecl *FindCategoryDeclaration(IdentifierInfo *CategoryId) const;
927 template<bool (*Filter)(ObjCCategoryDecl *)>
929 ObjCCategoryDecl *Current;
934 typedef ObjCCategoryDecl * value_type;
941 explicit filtered_category_iterator(ObjCCategoryDecl *Current) in filtered_category_iterator()
973 static bool isVisibleCategory(ObjCCategoryDecl *Cat);
1001 static bool isKnownCategory(ObjCCategoryDecl *) { return true; } in isKnownCategory() argument
1028 static bool isVisibleExtension(ObjCCategoryDecl *Cat);
[all …]
/external/clang/lib/Sema/
DSemaDeclObjC.cpp130 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC)) in CheckObjCMethodOverride()
383 else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContDeclOfMethodDecl)) in ActOnStartOfObjCMethodDef()
758 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods()
772 for (ObjCCategoryDecl::method_iterator i = CAT->meth_begin(), in DiagnoseClassExtensionDupMethods()
824 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface()
836 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
854 if (ObjCCategoryDecl *Previous in ActOnStartCategoryInterface()
863 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
889 ObjCCategoryDecl *CatIDecl = 0; in ActOnStartCategoryImplementation()
895 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation()
[all …]
DSemaObjCProperty.cpp172 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty()
234 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty()
235 for (ObjCCategoryDecl::protocol_iterator P = Cat->protocol_begin(), in ActOnProperty()
337 ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext); in HandlePropertyInClassExtension()
838 if (const ObjCCategoryDecl *CD = in ActOnPropertyImplDecl()
839 dyn_cast<ObjCCategoryDecl>(property->getDeclContext())) { in ActOnPropertyImplDecl()
895 ObjCCategoryDecl *Category = in ActOnPropertyImplDecl()
1386 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) { in MatchOneProtocolPropertiesInClass()
1498 if (ObjCCategoryDecl *CATDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectImmediateProperties()
1506 for (ObjCCategoryDecl::protocol_iterator PI = CATDecl->protocol_begin(), in CollectImmediateProperties()
[all …]
DCodeCompleteConsumer.cpp311 if (const ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) { in getParentName()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp101 virtual void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD,
105 const ObjCCategoryDecl *ClassExt);
152 const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface()
160 const ObjCCategoryDecl *ClassExt) { in AddedObjCPropertyInClassExtension()
/external/clang/tools/libclang/
DIndexDecl.cpp175 bool VisitObjCCategoryDecl(const ObjCCategoryDecl *D) { in VisitObjCCategoryDecl()
184 const ObjCCategoryDecl *Cat = D->getCategoryDecl(); in VisitObjCCategoryImplDecl()
DCursorVisitor.h222 bool VisitObjCCategoryDecl(ObjCCategoryDecl *ND);
DCIndexUSRs.cpp326 const ObjCCategoryDecl *CD = cast<ObjCCategoryDecl>(D); in VisitObjCContainerDecl()
DIndexingContext.cpp504 bool IndexingContext::handleObjCCategory(const ObjCCategoryDecl *D) { in handleObjCCategory()
539 const ObjCCategoryDecl *CatD = D->getCategoryDecl(); in handleObjCCategoryImpl()
1143 if (isa<ObjCCategoryDecl>(D)) in shouldIgnoreIfImplicit()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp154 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContD)) in hasObjCImpl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp209 static void setNextObjCCategory(ObjCCategoryDecl *Cat, in setNextObjCCategory()
210 ObjCCategoryDecl *Next) { in setNextObjCCategory()
285 void VisitObjCCategoryDecl(ObjCCategoryDecl *D);
786 void ASTDeclReader::VisitObjCCategoryDecl(ObjCCategoryDecl *CD) { in VisitObjCCategoryDecl()
2091 D = ObjCCategoryDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
2402 llvm::SmallPtrSet<ObjCCategoryDecl *, 16> &Deserialized;
2404 ObjCCategoryDecl *Tail;
2405 llvm::DenseMap<DeclarationName, ObjCCategoryDecl *> NameCategoryMap;
2407 void add(ObjCCategoryDecl *Cat) { in add()
2414 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add()
[all …]
/external/clang/test/Misc/
Dast-dump-decl.m78 // CHECK: ObjCCategoryDecl{{.*}} TestObjCCategoryDecl
/external/clang/include/clang/Serialization/
DASTWriter.h723 virtual void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD,
727 const ObjCCategoryDecl *ClassExt);
/external/clang/test/Sema/
Dwarn-documentation.m57 @interface Test1(Test1Category) // a category: ObjCCategoryDecl

12