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

Function trim

include/ftg/utils/StringUtil.h:51–55  ·  view source on GitHub ↗

trim from both ends

Source from the content-addressed store, hash-verified

49
50// trim from both ends
51static inline std::string trim(std::string s) {
52 s = ltrim(s);
53 s = rtrim(s);
54 return s;
55}
56
57std::string demangle(const char *name);
58

Callers 5

TESTFunction · 0.85
stripPtrExprFunction · 0.85
stripConstExprFunction · 0.85
findReporterNameMethod · 0.85

Calls 2

ltrimFunction · 0.85
rtrimFunction · 0.85

Tested by 2

TESTFunction · 0.68
findReporterNameMethod · 0.68