LLDB mainline
lldb_private::plugin::fortran::FortranFunction Class Reference

#include <FortranTypes.h>

Inheritance diagram for lldb_private::plugin::fortran::FortranFunction:
[legend]

Public Member Functions

bool isA (const void *ClassID) const override
 FortranFunction (ConstString func_name, const llvm::SmallVectorImpl< CompilerType > &param_types, const llvm::SmallVectorImpl< llvm::StringRef > &param_names, CompilerType return_type)
llvm::ArrayRef< CompilerType > GetParamTypes () const
size_t GetNumParams () const
CompilerType GetReturnType () const
ConstString GetSignature () const
void Profile (llvm::FoldingSetNodeID &id) const
Public Member Functions inherited from lldb_private::plugin::fortran::FortranType
 FortranType (int32_t kind, uint64_t bitsize, const ConstString &name)
virtual ~FortranType ()
int GetKind () const
uint64_t GetBitSize () const
ConstString GetName () const
void Profile (llvm::FoldingSetNodeID &ID) const

Static Public Member Functions

static bool classof (const FortranType *ft)
static void Profile (llvm::FoldingSetNodeID &id, ConstString func_name, llvm::ArrayRef< CompilerType > param_types, CompilerType return_type)
static FortranFunction * GetFunctionType (void *type)
Static Public Member Functions inherited from lldb_private::plugin::fortran::FortranType
static bool classof (const FortranType *ft)
static void Profile (llvm::FoldingSetNodeID &ID, int32_t kind, uint64_t bitsize)

Private Attributes

llvm::SmallVector< CompilerType, 4 > m_param_types
CompilerType m_return_type
ConstString m_func_signature

Static Private Attributes

static char ID

Additional Inherited Members

Public Types inherited from lldb_private::plugin::fortran::FortranType
enum  TypeKind {
  KIND_INTEGER , KIND_UNSIGNED , KIND_LOGICAL , KIND_REAL ,
  KIND_COMPLEX , KIND_FUNCTION , KIND_UNKNOWN
}

Detailed Description

Definition at line 75 of file FortranTypes.h.

Constructor & Destructor Documentation

◆ FortranFunction()

FortranFunction::FortranFunction ( ConstString func_name,
const llvm::SmallVectorImpl< CompilerType > & param_types,
const llvm::SmallVectorImpl< llvm::StringRef > & param_names,
CompilerType return_type )

Member Function Documentation

◆ classof()

bool lldb_private::plugin::fortran::FortranFunction::classof ( const FortranType * ft)
inlinestatic

◆ GetFunctionType()

◆ GetNumParams()

size_t lldb_private::plugin::fortran::FortranFunction::GetNumParams ( ) const
inline

◆ GetParamTypes()

llvm::ArrayRef< CompilerType > lldb_private::plugin::fortran::FortranFunction::GetParamTypes ( ) const
inline

Definition at line 92 of file FortranTypes.h.

References m_param_types.

Referenced by lldb_private::TypeSystemFortran::GetFunctionArgumentAtIndex().

◆ GetReturnType()

CompilerType lldb_private::plugin::fortran::FortranFunction::GetReturnType ( ) const
inline

Definition at line 94 of file FortranTypes.h.

References m_return_type.

Referenced by lldb_private::TypeSystemFortran::GetFunctionReturnType().

◆ GetSignature()

ConstString lldb_private::plugin::fortran::FortranFunction::GetSignature ( ) const
inline

Definition at line 95 of file FortranTypes.h.

References m_func_signature.

◆ isA()

bool lldb_private::plugin::fortran::FortranFunction::isA ( const void * ClassID) const
inlineoverridevirtual

◆ Profile() [1/2]

void lldb_private::plugin::fortran::FortranFunction::Profile ( llvm::FoldingSetNodeID & id) const
inline

◆ Profile() [2/2]

void lldb_private::plugin::fortran::FortranFunction::Profile ( llvm::FoldingSetNodeID & id,
ConstString func_name,
llvm::ArrayRef< CompilerType > param_types,
CompilerType return_type )
inlinestatic

Member Data Documentation

◆ ID

char FortranFunction::ID
staticprivate

Definition at line 77 of file FortranTypes.h.

Referenced by classof(), and isA().

◆ m_func_signature

ConstString lldb_private::plugin::fortran::FortranFunction::m_func_signature
private

Definition at line 119 of file FortranTypes.h.

Referenced by FortranFunction(), and GetSignature().

◆ m_param_types

llvm::SmallVector<CompilerType, 4> lldb_private::plugin::fortran::FortranFunction::m_param_types
private

Definition at line 117 of file FortranTypes.h.

Referenced by FortranFunction(), GetNumParams(), GetParamTypes(), and Profile().

◆ m_return_type

CompilerType lldb_private::plugin::fortran::FortranFunction::m_return_type
private

Definition at line 118 of file FortranTypes.h.

Referenced by FortranFunction(), GetReturnType(), and Profile().


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