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

A Clang module ID. More...

#include <TypeSystemClang.h>

Public Member Functions

 OptionalClangModuleID ()=default
 
 OptionalClangModuleID (unsigned id)
 
bool HasValue () const
 
unsigned GetValue () const
 

Private Attributes

unsigned m_id = 0
 

Detailed Description

A Clang module ID.

Definition at line 57 of file TypeSystemClang.h.

Constructor & Destructor Documentation

◆ OptionalClangModuleID() [1/2]

lldb_private::OptionalClangModuleID::OptionalClangModuleID ( )
default

◆ OptionalClangModuleID() [2/2]

lldb_private::OptionalClangModuleID::OptionalClangModuleID ( unsigned  id)
inlineexplicit

Definition at line 62 of file TypeSystemClang.h.

Member Function Documentation

◆ GetValue()

unsigned lldb_private::OptionalClangModuleID::GetValue ( ) const
inline

◆ HasValue()

bool lldb_private::OptionalClangModuleID::HasValue ( ) const
inline

Definition at line 63 of file TypeSystemClang.h.

References m_id.

Referenced by RemapModule(), and lldb_private::TypeSystemClang::SetOwningModule().

Member Data Documentation

◆ m_id

unsigned lldb_private::OptionalClangModuleID::m_id = 0
private

Definition at line 58 of file TypeSystemClang.h.

Referenced by GetValue(), and HasValue().


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