forked from OSchip/llvm-project
Add an accessor to get the Declaration for a type.
llvm-svn: 111607
This commit is contained in:
parent
9976033698
commit
64b931c1e1
|
@ -168,6 +168,9 @@ public:
|
|||
m_context = context;
|
||||
}
|
||||
|
||||
const lldb_private::Declaration &
|
||||
GetDeclaration () const;
|
||||
|
||||
void *
|
||||
GetOpaqueClangQualType ();
|
||||
|
||||
|
|
|
@ -389,6 +389,11 @@ lldb_private::Type::GetTypeList()
|
|||
return GetSymbolFile()->GetObjectFile()->GetModule()->GetTypeList();
|
||||
}
|
||||
|
||||
const lldb_private::Declaration &
|
||||
lldb_private::Type::GetDeclaration () const
|
||||
{
|
||||
return m_decl;
|
||||
}
|
||||
|
||||
bool
|
||||
lldb_private::Type::ResolveClangType()
|
||||
|
|
Loading…
Reference in New Issue