Zero-allocation Itanium (GCC/Clang) name demangler.
More...
#include <demangle.hpp>
|
| constexpr | itanium_demangler (microfmt::string_view mangled) noexcept |
| | Constructs a demangler over an Itanium-mangled symbol.
|
| |
| bool | demangle_to (const sink &out) noexcept |
| | Demangles the symbol into the sink.
|
| |
|
| static void | format_symbol (microfmt::string_view sym, const sink &out) noexcept |
| | Demangles a symbol, falling back to the raw input on failure.
|
| |
Zero-allocation Itanium (GCC/Clang) name demangler.
◆ itanium_demangler()
| constexpr microfmt::itanium_demangler::itanium_demangler |
( |
microfmt::string_view |
mangled | ) |
|
|
inlineexplicitconstexprnoexcept |
Constructs a demangler over an Itanium-mangled symbol.
- Parameters
-
| mangled | Source symbol (must start with _Z). |
◆ demangle_to()
| bool microfmt::itanium_demangler::demangle_to |
( |
const sink & |
out | ) |
|
|
inlinenoexcept |
Demangles the symbol into the sink.
- Parameters
-
| out | Destination sink receiving the demangled form. |
- Returns
false when the input is not an Itanium-mangled name.
◆ format_symbol()
| static void microfmt::itanium_demangler::format_symbol |
( |
microfmt::string_view |
sym, |
|
|
const sink & |
out |
|
) |
| |
|
inlinestaticnoexcept |
Demangles a symbol, falling back to the raw input on failure.
- Parameters
-
| sym | Mangled symbol to demangle. |
| out | Destination sink. |
The documentation for this class was generated from the following file: