Add an accessor to get the Declaration for a type.

llvm-svn: 111607
This commit is contained in:
Jim Ingham 2010-08-20 01:15:38 +00:00
parent 9976033698
commit 64b931c1e1
2 changed files with 8 additions and 0 deletions

View File

@ -168,6 +168,9 @@ public:
m_context = context;
}
const lldb_private::Declaration &
GetDeclaration () const;
void *
GetOpaqueClangQualType ();

View File

@ -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()