Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclObjC.cpp228 const ObjCCategoryDecl *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration()
604 const ObjCCategoryDecl *C) const in lookupMethod()
798 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) { in getNextRedeclarationImpl()
811 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getNextRedeclarationImpl()
837 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl()) in getCanonicalDecl()
1017 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext())) in getClassInterface()
1057 if (const ObjCCategoryDecl * in CollectOverriddenMethodsRecurse()
1058 Category = dyn_cast<ObjCCategoryDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1137 } else if (const ObjCCategoryDecl * in collectOverriddenMethodsSlow()
1138 CatD = dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
[all …]
HDDeclPrinter.cpp86 void VisitObjCCategoryDecl(ObjCCategoryDecl *D);
319 isa<ObjCCategoryDecl>(*D)) in VisitDeclContext()
1153 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) { in VisitObjCCategoryDecl()
HDASTDumper.cpp470 void VisitObjCCategoryDecl(const ObjCCategoryDecl *D);
1496 void ASTDumper::VisitObjCCategoryDecl(const ObjCCategoryDecl *D) { in VisitObjCCategoryDecl()
1501 for (ObjCCategoryDecl::protocol_iterator I = D->protocol_begin(), in VisitObjCCategoryDecl()
HDASTImporter.cpp154 Decl *VisitObjCCategoryDecl(ObjCCategoryDecl *D);
3467 Decl *ASTNodeImporter::VisitObjCCategoryDecl(ObjCCategoryDecl *D) { in VisitObjCCategoryDecl()
3484 ObjCCategoryDecl *MergeWithCategory in VisitObjCCategoryDecl()
3486 ObjCCategoryDecl *ToCategory = MergeWithCategory; in VisitObjCCategoryDecl()
3488 ToCategory = ObjCCategoryDecl::Create(Importer.getToContext(), DC, in VisitObjCCategoryDecl()
3508 ObjCCategoryDecl::protocol_loc_iterator FromProtoLoc in VisitObjCCategoryDecl()
3510 for (ObjCCategoryDecl::protocol_iterator FromProto = D->protocol_begin(), in VisitObjCCategoryDecl()
3844 ObjCCategoryDecl *Category = cast_or_null<ObjCCategoryDecl>( in VisitObjCCategoryImplDecl()
HDASTContext.cpp493 else if (const ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(D)) { in getCommentForDecl()
1932 } else if (const ObjCCategoryDecl *OC = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectInheritedProtocols()
1988 ObjCCategoryImplDecl *ASTContext::getObjCImplementation(ObjCCategoryDecl *D) { in getObjCImplementation()
2003 void ASTContext::setObjCImplementation(ObjCCategoryDecl *CatD, in setObjCImplementation()
2014 if (const ObjCCategoryDecl *CD = in getObjContainingInterface()
2015 dyn_cast<ObjCCategoryDecl>(ND->getDeclContext())) in getObjContainingInterface()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclObjC.h30 class ObjCCategoryDecl; variable
879 ObjCCategoryDecl *CategoryList;
1025 ObjCCategoryDecl *FindCategoryDeclaration(IdentifierInfo *CategoryId) const;
1267 template<bool (*Filter)(ObjCCategoryDecl *)>
1269 ObjCCategoryDecl *Current;
1274 typedef ObjCCategoryDecl * value_type;
1281 explicit filtered_category_iterator(ObjCCategoryDecl *Current) in filtered_category_iterator()
1313 static bool isVisibleCategory(ObjCCategoryDecl *Cat);
1349 static bool isKnownCategory(ObjCCategoryDecl *) { return true; } in isKnownCategory() argument
1383 static bool isVisibleExtension(ObjCCategoryDecl *Cat);
[all …]
HDASTMutationListener.h28 class ObjCCategoryDecl; variable
92 virtual void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface()
105 const ObjCCategoryDecl *ClassExt) {} in AddedObjCPropertyInClassExtension()
HDASTContext.h2220 ObjCCategoryImplDecl *getObjCImplementation(ObjCCategoryDecl *D);
2231 void setObjCImplementation(ObjCCategoryDecl *CatD,
HDDeclBase.h43 class ObjCCategoryDecl; variable
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaObjCProperty.cpp160 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty()
222 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty()
319 ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext); in HandlePropertyInClassExtension()
852 if (const ObjCCategoryDecl *CD = in ActOnPropertyImplDecl()
853 dyn_cast<ObjCCategoryDecl>(property->getDeclContext())) { in ActOnPropertyImplDecl()
907 ObjCCategoryDecl *Category = in ActOnPropertyImplDecl()
1447 if (ObjCCategoryDecl *CATDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectImmediateProperties()
1637 ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor()
1648 isa<ObjCCategoryDecl>(CDecl) ? in DiagnoseUnimplementedAccessor()
1673 if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl)) { in DiagnoseUnimplementedProperties()
[all …]
HDSemaDeclObjC.cpp131 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC)) in CheckObjCMethodOverride()
380 else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContDeclOfMethodDecl)) { in ActOnStartOfObjCMethodDef()
1632 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods()
1696 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface()
1708 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1727 if (ObjCCategoryDecl *Previous in ActOnStartCategoryInterface()
1755 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1784 ObjCCategoryDecl *CatIDecl = nullptr; in ActOnStartCategoryImplementation()
1790 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation()
2553 ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl); in CheckProtocolMethodDefs()
[all …]
HDCodeCompleteConsumer.cpp307 if (const ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) { in getParentName()
HDSemaCodeComplete.cpp3626 } else if (const ObjCCategoryDecl *Category in AddObjCProperties()
3627 = dyn_cast<ObjCCategoryDecl>(Container)) { in AddObjCProperties()
5110 if (ObjCCategoryDecl *Category in CodeCompleteObjCPropertyGetter()
5111 = dyn_cast_or_null<ObjCCategoryDecl>(CurContext)) in CodeCompleteObjCPropertyGetter()
5138 if (ObjCCategoryDecl *Category in CodeCompleteObjCPropertySetter()
5139 = dyn_cast_or_null<ObjCCategoryDecl>(CurContext)) in CodeCompleteObjCPropertySetter()
6082 if (const auto *Category = dyn_cast<ObjCCategoryDecl>(D)) in CodeCompleteObjCInterfaceCategory()
6313 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(Container)) { in FindImplementableMethods()
7172 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(SearchDecl)) in CodeCompleteObjCMethodDecl()
HDSemaExprMember.cpp1296 if (ObjCCategoryDecl *CAT = dyn_cast<ObjCCategoryDecl>(D)) in LookupMemberExpr()
HDSemaDeclAttr.cpp3984 if (ObjCCategoryDecl *CatDecl = in handleObjCDesignatedInitializer()
3985 dyn_cast<ObjCCategoryDecl>(D->getDeclContext())) in handleObjCDesignatedInitializer()
5347 if (const ObjCCategoryDecl *CatD = dyn_cast<ObjCCategoryDecl>(D)) in isDeclDeprecated()
5359 if (const ObjCCategoryDecl *CatD = dyn_cast<ObjCCategoryDecl>(D)) in isDeclUnavailable()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDMultiplexConsumer.cpp122 void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD,
127 const ObjCCategoryDecl *ClassExt) override;
200 const ObjCCategoryDecl *CatD, in AddedObjCCategoryToInterface()
213 const ObjCCategoryDecl *ClassExt) { in AddedObjCPropertyInClassExtension()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransGCAttrs.cpp153 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContD)) in hasObjCImpl()
HDObjCMT.cpp574 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()
1874 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderDecl.cpp259 static void setNextObjCCategory(ObjCCategoryDecl *Cat, in setNextObjCCategory()
260 ObjCCategoryDecl *Next) { in setNextObjCCategory()
368 void VisitObjCCategoryDecl(ObjCCategoryDecl *D);
1049 void ASTDeclReader::VisitObjCCategoryDecl(ObjCCategoryDecl *CD) { in VisitObjCCategoryDecl()
3245 D = ObjCCategoryDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
3569 llvm::SmallPtrSetImpl<ObjCCategoryDecl *> &Deserialized;
3571 ObjCCategoryDecl *Tail;
3572 llvm::DenseMap<DeclarationName, ObjCCategoryDecl *> NameCategoryMap;
3574 void add(ObjCCategoryDecl *Cat) { in add()
3581 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add()
[all …]
HDASTWriterDecl.cpp126 void VisitObjCCategoryDecl(ObjCCategoryDecl *D);
632 if (ObjCCategoryDecl *Cat = D->getCategoryListRaw()) { in VisitObjCInterfaceDecl()
686 void ASTDeclWriter::VisitObjCCategoryDecl(ObjCCategoryDecl *D) { in VisitObjCCategoryDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Index/
HDUSRGeneration.cpp357 const ObjCCategoryDecl *CD = cast<ObjCCategoryDecl>(D); in VisitObjCContainerDecl()
/NextBSD/contrib/llvm/tools/clang/include/clang/Serialization/
HDASTWriter.h861 void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD,
865 const ObjCCategoryDecl *ClassExt) override;
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteModernObjC.cpp122 SmallVector<ObjCCategoryDecl *, 8> DefinedNonLazyCategories;
331 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
740 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(D)) { in HandleTopLevelSingleDecl()
870 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in getIvarAccessString()
1138 void RewriteModernObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl()
6723 ObjCCategoryDecl *CatDecl, in Write_category_t()
7423 ObjCCategoryDecl *CDecl in RewriteObjCCategoryImplDecl()
7504 ObjCCategoryDecl *CatDecl= IDecl->getCategoryDecl(); in RewriteCategorySetupInitHook()
7662 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in RewriteObjCIvarRefExpr()
HDRewriteObjC.cpp277 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
669 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(D)) { in HandleTopLevelSingleDecl()
966 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl()
5657 ObjCCategoryDecl *CDecl in RewriteObjCCategoryImplDecl()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenFunction.h2955 if (const ObjCCategoryDecl *catDecl = dyn_cast<ObjCCategoryDecl>(dc)) { in isObjCMethodWithTypeParams()

12