MCPcopy Create free account
hub / github.com/catboost/catboost / TypeNameImpl

Function TypeNameImpl

util/system/type_name.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static TString TypeNameImpl(const char* name) {
50 TString demangled = CppDemangleImpl(name);
51#if defined(_linux_) || defined(_darwin_)
52 SubstGlobal(demangled, STD_ABI_PREFIX, STD_PREFIX);
53#endif
54 return demangled;
55}
56
57TString TypeName(const std::type_info& typeInfo) {
58 return TypeNameImpl(typeInfo.name()); // NOLINT(arcadia-typeid-name-restriction)

Callers 1

TypeNameFunction · 0.85

Calls 2

CppDemangleImplFunction · 0.85
SubstGlobalFunction · 0.50

Tested by

no test coverage detected