MCPcopy Create free account
hub / github.com/dobin/RedEdr / demangle

Function demangle

RedEdrShared/loguru.cpp:1145–1151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1143
1144#if LOGURU_STACKTRACES
1145 Text demangle(const char* name)
1146 {
1147 int status = -1;
1148 char* demangled = abi::__cxa_demangle(name, 0, 0, &status);
1149 Text result{ status == 0 ? demangled : STRDUP(name) };
1150 return result;
1151 }
1152
1153#if LOGURU_RTTI
1154 template <class T>

Callers 1

type_nameFunction · 0.85

Calls 1

TextFunction · 0.85

Tested by

no test coverage detected