|
LLDB mainline
|
The enclosing namespace and unqualified name of a named type. More...
#include <Type.h>
Public Member Functions | |
| DeclScope ()=default | |
| DeclScope (const Namespace *decl_context, Identifier unqualified_name) | |
unqualified_name must be interned in the IdentifierMap of the Context that owns the type. | |
| const Namespace * | GetDeclContext () const |
| The enclosing namespace, or null for the global namespace. | |
| Identifier | GetUnqualifiedName () const |
| The unqualified name, or an empty identifier if unknown. | |
Private Attributes | |
| const Namespace * | m_decl_context = nullptr |
| Identifier | m_unqualified_name |
The enclosing namespace and unqualified name of a named type.
A default-constructed DeclScope represents the global namespace.
Definition at line 204 of file source/Plugins/TypeSystem/Clike/Type.h.
|
default |
|
inline |
unqualified_name must be interned in the IdentifierMap of the Context that owns the type.
Definition at line 209 of file source/Plugins/TypeSystem/Clike/Type.h.
References m_decl_context, m_unqualified_name, and lldb_private::Namespace.
|
inline |
The enclosing namespace, or null for the global namespace.
Definition at line 213 of file source/Plugins/TypeSystem/Clike/Type.h.
References m_decl_context, and lldb_private::Namespace.
|
inline |
The unqualified name, or an empty identifier if unknown.
Definition at line 216 of file source/Plugins/TypeSystem/Clike/Type.h.
References m_unqualified_name.
|
private |
Definition at line 219 of file source/Plugins/TypeSystem/Clike/Type.h.
Referenced by DeclScope(), and GetDeclContext().
|
private |
Definition at line 220 of file source/Plugins/TypeSystem/Clike/Type.h.
Referenced by DeclScope(), and GetUnqualifiedName().