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

Function enclose_name

src/graphviz.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49static bool is_hex_color(std::string color) { return not color.empty() and color[0] == '#'; }
50
51std::string enclose_name(const std::string& name)
52{
53 return '"' + replace_string(name, "\"", "\\\"") + '"';
54}
55
56std::string format_shape_name(const migraphx::shape& s, const std::string& linebreak)
57{

Callers

nothing calls this directly

Calls 1

replace_stringFunction · 0.85

Tested by

no test coverage detected