Lines Matching refs:ClassString
565 std::string ClassString; in rewriteToObjCInterfaceDecl() local
570 ClassString = '<'; in rewriteToObjCInterfaceDecl()
572 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
574 ClassString += ", "; in rewriteToObjCInterfaceDecl()
576 ClassString += "> "; in rewriteToObjCInterfaceDecl()
579 ClassString = ", "; in rewriteToObjCInterfaceDecl()
581 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
583 ClassString += ", "; in rewriteToObjCInterfaceDecl()
589 commit.insertAfterToken(EndLoc, ClassString); in rewriteToObjCInterfaceDecl()
598 std::string ClassString; in rewriteToNSEnumDecl() local
600 ClassString = "typedef NS_OPTIONS(NSUInteger, "; in rewriteToNSEnumDecl()
602 ClassString = in rewriteToNSEnumDecl()
606 ClassString += TypedefDcl->getIdentifier()->getName(); in rewriteToNSEnumDecl()
607 ClassString += ')'; in rewriteToNSEnumDecl()
609 commit.replace(R, ClassString); in rewriteToNSEnumDecl()
647 std::string ClassString = in rewriteToNSMacroDecl() local
649 ClassString += TypedefDcl->getIdentifier()->getName(); in rewriteToNSMacroDecl()
650 ClassString += ')'; in rewriteToNSMacroDecl()
652 commit.replace(R, ClassString); in rewriteToNSMacroDecl()
840 std::string ClassString; in ReplaceWithInstancetype() local
844 ClassString = "instancetype"; in ReplaceWithInstancetype()
848 ClassString = OM->isInstanceMethod() ? '-' : '+'; in ReplaceWithInstancetype()
849 ClassString += " (instancetype)"; in ReplaceWithInstancetype()
852 commit.replace(R, ClassString); in ReplaceWithInstancetype()
860 std::string ClassString; in ReplaceWithClasstype() local
864 ClassString = IDecl->getName(); in ReplaceWithClasstype()
865 ClassString += "*"; in ReplaceWithClasstype()
870 ClassString = "+ ("; in ReplaceWithClasstype()
871 ClassString += IDecl->getName(); ClassString += "*)"; in ReplaceWithClasstype()
874 commit.replace(R, ClassString); in ReplaceWithClasstype()