Lines Matching defs:ClassDecl
262 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
756 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface();
759 S += ClassDecl->getIdentifier()->getName();
808 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1)
903 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
905 SourceLocation startLoc = ClassDecl->getBeginLoc();
1203 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) {
1205 if (!ObjCForwardDecls.count(ClassDecl->getCanonicalDecl())) {
1208 ResultStr += ClassDecl->getNameAsString();
1211 ResultStr += ClassDecl->getNameAsString();
1214 ResultStr += ClassDecl->getNameAsString();
1217 ObjCForwardDecls.insert(ClassDecl->getCanonicalDecl());
1219 RewriteObjCInternalStruct(ClassDecl, ResultStr);
1221 for (auto *I : ClassDecl->instance_properties())
1223 for (auto *I : ClassDecl->instance_methods())
1225 for (auto *I : ClassDecl->class_methods())
1229 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
2666 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
2679 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
2759 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
2770 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
5597 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface();
5600 = ClassDecl->FindCategoryDeclaration(IDecl->getIdentifier());
5602 std::string FullCategoryName = ClassDecl->getNameAsString();
5669 Result += ClassDecl->getNameAsString();