llvm::ItaniumPartialDemangler

Partial Itanium demangler for AST queries and selective printing.

Synopsis

Declared in <llvm/Demangle/Demangle.h>

struct ItaniumPartialDemangler;

Description

"Partial" demangler. This supports demangling a string into an AST (typically an intermediate stage in itaniumDemangle) and querying certain properties or partially printing the demangled name.

Member Functions

NameDescription
ItaniumPartialDemangler [constructor]Constructors
~ItaniumPartialDemangler [destructor]Destroy the partial demangler and free its AST.
operator= Move-assign from another partial demangler.
finishDemangle finishDemangle overloads
getFunctionBaseName Get the base name of a function. This doesn't include trailing template arguments, ie for "a::b<int>" this function returns "b".
getFunctionDeclContextName Get the context name for a function. For "a::b::c", this function returns "a::b".
getFunctionName Get the entire name of this function.
getFunctionParameters Get the parameters for this function.
getFunctionReturnType Get the return type for this function.
hasFunctionQualifiers If this function has any cv or reference qualifiers. These imply that the function is a non-static member function.
isCtorOrDtor If this symbol describes a constructor or destructor.
isData If this symbol describes a variable.
isFunction If this symbol describes a function.
isSpecialName If this symbol is a <special-name>. These are generally implicitly generated by the implementation, such as vtables and typeinfo names.
partialDemangle Demangle into an AST. Subsequent calls to the rest of the member functions implicitly operate on the AST this produces.