Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:OCD

972                                    const ObjCContainerDecl *OCD,
2943 const ObjCContainerDecl *OCD,
2963 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD))
2972 for (const auto *PD : OCD->properties()) {
2982 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) {
2987 else if (const ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(OCD)) {
3086 void CGObjCMac::GenerateCategory(const ObjCCategoryImplDecl *OCD) {
3089 // FIXME: This is poor design, the OCD should have a pointer to the category
3093 const ObjCInterfaceDecl *Interface = OCD->getClassInterface();
3095 Interface->FindCategoryDeclaration(OCD->getIdentifier());
3099 << OCD->getName();
3102 for (const auto *I : OCD->instance_methods())
3106 for (const auto *I : OCD->class_methods())
3111 Values[0] = GetClassName(OCD->getName());
3132 OCD, Category, ObjCTypes, false);
3134 OCD, Category, ObjCTypes, true);
6168 void CGObjCNonFragileABIMac::GenerateCategory(const ObjCCategoryImplDecl *OCD) {
6169 const ObjCInterfaceDecl *Interface = OCD->getClassInterface();
6175 ExtCatName += OCD->getNameAsString();
6181 Values[0] = GetClassName(OCD->getIdentifier()->getName());
6193 MethodListName += OCD->getName();
6195 for (const auto *I : OCD->instance_methods())
6207 MethodListName += OCD->getNameAsString();
6210 for (const auto *I : OCD->class_methods())
6218 Interface->FindCategoryDeclaration(OCD->getIdentifier());
6222 << OCD->getName();
6229 OCD, Category, ObjCTypes, false);
6231 OCD, Category, ObjCTypes, true);
6257 if (ImplementationIsNonLazy(OCD))