mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
c26b3bdef1
* Fix split shared build * Fix build without system odbc libs * Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h * Fix build with libiodbc
16 lines
314 B
C++
16 lines
314 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
|
|
/** Demangles C++ symbol name.
|
|
* When demangling fails, returns the original name and sets status to non-zero.
|
|
*/
|
|
std::string demangle(const char * name, int & status);
|
|
|
|
inline std::string demangle(const char * name)
|
|
{
|
|
int status = 0;
|
|
return demangle(name, status);
|
|
}
|