Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:ClassDecl

263     void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 
757 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface();
760 S += ClassDecl->getIdentifier()->getName();
807 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1)
901 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
903 SourceLocation startLoc = ClassDecl->getLocStart();
1195 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) {
1197 if (!ObjCForwardDecls.count(ClassDecl->getCanonicalDecl())) {
1200 ResultStr += ClassDecl->getNameAsString();
1203 ResultStr += ClassDecl->getNameAsString();
1206 ResultStr += ClassDecl->getNameAsString();
1209 ObjCForwardDecls.insert(ClassDecl->getCanonicalDecl());
1211 RewriteObjCInternalStruct(ClassDecl, ResultStr);
1213 for (auto *I : ClassDecl->properties())
1215 for (auto *I : ClassDecl->instance_methods())
1217 for (auto *I : ClassDecl->class_methods())
1221 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
2665 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
2682 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
2762 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
2776 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
5644 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface();
5647 = ClassDecl->FindCategoryDeclaration(IDecl->getIdentifier());
5649 std::string FullCategoryName = ClassDecl->getNameAsString();
5718 Result += ClassDecl->getNameAsString();