LLDB mainline
lldb_private::clike::TypeRef Class Reference

A reference to another Type. More...

#include <Type.h>

Public Member Functions

 TypeRef (Type &type)
Type & Get () const
 The referenced type.

Private Attributes

Type * m_type

Detailed Description

A reference to another Type.

The other type can belong to another context.

This is currently a wrapper around a Type pointer. In the future this could also reference types that are no longer in memory (e.g., because they have been deallocated to free up space).

Definition at line 62 of file source/Plugins/TypeSystem/Clike/Type.h.

Constructor & Destructor Documentation

◆ TypeRef()

lldb_private::clike::TypeRef::TypeRef ( Type & type)
inlineexplicit

Definition at line 64 of file source/Plugins/TypeSystem/Clike/Type.h.

References m_type.

Member Function Documentation

◆ Get()

Type & lldb_private::clike::TypeRef::Get ( ) const
inline

The referenced type.

Definition at line 67 of file source/Plugins/TypeSystem/Clike/Type.h.

References m_type.

Referenced by lldb_private::clike::Type::HasFields().

Member Data Documentation

◆ m_type

Type* lldb_private::clike::TypeRef::m_type
private

Definition at line 70 of file source/Plugins/TypeSystem/Clike/Type.h.

Referenced by Get(), and TypeRef().


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