Reviewers: teon.banek, buda Reviewed By: teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1974
18 lines
307 B
C++
18 lines
307 B
C++
/**
|
|
* @file
|
|
*/
|
|
#pragma once
|
|
|
|
#include <optional>
|
|
#include <string>
|
|
|
|
namespace utils {
|
|
|
|
/**
|
|
* Converts a mangled name to a human-readable name using abi::__cxa_demangle.
|
|
* Returns nullopt if the conversion failed.
|
|
*/
|
|
std::optional<std::string> Demangle(const char *mangled_name);
|
|
|
|
} // namespace utils
|