Lines Matching refs:ClassString

665   std::string ClassString;  in rewriteToObjCInterfaceDecl()  local
670 ClassString = '<'; in rewriteToObjCInterfaceDecl()
672 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
674 ClassString += ", "; in rewriteToObjCInterfaceDecl()
676 ClassString += "> "; in rewriteToObjCInterfaceDecl()
679 ClassString = ", "; in rewriteToObjCInterfaceDecl()
681 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
683 ClassString += ", "; in rewriteToObjCInterfaceDecl()
689 commit.insertAfterToken(EndLoc, ClassString); in rewriteToObjCInterfaceDecl()
709 std::string ClassString; in rewriteToNSEnumDecl() local
711 ClassString = "typedef NS_OPTIONS("; in rewriteToNSEnumDecl()
712 ClassString += GetUnsignedName(NSIntegerName); in rewriteToNSEnumDecl()
715 ClassString = "typedef NS_ENUM("; in rewriteToNSEnumDecl()
716 ClassString += NSIntegerName; in rewriteToNSEnumDecl()
718 ClassString += ", "; in rewriteToNSEnumDecl()
720 ClassString += TypedefDcl->getIdentifier()->getName(); in rewriteToNSEnumDecl()
721 ClassString += ')'; in rewriteToNSEnumDecl()
723 commit.replace(R, ClassString); in rewriteToNSEnumDecl()
768 std::string ClassString = IsNSIntegerType ? "NS_ENUM(" : "NS_OPTIONS("; in rewriteToNSMacroDecl() local
769 ClassString += TypeString; in rewriteToNSMacroDecl()
770 ClassString += ", "; in rewriteToNSMacroDecl()
772 ClassString += TypedefDcl->getIdentifier()->getName(); in rewriteToNSMacroDecl()
773 ClassString += ')'; in rewriteToNSMacroDecl()
790 commit.replace(R, ClassString); in rewriteToNSMacroDecl()
971 std::string ClassString; in ReplaceWithInstancetype() local
975 ClassString = "instancetype"; in ReplaceWithInstancetype()
979 ClassString = OM->isInstanceMethod() ? '-' : '+'; in ReplaceWithInstancetype()
980 ClassString += " (instancetype)"; in ReplaceWithInstancetype()
983 commit.replace(R, ClassString); in ReplaceWithInstancetype()
991 std::string ClassString; in ReplaceWithClasstype() local
995 ClassString = IDecl->getName(); in ReplaceWithClasstype()
996 ClassString += "*"; in ReplaceWithClasstype()
1001 ClassString = "+ ("; in ReplaceWithClasstype()
1002 ClassString += IDecl->getName(); ClassString += "*)"; in ReplaceWithClasstype()
1005 commit.replace(R, ClassString); in ReplaceWithClasstype()