Lines Matching refs:ClassString

677   std::string ClassString;  in rewriteToObjCInterfaceDecl()  local
682 ClassString = '<'; in rewriteToObjCInterfaceDecl()
684 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
686 ClassString += ", "; in rewriteToObjCInterfaceDecl()
688 ClassString += "> "; in rewriteToObjCInterfaceDecl()
691 ClassString = ", "; in rewriteToObjCInterfaceDecl()
693 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
695 ClassString += ", "; in rewriteToObjCInterfaceDecl()
701 commit.insertAfterToken(EndLoc, ClassString); in rewriteToObjCInterfaceDecl()
721 std::string ClassString; in rewriteToNSEnumDecl() local
723 ClassString = "typedef NS_OPTIONS("; in rewriteToNSEnumDecl()
724 ClassString += GetUnsignedName(NSIntegerName); in rewriteToNSEnumDecl()
727 ClassString = "typedef NS_ENUM("; in rewriteToNSEnumDecl()
728 ClassString += NSIntegerName; in rewriteToNSEnumDecl()
730 ClassString += ", "; in rewriteToNSEnumDecl()
732 ClassString += TypedefDcl->getIdentifier()->getName(); in rewriteToNSEnumDecl()
733 ClassString += ')'; in rewriteToNSEnumDecl()
735 commit.replace(R, ClassString); in rewriteToNSEnumDecl()
780 std::string ClassString = IsNSIntegerType ? "NS_ENUM(" : "NS_OPTIONS("; in rewriteToNSMacroDecl() local
781 ClassString += TypeString; in rewriteToNSMacroDecl()
782 ClassString += ", "; in rewriteToNSMacroDecl()
784 ClassString += TypedefDcl->getIdentifier()->getName(); in rewriteToNSMacroDecl()
785 ClassString += ')'; in rewriteToNSMacroDecl()
802 commit.replace(R, ClassString); in rewriteToNSMacroDecl()
983 std::string ClassString; in ReplaceWithInstancetype() local
987 ClassString = "instancetype"; in ReplaceWithInstancetype()
991 ClassString = OM->isInstanceMethod() ? '-' : '+'; in ReplaceWithInstancetype()
992 ClassString += " (instancetype)"; in ReplaceWithInstancetype()
995 commit.replace(R, ClassString); in ReplaceWithInstancetype()
1003 std::string ClassString; in ReplaceWithClasstype() local
1007 ClassString = IDecl->getName(); in ReplaceWithClasstype()
1008 ClassString += "*"; in ReplaceWithClasstype()
1013 ClassString = "+ ("; in ReplaceWithClasstype()
1014 ClassString += IDecl->getName(); ClassString += "*)"; in ReplaceWithClasstype()
1017 commit.replace(R, ClassString); in ReplaceWithClasstype()