Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:IDecl

324     void RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl,
398 bool IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag,
449 void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
827 static void WriteInternalIvarName(const ObjCInterfaceDecl *IDecl,
830 Result += IDecl->getName();
1227 IDecl,
1244 NameStr += IDecl->getNameAsString();
1270 QualType selfTy = Context->getObjCInterfaceType(IDecl);
1273 if (ObjCSynthesizedStructs.count(const_cast<ObjCInterfaceDecl*>(IDecl)))
1277 ResultStr += IDecl->getNameAsString();
1963 ObjCInterfaceDecl *IDecl = Ptr->getObjectType()->getInterface();
1964 if (IDecl) {
1974 Result += "catch (_objc_exc_"; Result += IDecl->getNameAsString();
1981 Result += IDecl->getNameAsString();
1983 Result += " = ("; Result += IDecl->getNameAsString(); Result += "*)";
3609 bool RewriteModernObjC::IsTagDefinedInsideClass(ObjCContainerDecl *IDecl,
3612 if (!IDecl)
3622 IDecl->getLocation(), TagLocation);
3630 IDecl->getLocation(), TagLocation);
3739 ObjCContainerDecl *IDecl =
3755 if (IsTagDefinedInsideClass(IDecl, TD, IsNamedDefinition)) {
3971 const ObjCInterfaceDecl *IDecl = IvarDecl->getContainingInterface();
3975 if (GroupSymbolOutput.count(std::make_pair(IDecl, GroupNo)))
3990 GroupSymbolOutput.insert(std::make_pair(IDecl, GroupNo));
7012 void RewriteModernObjC::RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
7014 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface();
7037 SmallVector<ObjCMethodDecl *, 32> InstanceMethods(IDecl->instance_methods());
7041 for (const auto *Prop : IDecl->property_impls()) {
7050 if (mustSynthesizeSetterGetterMethod(IDecl, PD, true /*getter*/))
7055 if (mustSynthesizeSetterGetterMethod(IDecl, PD, false /*setter*/))
7061 IDecl->getNameAsString(), true);
7063 SmallVector<ObjCMethodDecl *, 32> ClassMethods(IDecl->class_methods());
7067 IDecl->getNameAsString(), true);
7085 IDecl->getNameAsString());
7091 /* Container */IDecl,
7165 if (ImplementationIsNonLazy(IDecl))
7177 ObjCImplementationDecl *IDecl = ClassImplementation[i];
7178 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface();
7274 void RewriteModernObjC::RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl,
7277 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface();
7280 = ClassDecl->FindCategoryDeclaration(IDecl->getIdentifier());
7287 SmallVector<ObjCMethodDecl *, 32> InstanceMethods(IDecl->instance_methods());
7291 for (const auto *Prop : IDecl->property_impls()) {
7311 SmallVector<ObjCMethodDecl *, 32> ClassMethods(IDecl->class_methods());
7334 /* Container */IDecl,
7347 if (ImplementationIsNonLazy(IDecl))
7359 ObjCCategoryImplDecl *IDecl = CategoryImplementation[i];
7360 ObjCCategoryDecl *CatDecl= IDecl->getCategoryDecl();
7361 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface();