LLDB mainline
|
#include <Type.h>
Public Member Functions | |
TypeMemberFunctionImpl ()=default | |
TypeMemberFunctionImpl (const CompilerType &type, const CompilerDecl &decl, const std::string &name, const lldb::MemberFunctionKind &kind) | |
bool | IsValid () |
ConstString | GetName () const |
ConstString | GetMangledName () const |
CompilerType | GetType () const |
CompilerType | GetReturnType () const |
size_t | GetNumArguments () const |
CompilerType | GetArgumentAtIndex (size_t idx) const |
lldb::MemberFunctionKind | GetKind () const |
bool | GetDescription (Stream &stream) |
Protected Member Functions | |
std::string | GetPrintableTypeName () |
Private Attributes | |
CompilerType | m_type |
CompilerDecl | m_decl |
ConstString | m_name |
lldb::MemberFunctionKind | m_kind = lldb::eMemberFunctionKindUnknown |
|
default |
|
inline |
CompilerType TypeMemberFunctionImpl::GetArgumentAtIndex | ( | size_t | idx | ) | const |
Definition at line 1256 of file Type.cpp.
References lldb_private::CompilerType::GetFunctionArgumentAtIndex(), lldb_private::CompilerDecl::GetFunctionArgumentType(), m_decl, and m_type.
bool TypeMemberFunctionImpl::GetDescription | ( | Stream & | stream | ) |
Definition at line 1219 of file Type.cpp.
References lldb_private::ConstString::AsCString(), lldb::eMemberFunctionKindConstructor, lldb::eMemberFunctionKindDestructor, lldb::eMemberFunctionKindInstanceMethod, lldb::eMemberFunctionKindStaticMethod, lldb::eMemberFunctionKindUnknown, lldb_private::CompilerDecl::GetDeclContext(), lldb_private::CompilerDeclContext::GetName(), lldb_private::CompilerType::GetTypeName(), m_decl, m_kind, m_name, m_type, and lldb_private::Stream::Printf().
lldb::MemberFunctionKind TypeMemberFunctionImpl::GetKind | ( | ) | const |
ConstString TypeMemberFunctionImpl::GetMangledName | ( | ) | const |
Definition at line 1209 of file Type.cpp.
References lldb_private::CompilerDecl::GetMangledName(), and m_decl.
ConstString TypeMemberFunctionImpl::GetName | ( | ) | const |
size_t TypeMemberFunctionImpl::GetNumArguments | ( | ) | const |
Definition at line 1249 of file Type.cpp.
References lldb_private::CompilerType::GetNumberOfFunctionArguments(), lldb_private::CompilerDecl::GetNumFunctionArguments(), m_decl, and m_type.
|
protected |
CompilerType TypeMemberFunctionImpl::GetReturnType | ( | ) | const |
Definition at line 1243 of file Type.cpp.
References lldb_private::CompilerDecl::GetFunctionReturnType(), lldb_private::CompilerType::GetFunctionReturnType(), m_decl, and m_type.
CompilerType TypeMemberFunctionImpl::GetType | ( | ) | const |
bool TypeMemberFunctionImpl::IsValid | ( | ) |
Definition at line 1203 of file Type.cpp.
References lldb::eMemberFunctionKindUnknown, lldb_private::CompilerType::IsValid(), m_kind, and m_type.
|
private |
Definition at line 854 of file Type.h.
Referenced by GetArgumentAtIndex(), GetDescription(), GetMangledName(), GetNumArguments(), and GetReturnType().
|
private |
Definition at line 856 of file Type.h.
Referenced by GetDescription(), GetKind(), and IsValid().
|
private |
Definition at line 855 of file Type.h.
Referenced by GetDescription(), and GetName().
|
private |
Definition at line 853 of file Type.h.
Referenced by GetArgumentAtIndex(), GetDescription(), GetNumArguments(), GetReturnType(), GetType(), and IsValid().