LLDB mainline
lldb_private::Mangled::FunctionNameParts Struct Reference

The parts of a mangled function name used in the symbol table's indices. More...

#include <Mangled.h>

Public Attributes

ConstString basename
 If empty, the symbol is only indexed by its mangled name.
ConstString decl_context
 The enclosing context.
FunctionNameKind kind = FunctionNameKind::Unknown

Detailed Description

The parts of a mangled function name used in the symbol table's indices.

Definition at line 64 of file Mangled.h.

Member Data Documentation

◆ basename

ConstString lldb_private::Mangled::FunctionNameParts::basename

If empty, the symbol is only indexed by its mangled name.

Definition at line 66 of file Mangled.h.

Referenced by lldb_private::Symtab::RegisterMangledNameEntry().

◆ decl_context

ConstString lldb_private::Mangled::FunctionNameParts::decl_context

The enclosing context.

The symbol table only uses it to work out which contexts are classes: a ConstructorOrDestructor shows that its context is one, and an Unknown function in such a context is a method.

Definition at line 71 of file Mangled.h.

Referenced by lldb_private::Symtab::RegisterMangledNameEntry().

◆ kind

FunctionNameKind lldb_private::Mangled::FunctionNameParts::kind = FunctionNameKind::Unknown

Definition at line 72 of file Mangled.h.

Referenced by lldb_private::Symtab::RegisterMangledNameEntry().


The documentation for this struct was generated from the following file: