MCPcopy Create free account
hub / github.com/covscript/covscript / cxx_demangle

Function cxx_demangle

sources/covscript.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53#pragma comment(lib, "DbgHelp")
54namespace cs_impl {
55 std::string cxx_demangle(const char *name)
56 {
57 char buffer[1024];
58 DWORD length = UnDecorateSymbolName(name, buffer, sizeof(buffer), 0);
59 if (length > 0)
60 return std::string(buffer, length);
61 else
62 return name;
63 }
64} // namespace cs_impl
65#elif defined __GNUC__
66

Callers 15

checkMethod · 0.85
convertMethod · 0.85
convertMethod · 0.85
to_stringMethod · 0.85
variable.hppFile · 0.85
get_type_nameMethod · 0.85
addFunction · 0.85
subFunction · 0.85
mulFunction · 0.85
divFunction · 0.85
modFunction · 0.85
powFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected