MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / replace_string

Function replace_string

src/include/migraphx/stringutils.hpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58inline std::string
59replace_string(std::string subject, const std::string& search, const std::string& replace)
60{
61 replace_string_inplace(subject, search, replace);
62 return subject;
63}
64
65inline bool ends_with(const std::string& value, const std::string& suffix)
66{

Callers 5

check_targetFunction · 0.85
enclose_nameFunction · 0.85
enclose_nameFunction · 0.85
cpp_var_nameFunction · 0.85
generate_args_hppFunction · 0.85

Calls 1

replace_string_inplaceFunction · 0.85

Tested by

no test coverage detected