LLDB  mainline
Public Member Functions | List of all members
lldb_private::CompilerDecl Class Reference

#include <CompilerDecl.h>

Public Member Functions

 CompilerDecl ()
 
 CompilerDecl (TypeSystem *type_system, void *decl)
 
 ~CompilerDecl ()
 
 operator bool () const
 
bool operator< (const CompilerDecl &rhs) const
 
bool IsValid () const
 
bool IsClang () const
 
TypeSystemGetTypeSystem () const
 
void * GetOpaqueDecl () const
 
void SetDecl (TypeSystem *type_system, void *decl)
 
void Clear ()
 
ConstString GetName () const
 
ConstString GetMangledName () const
 
CompilerDeclContext GetDeclContext () const
 
CompilerType GetFunctionReturnType () const
 
size_t GetNumFunctionArguments () const
 
CompilerType GetFunctionArgumentType (size_t arg_idx) const
 

Detailed Description

Definition at line 18 of file CompilerDecl.h.

Constructor & Destructor Documentation

◆ CompilerDecl() [1/2]

lldb_private::CompilerDecl::CompilerDecl ( )
inline

Definition at line 21 of file CompilerDecl.h.

◆ CompilerDecl() [2/2]

lldb_private::CompilerDecl::CompilerDecl ( TypeSystem type_system,
void *  decl 
)
inline

Definition at line 23 of file CompilerDecl.h.

◆ ~CompilerDecl()

lldb_private::CompilerDecl::~CompilerDecl ( )
inline

Definition at line 26 of file CompilerDecl.h.

Member Function Documentation

◆ Clear()

void lldb_private::CompilerDecl::Clear ( )
inline

◆ GetDeclContext()

CompilerDeclContext CompilerDecl::GetDeclContext ( ) const

Definition at line 27 of file CompilerDecl.cpp.

References lldb_private::TypeSystem::DeclGetDeclContext().

Referenced by Clear().

◆ GetFunctionArgumentType()

CompilerType CompilerDecl::GetFunctionArgumentType ( size_t  arg_idx) const

Definition at line 39 of file CompilerDecl.cpp.

References lldb_private::TypeSystem::DeclGetFunctionArgumentType().

Referenced by Clear().

◆ GetFunctionReturnType()

CompilerType CompilerDecl::GetFunctionReturnType ( ) const

Definition at line 31 of file CompilerDecl.cpp.

References lldb_private::TypeSystem::DeclGetFunctionReturnType().

Referenced by Clear().

◆ GetMangledName()

ConstString CompilerDecl::GetMangledName ( ) const

Definition at line 23 of file CompilerDecl.cpp.

References lldb_private::TypeSystem::DeclGetMangledName().

Referenced by Clear().

◆ GetName()

ConstString CompilerDecl::GetName ( ) const

Definition at line 19 of file CompilerDecl.cpp.

References lldb_private::TypeSystem::DeclGetName().

Referenced by Clear().

◆ GetNumFunctionArguments()

size_t CompilerDecl::GetNumFunctionArguments ( ) const

Definition at line 35 of file CompilerDecl.cpp.

References lldb_private::TypeSystem::DeclGetFunctionNumArguments().

Referenced by Clear().

◆ GetOpaqueDecl()

void* lldb_private::CompilerDecl::GetOpaqueDecl ( ) const
inline

◆ GetTypeSystem()

TypeSystem* lldb_private::CompilerDecl::GetTypeSystem ( ) const
inline

Definition at line 46 of file CompilerDecl.h.

Referenced by lldb_private::operator!=(), and lldb_private::operator==().

◆ IsClang()

bool CompilerDecl::IsClang ( ) const

◆ IsValid()

bool lldb_private::CompilerDecl::IsValid ( ) const
inline

Definition at line 38 of file CompilerDecl.h.

References IsClang().

Referenced by IsClang(), and operator bool().

◆ operator bool()

lldb_private::CompilerDecl::operator bool ( ) const
inlineexplicit

Definition at line 30 of file CompilerDecl.h.

References IsValid().

◆ operator<()

bool lldb_private::CompilerDecl::operator< ( const CompilerDecl rhs) const
inline

Definition at line 32 of file CompilerDecl.h.

◆ SetDecl()

void lldb_private::CompilerDecl::SetDecl ( TypeSystem type_system,
void *  decl 
)
inline

Definition at line 50 of file CompilerDecl.h.


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