Lines Matching refs:ClassString
666 std::string ClassString; in rewriteToObjCInterfaceDecl() local
671 ClassString = '<'; in rewriteToObjCInterfaceDecl()
673 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
675 ClassString += ", "; in rewriteToObjCInterfaceDecl()
677 ClassString += "> "; in rewriteToObjCInterfaceDecl()
680 ClassString = ", "; in rewriteToObjCInterfaceDecl()
682 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
684 ClassString += ", "; in rewriteToObjCInterfaceDecl()
690 commit.insertAfterToken(EndLoc, ClassString); in rewriteToObjCInterfaceDecl()
710 std::string ClassString; in rewriteToNSEnumDecl() local
712 ClassString = "typedef NS_OPTIONS("; in rewriteToNSEnumDecl()
713 ClassString += GetUnsignedName(NSIntegerName); in rewriteToNSEnumDecl()
716 ClassString = "typedef NS_ENUM("; in rewriteToNSEnumDecl()
717 ClassString += NSIntegerName; in rewriteToNSEnumDecl()
719 ClassString += ", "; in rewriteToNSEnumDecl()
721 ClassString += TypedefDcl->getIdentifier()->getName(); in rewriteToNSEnumDecl()
722 ClassString += ')'; in rewriteToNSEnumDecl()
724 commit.replace(R, ClassString); in rewriteToNSEnumDecl()
769 std::string ClassString = IsNSIntegerType ? "NS_ENUM(" : "NS_OPTIONS("; in rewriteToNSMacroDecl() local
770 ClassString += TypeString; in rewriteToNSMacroDecl()
771 ClassString += ", "; in rewriteToNSMacroDecl()
773 ClassString += TypedefDcl->getIdentifier()->getName(); in rewriteToNSMacroDecl()
774 ClassString += ')'; in rewriteToNSMacroDecl()
791 commit.replace(R, ClassString); in rewriteToNSMacroDecl()
972 std::string ClassString; in ReplaceWithInstancetype() local
976 ClassString = "instancetype"; in ReplaceWithInstancetype()
980 ClassString = OM->isInstanceMethod() ? '-' : '+'; in ReplaceWithInstancetype()
981 ClassString += " (instancetype)"; in ReplaceWithInstancetype()
984 commit.replace(R, ClassString); in ReplaceWithInstancetype()
992 std::string ClassString; in ReplaceWithClasstype() local
996 ClassString = IDecl->getName(); in ReplaceWithClasstype()
997 ClassString += "*"; in ReplaceWithClasstype()
1002 ClassString = "+ ("; in ReplaceWithClasstype()
1003 ClassString += IDecl->getName(); ClassString += "*)"; in ReplaceWithClasstype()
1006 commit.replace(R, ClassString); in ReplaceWithClasstype()