/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 | 47 // CHECK: local-symbols.m:26:12: ObjCCategoryDecl=:26:12 Extent=[26:1 - 27:5]
|
D | usrs.m | 244 // 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]
|
D | c-index-api-loadTU-test.m | 92 // CHECK: c-index-api-loadTU-test.m:20:12: ObjCCategoryDecl=FooCat:20:12 Extent=[20:1 - 23:5] 171 // CHECK: c-index-api-loadTU-test.m:73:12: ObjCCategoryDecl=:73:12 Extent=[73:1 - 77:5]
|
D | get-cursor.m | 160 // CHECK-SPELLRANGE: 65:12 ObjCCategoryDecl=Dido:65:12 Extent=[65:1 - 66:5] Spelling=Dido ([65:18 -…
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 270 const ObjCCategoryDecl *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration() 377 const ObjCCategoryDecl *ClassExt = Ext; in collectPropertiesToImplement() 657 const ObjCCategoryDecl *C) const in lookupMethod() 855 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) { in getNextRedeclarationImpl() 868 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getNextRedeclarationImpl() 894 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getCanonicalDecl() 1074 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext())) in getClassInterface() 1114 if (const ObjCCategoryDecl * in CollectOverriddenMethodsRecurse() 1115 Category = dyn_cast<ObjCCategoryDecl>(Container)) { in CollectOverriddenMethodsRecurse() 1194 } else if (const ObjCCategoryDecl * in collectOverriddenMethodsSlow() [all …]
|
D | DeclPrinter.cpp | 86 void VisitObjCCategoryDecl(ObjCCategoryDecl *D); 350 isa<ObjCCategoryDecl>(*D)) in VisitDeclContext() 1209 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) { in VisitObjCCategoryDecl()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 30 class ObjCCategoryDecl; variable 1119 ObjCCategoryDecl *CategoryList; 1265 ObjCCategoryDecl *FindCategoryDeclaration(IdentifierInfo *CategoryId) const; 1502 template<bool (*Filter)(ObjCCategoryDecl *)> 1504 ObjCCategoryDecl *Current; 1509 typedef ObjCCategoryDecl * value_type; 1516 explicit filtered_category_iterator(ObjCCategoryDecl *Current) in filtered_category_iterator() 1548 static bool isVisibleCategory(ObjCCategoryDecl *Cat); 1584 static bool isKnownCategory(ObjCCategoryDecl *) { return true; } in isKnownCategory() argument 1618 static bool isVisibleExtension(ObjCCategoryDecl *Cat); [all …]
|
D | ASTMutationListener.h | 29 class ObjCCategoryDecl; variable 97 virtual void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 200 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty() 262 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty() 399 if (auto Category = dyn_cast<ObjCCategoryDecl>(OldDC)) in checkAtomicPropertyMismatch() 422 ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext); in HandlePropertyInClassExtension() 444 if (PIDecl && isa<ObjCCategoryDecl>(PIDecl->getDeclContext())) { in HandlePropertyInClassExtension() 871 auto Category = dyn_cast<ObjCCategoryDecl>(Prop->getDeclContext()); in hasWrittenStorageAttribute() 948 if (const ObjCCategoryDecl *CD = in ActOnPropertyImplDecl() 949 dyn_cast<ObjCCategoryDecl>(property->getDeclContext())) { in ActOnPropertyImplDecl() 1003 ObjCCategoryDecl *Category = in ActOnPropertyImplDecl() 1561 if (ObjCCategoryDecl *CATDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectImmediateProperties() [all …]
|
D | SemaDeclObjC.cpp | 128 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC)) in CheckObjCMethodOverride() 377 else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContDeclOfMethodDecl)) { in ActOnStartOfObjCMethodDef() 1658 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods() 1721 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface() 1733 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface() 1752 if (ObjCCategoryDecl *Previous in ActOnStartCategoryInterface() 1780 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface() 1809 ObjCCategoryDecl *CatIDecl = nullptr; in ActOnStartCategoryImplementation() 1815 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation() 2597 ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl); in CheckProtocolMethodDefs() [all …]
|
D | CodeCompleteConsumer.cpp | 307 if (const ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) { in getParentName()
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 152 if (isa<ObjCCategoryDecl>(D)) in shouldIgnoreIfImplicit() 241 !isa<TagDecl>(D) && !isa<ObjCCategoryDecl>(D))) in handleDeclOccurrence()
|
D | IndexDecl.cpp | 271 bool VisitObjCCategoryDecl(const ObjCCategoryDecl *D) { in VisitObjCCategoryDecl() 279 const ObjCCategoryDecl *Cat = D->getCategoryDecl(); in VisitObjCCategoryImplDecl()
|
D | USRGeneration.cpp | 366 const ObjCCategoryDecl *CD = cast<ObjCCategoryDecl>(D); in VisitObjCContainerDecl()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 153 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContD)) in hasObjCImpl()
|
D | ObjCMT.cpp | 564 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(D)) { in IsCategoryNameWithDeprecatedSuffix() 1043 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType() 1314 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod() 1860 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit()
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 123 void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD, 205 const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface()
|
/external/clang/test/Misc/ |
D | ast-dump-decl.m | 78 // CHECK: ObjCCategoryDecl{{.*}} TestObjCCategoryDecl
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 224 bool VisitObjCCategoryDecl(ObjCCategoryDecl *ND);
|
D | CXIndexDataConsumer.cpp | 84 bool VisitObjCCategoryDecl(const ObjCCategoryDecl *D) { in VisitObjCCategoryDecl() 735 bool CXIndexDataConsumer::handleObjCCategory(const ObjCCategoryDecl *D) { in handleObjCCategory() 770 const ObjCCategoryDecl *CatD = D->getCategoryDecl(); in handleObjCCategoryImpl() 1222 if (isa<ObjCCategoryDecl>(D)) in shouldIgnoreIfImplicit()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 257 static void setNextObjCCategory(ObjCCategoryDecl *Cat, in setNextObjCCategory() 258 ObjCCategoryDecl *Next) { in setNextObjCCategory() 370 void VisitObjCCategoryDecl(ObjCCategoryDecl *D); 1084 void ASTDeclReader::VisitObjCCategoryDecl(ObjCCategoryDecl *CD) { in VisitObjCCategoryDecl() 3365 D = ObjCCategoryDecl::CreateDeserialized(Context, ID); in ReadDeclRecord() 3582 llvm::SmallPtrSetImpl<ObjCCategoryDecl *> &Deserialized; 3584 ObjCCategoryDecl *Tail; 3585 llvm::DenseMap<DeclarationName, ObjCCategoryDecl *> NameCategoryMap; 3587 void add(ObjCCategoryDecl *Cat) { in add() 3594 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add() [all …]
|
/external/clang/test/Sema/ |
D | warn-documentation.m | 57 @interface Test1(Test1Category) // a category: ObjCCategoryDecl
|