mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
68ba523b23
* Try fix travis * fix * Fix clickhouse-local shared-split link * fix * fix * fix * Build fixes * Fix tinfo * fix * tinfo -> termcap * termcap fix * Better llvm version detect * fix * Debian postinst fix Tests: use /usr/local if exists * Compile and doc fixes * fix * fix * fix * macos fixes * fix * wip * Update demangle.h * Update demangle.cpp
17 lines
373 B
C++
17 lines
373 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
|
|
/** Demangles C++ symbol name.
|
|
* When demangling fails, returns the original name and sets status to non-zero.
|
|
* TODO: Write msvc version (now returns the same string)
|
|
*/
|
|
std::string demangle(const char * name, int & status);
|
|
|
|
inline std::string demangle(const char * name)
|
|
{
|
|
int status = 0;
|
|
return demangle(name, status);
|
|
}
|