/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 | 91 // 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]
|
D | get-cursor.m | 143 // CHECK-SPELLRANGE: 65:12 ObjCCategoryDecl=Dido:65:12 Extent=[65:1 - 66:5] Spelling=Dido ([65:18 -…
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 228 const ObjCCategoryDecl *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration() 548 const ObjCCategoryDecl *C) const in lookupMethod() 742 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) { in getNextRedeclarationImpl() 755 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getNextRedeclarationImpl() 781 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getCanonicalDecl() 953 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext())) in getClassInterface() 979 if (const ObjCCategoryDecl * in CollectOverriddenMethodsRecurse() 980 Category = dyn_cast<ObjCCategoryDecl>(Container)) { in CollectOverriddenMethodsRecurse() 1059 } else if (const ObjCCategoryDecl * in collectOverriddenMethodsSlow() 1060 CatD = dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow() [all …]
|
D | DeclPrinter.cpp | 77 void VisitObjCCategoryDecl(ObjCCategoryDecl *D); 310 isa<ObjCCategoryDecl>(*D)) in VisitDeclContext() 1073 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) { in VisitObjCCategoryDecl()
|
/external/clang/include/clang/AST/ |
D | ASTMutationListener.h | 28 class ObjCCategoryDecl; variable 91 virtual void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface() 104 const ObjCCategoryDecl *ClassExt) {} in AddedObjCPropertyInClassExtension()
|
D | DeclObjC.h | 30 class ObjCCategoryDecl; variable 693 ObjCCategoryDecl *CategoryList; 817 ObjCCategoryDecl *FindCategoryDeclaration(IdentifierInfo *CategoryId) const; 1048 template<bool (*Filter)(ObjCCategoryDecl *)> 1050 ObjCCategoryDecl *Current; 1055 typedef ObjCCategoryDecl * value_type; 1062 explicit filtered_category_iterator(ObjCCategoryDecl *Current) in filtered_category_iterator() 1094 static bool isVisibleCategory(ObjCCategoryDecl *Cat); 1130 static bool isKnownCategory(ObjCCategoryDecl *) { return true; } in isKnownCategory() argument 1164 static bool isVisibleExtension(ObjCCategoryDecl *Cat); [all …]
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 128 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC)) in CheckObjCMethodOverride() 377 else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContDeclOfMethodDecl)) { in ActOnStartOfObjCMethodDef() 829 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods() 892 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface() 904 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface() 922 if (ObjCCategoryDecl *Previous in ActOnStartCategoryInterface() 931 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface() 957 ObjCCategoryDecl *CatIDecl = nullptr; in ActOnStartCategoryImplementation() 963 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation() 1681 ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl); in CheckProtocolMethodDefs() [all …]
|
D | SemaObjCProperty.cpp | 169 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty() 231 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty() 327 ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext); in HandlePropertyInClassExtension() 847 if (const ObjCCategoryDecl *CD = in ActOnPropertyImplDecl() 848 dyn_cast<ObjCCategoryDecl>(property->getDeclContext())) { in ActOnPropertyImplDecl() 902 ObjCCategoryDecl *Category = in ActOnPropertyImplDecl() 1438 if (ObjCCategoryDecl *CATDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectImmediateProperties() 1628 ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor() 1639 isa<ObjCCategoryDecl>(CDecl) ? in DiagnoseUnimplementedAccessor() 1664 if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl)) { in DiagnoseUnimplementedProperties() [all …]
|
D | CodeCompleteConsumer.cpp | 307 if (const ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) { in getParentName()
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 106 void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD, 110 const ObjCCategoryDecl *ClassExt) override; 177 const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface() 185 const ObjCCategoryDecl *ClassExt) { in AddedObjCPropertyInClassExtension()
|
/external/clang/tools/libclang/ |
D | IndexDecl.cpp | 179 bool VisitObjCCategoryDecl(const ObjCCategoryDecl *D) { in VisitObjCCategoryDecl() 188 const ObjCCategoryDecl *Cat = D->getCategoryDecl(); in VisitObjCCategoryImplDecl()
|
D | CursorVisitor.h | 222 bool VisitObjCCategoryDecl(ObjCCategoryDecl *ND);
|
D | IndexingContext.cpp | 512 bool IndexingContext::handleObjCCategory(const ObjCCategoryDecl *D) { in handleObjCCategory() 547 const ObjCCategoryDecl *CatD = D->getCategoryDecl(); in handleObjCCategoryImpl() 1152 if (isa<ObjCCategoryDecl>(D)) in shouldIgnoreIfImplicit()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 153 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContD)) in hasObjCImpl()
|
D | ObjCMT.cpp | 574 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(D)) { in IsCategoryNameWithDeprecatedSuffix() 1054 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType() 1326 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod() 1878 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit()
|
/external/clang/test/Misc/ |
D | ast-dump-decl.m | 78 // CHECK: ObjCCategoryDecl{{.*}} TestObjCCategoryDecl
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 254 static void setNextObjCCategory(ObjCCategoryDecl *Cat, in setNextObjCCategory() 255 ObjCCategoryDecl *Next) { in setNextObjCCategory() 360 void VisitObjCCategoryDecl(ObjCCategoryDecl *D); 932 void ASTDeclReader::VisitObjCCategoryDecl(ObjCCategoryDecl *CD) { in VisitObjCCategoryDecl() 3121 D = ObjCCategoryDecl::CreateDeserialized(Context, ID); in ReadDeclRecord() 3424 llvm::SmallPtrSetImpl<ObjCCategoryDecl *> &Deserialized; 3426 ObjCCategoryDecl *Tail; 3427 llvm::DenseMap<DeclarationName, ObjCCategoryDecl *> NameCategoryMap; 3429 void add(ObjCCategoryDecl *Cat) { in add() 3436 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add() [all …]
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 850 void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD, 854 const ObjCCategoryDecl *ClassExt) override;
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 357 const ObjCCategoryDecl *CD = cast<ObjCCategoryDecl>(D); in VisitObjCContainerDecl()
|
/external/clang/test/Sema/ |
D | warn-documentation.m | 57 @interface Test1(Test1Category) // a category: ObjCCategoryDecl
|