Lines Matching defs:ToReplace
1744 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString();1747 size_t Idx = S.find(ToReplace);1749 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!");1750 S.replace(Idx, ToReplace.size(), ReplaceWith);