MCPcopy Create free account
hub / github.com/Samsung/UTopia / changeStaticArrayToPtr

Function changeStaticArrayToPtr

include/ftg/utils/AssignUtil.h:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static std::string changeStaticArrayToPtr(std::string str) {
121 std::string ret = regex(str, "(.+)\\[.*\\]", 1);
122 return ret.empty() ? str : ret + "*";
123}
124
125static std::string inline getFuzzInputTypeString(std::string str) {
126 return changeStaticArrayToPtr(stripConstExpr(str));

Callers 1

getFuzzInputTypeStringFunction · 0.85

Calls 2

regexFunction · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected