Home | History | Annotate | Download | only in Rewrite

Lines Matching defs:ClassDecl

264     void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
758 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface();
761 S += ClassDecl->getIdentifier()->getName();
810 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1)
905 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
907 SourceLocation startLoc = ClassDecl->getBeginLoc();
1205 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) {
1207 if (!ObjCForwardDecls.count(ClassDecl->getCanonicalDecl())) {
1210 ResultStr += ClassDecl->getNameAsString();
1213 ResultStr += ClassDecl->getNameAsString();
1216 ResultStr += ClassDecl->getNameAsString();
1219 ObjCForwardDecls.insert(ClassDecl->getCanonicalDecl());
1221 RewriteObjCInternalStruct(ClassDecl, ResultStr);
1223 for (auto *I : ClassDecl->instance_properties())
1225 for (auto *I : ClassDecl->instance_methods())
1227 for (auto *I : ClassDecl->class_methods())
1231 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
2668 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
2686 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
2766 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
2781 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
5630 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface();
5633 = ClassDecl->FindCategoryDeclaration(IDecl->getIdentifier());
5635 std::string FullCategoryName = ClassDecl->getNameAsString();
5702 Result += ClassDecl->getNameAsString();