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

#include <ClangASTMetadata.h>

Collaboration diagram for lldb_private::ClangASTMetadata:
Collaboration graph
[legend]

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. More...
 
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

◆ GetIsDynamicCXXType()

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

Definition at line 25 of file ClangASTMetadata.h.

References m_is_dynamic_cxx.

Referenced by lldb_private::TypeSystemClang::IsPossibleDynamicType().

◆ 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 lldb_private::TypeSystemClang::DeclContextIsClassMethod(), and Dump().

◆ GetUserID()

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

◆ HasObjectPtr()

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

◆ 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.

Referenced by lldb_private::ClangASTImporter::ASTImporterDelegate::ImportImpl().

◆ 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 Dump(), and m_is_forcefully_completed.

Referenced by DWARFASTParserClang::CompleteType().

◆ SetObjectPtrName()

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

Definition at line 55 of file ClangASTMetadata.h.

References m_has_object_ptr, and m_is_self.

Referenced by DWARFASTParserClang::ParseSubroutine().

◆ SetUserID()

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

Member Data Documentation

◆ @53

union { ... }

◆ 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 104 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 104 of file ClangASTMetadata.h.

Referenced by IsForcefullyCompleted(), and SetIsForcefullyCompleted().

◆ m_is_self

bool lldb_private::ClangASTMetadata::m_is_self
private

Definition at line 104 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: