Home
last modified time | relevance | path

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

123

/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.m47 // CHECK: local-symbols.m:26:12: ObjCCategoryDecl=:26:12 Extent=[26:1 - 27:5]
Dusrs.m244 // CHECK-source: usrs.m:54:12: ObjCCategoryDecl=:54:12 Extent=[54:1 - 56:5]
248 // CHECK-source: usrs.m:57:12: ObjCCategoryDecl=:57:12 Extent=[57:1 - 59:5]
252 // 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.m160 // CHECK-SPELLRANGE: 65:12 ObjCCategoryDecl=Dido:65:12 Extent=[65:1 - 66:5] Spelling=Dido ([65:18 -…
/external/clang/lib/AST/
DDeclObjC.cpp246 const ObjCCategoryDecl *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration()
349 const ObjCCategoryDecl *ClassExt = Ext; in collectPropertiesToImplement()
629 const ObjCCategoryDecl *C) const in lookupMethod()
823 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) { in getNextRedeclarationImpl()
836 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getNextRedeclarationImpl()
862 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getCanonicalDecl()
1042 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext())) in getClassInterface()
1082 if (const ObjCCategoryDecl * in CollectOverriddenMethodsRecurse()
1083 Category = dyn_cast<ObjCCategoryDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1162 } else if (const ObjCCategoryDecl * in collectOverriddenMethodsSlow()
[all …]
DDeclPrinter.cpp86 void VisitObjCCategoryDecl(ObjCCategoryDecl *D);
348 isa<ObjCCategoryDecl>(*D)) in VisitDeclContext()
1191 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) { in VisitObjCCategoryDecl()
/external/clang/include/clang/AST/
DDeclObjC.h30 class ObjCCategoryDecl; variable
879 ObjCCategoryDecl *CategoryList;
1025 ObjCCategoryDecl *FindCategoryDeclaration(IdentifierInfo *CategoryId) const;
1262 template<bool (*Filter)(ObjCCategoryDecl *)>
1264 ObjCCategoryDecl *Current;
1269 typedef ObjCCategoryDecl * value_type;
1276 explicit filtered_category_iterator(ObjCCategoryDecl *Current) in filtered_category_iterator()
1308 static bool isVisibleCategory(ObjCCategoryDecl *Cat);
1344 static bool isKnownCategory(ObjCCategoryDecl *) { return true; } in isKnownCategory() argument
1378 static bool isVisibleExtension(ObjCCategoryDecl *Cat);
[all …]
DASTMutationListener.h28 class ObjCCategoryDecl; variable
92 virtual void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp200 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty()
262 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty()
398 if (auto Category = dyn_cast<ObjCCategoryDecl>(OldDC)) in checkAtomicPropertyMismatch()
421 ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext); in HandlePropertyInClassExtension()
440 if (PIDecl && isa<ObjCCategoryDecl>(PIDecl->getDeclContext())) { in HandlePropertyInClassExtension()
861 auto Category = dyn_cast<ObjCCategoryDecl>(Prop->getDeclContext()); in hasWrittenStorageAttribute()
933 if (const ObjCCategoryDecl *CD = in ActOnPropertyImplDecl()
934 dyn_cast<ObjCCategoryDecl>(property->getDeclContext())) { in ActOnPropertyImplDecl()
988 ObjCCategoryDecl *Category = in ActOnPropertyImplDecl()
1537 if (ObjCCategoryDecl *CATDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectImmediateProperties()
[all …]
DSemaDeclObjC.cpp129 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC)) in CheckObjCMethodOverride()
378 else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContDeclOfMethodDecl)) { in ActOnStartOfObjCMethodDef()
1650 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods()
1713 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface()
1725 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1744 if (ObjCCategoryDecl *Previous in ActOnStartCategoryInterface()
1772 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1801 ObjCCategoryDecl *CatIDecl = nullptr; in ActOnStartCategoryImplementation()
1807 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation()
2572 ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl); in CheckProtocolMethodDefs()
[all …]
DCodeCompleteConsumer.cpp307 if (const ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) { in getParentName()
/external/clang/tools/libclang/
DIndexDecl.cpp179 bool VisitObjCCategoryDecl(const ObjCCategoryDecl *D) { in VisitObjCCategoryDecl()
188 const ObjCCategoryDecl *Cat = D->getCategoryDecl(); in VisitObjCCategoryImplDecl()
DCursorVisitor.h224 bool VisitObjCCategoryDecl(ObjCCategoryDecl *ND);
DIndexingContext.cpp512 bool IndexingContext::handleObjCCategory(const ObjCCategoryDecl *D) { in handleObjCCategory()
547 const ObjCCategoryDecl *CatD = D->getCategoryDecl(); in handleObjCCategoryImpl()
1152 if (isa<ObjCCategoryDecl>(D)) in shouldIgnoreIfImplicit()
DIndexingContext.h417 bool handleObjCCategory(const ObjCCategoryDecl *D);
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp153 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContD)) in hasObjCImpl()
DObjCMT.cpp564 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(D)) { in IsCategoryNameWithDeprecatedSuffix()
1042 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType()
1314 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod()
1862 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp122 void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD,
197 const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface()
/external/clang/test/Misc/
Dast-dump-decl.m78 // CHECK: ObjCCategoryDecl{{.*}} TestObjCCategoryDecl
/external/clang/lib/Serialization/
DASTReaderDecl.cpp235 static void setNextObjCCategory(ObjCCategoryDecl *Cat, in setNextObjCCategory()
236 ObjCCategoryDecl *Next) { in setNextObjCCategory()
345 void VisitObjCCategoryDecl(ObjCCategoryDecl *D);
1029 void ASTDeclReader::VisitObjCCategoryDecl(ObjCCategoryDecl *CD) { in VisitObjCCategoryDecl()
3247 D = ObjCCategoryDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
3450 llvm::SmallPtrSetImpl<ObjCCategoryDecl *> &Deserialized;
3452 ObjCCategoryDecl *Tail;
3453 llvm::DenseMap<DeclarationName, ObjCCategoryDecl *> NameCategoryMap;
3455 void add(ObjCCategoryDecl *Cat) { in add()
3462 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add()
[all …]
/external/clang/lib/Index/
DUSRGeneration.cpp355 const ObjCCategoryDecl *CD = cast<ObjCCategoryDecl>(D); in VisitObjCContainerDecl()
/external/clang/test/Sema/
Dwarn-documentation.m57 @interface Test1(Test1Category) // a category: ObjCCategoryDecl

123