LLDB mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::ClangASTMetadata Class Reference

#include <ClangASTMetadata.h>

Public Member Functions

 ClangASTMetadata ()
 
bool GetIsDynamicCXXType () const
 
void SetIsDynamicCXXType (bool b)
 
void SetUserID (lldb::user_id_t user_id)
 
lldb::user_id_t GetUserID () const
 
void SetISAPtr (uint64_t isa_ptr)
 
uint64_t GetISAPtr () const
 
void SetObjectPtrName (const char *name)
 
lldb::LanguageType GetObjectPtrLanguage () const
 
const char * GetObjectPtrName () const
 
bool HasObjectPtr () const
 
bool IsForcefullyCompleted () const
 A type is "forcefully completed" if it was declared complete to satisfy an AST invariant (e.g.
 
void SetIsForcefullyCompleted (bool value=true)
 
void Dump (Stream *s)
 

Private Attributes

union {
   lldb::user_id_t   m_user_id
 
   uint64_t   m_isa_ptr
 
}; 
 
bool m_union_is_user_id: 1
 
bool m_union_is_isa_ptr: 1
 
bool m_has_object_ptr: 1
 
bool m_is_self: 1
 
bool m_is_dynamic_cxx: 1
 
bool m_is_forcefully_completed: 1
 

Detailed Description

Definition at line 18 of file ClangASTMetadata.h.

Constructor & Destructor Documentation

◆ ClangASTMetadata()

lldb_private::ClangASTMetadata::ClangASTMetadata ( )
inline

Definition at line 20 of file ClangASTMetadata.h.

Member Function Documentation

◆ Dump()

void ClangASTMetadata::Dump ( Stream s)

◆ GetISAPtr()

uint64_t lldb_private::ClangASTMetadata::GetISAPtr ( ) const
inline

Definition at line 48 of file ClangASTMetadata.h.

References m_isa_ptr, and m_union_is_isa_ptr.

Referenced by Dump().

◆ GetIsDynamicCXXType()

bool lldb_private::ClangASTMetadata::GetIsDynamicCXXType ( ) const
inline

Definition at line 25 of file ClangASTMetadata.h.

References m_is_dynamic_cxx.

◆ GetObjectPtrLanguage()

lldb::LanguageType lldb_private::ClangASTMetadata::GetObjectPtrLanguage ( ) const
inline

◆ GetObjectPtrName()

const char * lldb_private::ClangASTMetadata::GetObjectPtrName ( ) const
inline

Definition at line 75 of file ClangASTMetadata.h.

References m_has_object_ptr, and m_is_self.

Referenced by Dump().

◆ GetUserID()

lldb::user_id_t lldb_private::ClangASTMetadata::GetUserID ( ) const
inline

Definition at line 35 of file ClangASTMetadata.h.

References LLDB_INVALID_UID, m_union_is_user_id, and m_user_id.

Referenced by Dump().

◆ HasObjectPtr()

bool lldb_private::ClangASTMetadata::HasObjectPtr ( ) const
inline

Definition at line 85 of file ClangASTMetadata.h.

References m_has_object_ptr.

◆ IsForcefullyCompleted()

bool lldb_private::ClangASTMetadata::IsForcefullyCompleted ( ) const
inline

A type is "forcefully completed" if it was declared complete to satisfy an AST invariant (e.g.

base classes must be complete types), but in fact we were not able to find a actual definition for it.

Definition at line 90 of file ClangASTMetadata.h.

References m_is_forcefully_completed.

◆ SetISAPtr()

void lldb_private::ClangASTMetadata::SetISAPtr ( uint64_t  isa_ptr)
inline

◆ SetIsDynamicCXXType()

void lldb_private::ClangASTMetadata::SetIsDynamicCXXType ( bool  b)
inline

◆ SetIsForcefullyCompleted()

void lldb_private::ClangASTMetadata::SetIsForcefullyCompleted ( bool  value = true)
inline

Definition at line 92 of file ClangASTMetadata.h.

References m_is_forcefully_completed.

◆ SetObjectPtrName()

void lldb_private::ClangASTMetadata::SetObjectPtrName ( const char *  name)
inline

◆ SetUserID()

void lldb_private::ClangASTMetadata::SetUserID ( lldb::user_id_t  user_id)
inline

Member Data Documentation

◆ 

union { ... } lldb_private::ClangASTMetadata::@53

◆ m_has_object_ptr

bool lldb_private::ClangASTMetadata::m_has_object_ptr
private

◆ m_is_dynamic_cxx

bool lldb_private::ClangASTMetadata::m_is_dynamic_cxx
private

Definition at line 105 of file ClangASTMetadata.h.

Referenced by Dump(), GetIsDynamicCXXType(), and SetIsDynamicCXXType().

◆ m_is_forcefully_completed

bool lldb_private::ClangASTMetadata::m_is_forcefully_completed
private

Definition at line 105 of file ClangASTMetadata.h.

Referenced by IsForcefullyCompleted(), and SetIsForcefullyCompleted().

◆ m_is_self

bool lldb_private::ClangASTMetadata::m_is_self
private

Definition at line 105 of file ClangASTMetadata.h.

Referenced by GetObjectPtrLanguage(), GetObjectPtrName(), and SetObjectPtrName().

◆ m_isa_ptr

uint64_t lldb_private::ClangASTMetadata::m_isa_ptr

Definition at line 101 of file ClangASTMetadata.h.

Referenced by GetISAPtr(), and SetISAPtr().

◆ m_union_is_isa_ptr

bool lldb_private::ClangASTMetadata::m_union_is_isa_ptr
private

Definition at line 104 of file ClangASTMetadata.h.

Referenced by GetISAPtr(), SetISAPtr(), and SetUserID().

◆ m_union_is_user_id

bool lldb_private::ClangASTMetadata::m_union_is_user_id
private

Definition at line 104 of file ClangASTMetadata.h.

Referenced by GetUserID(), SetISAPtr(), and SetUserID().

◆ m_user_id

lldb::user_id_t lldb_private::ClangASTMetadata::m_user_id

Definition at line 100 of file ClangASTMetadata.h.

Referenced by GetUserID(), and SetUserID().


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