[Lldb-commits] [lldb] r111607 - in /lldb/trunk: include/lldb/Symbol/Type.h source/Symbol/Type.cpp
Jim Ingham
jingham at apple.com
Thu Aug 19 18:15:38 PDT 2010
Author: jingham
Date: Thu Aug 19 20:15:38 2010
New Revision: 111607
URL: http://llvm.org/viewvc/llvm-project?rev=111607&view=rev
Log:
Add an accessor to get the Declaration for a type.
Modified:
lldb/trunk/include/lldb/Symbol/Type.h
lldb/trunk/source/Symbol/Type.cpp
Modified: lldb/trunk/include/lldb/Symbol/Type.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Symbol/Type.h?rev=111607&r1=111606&r2=111607&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Symbol/Type.h (original)
+++ lldb/trunk/include/lldb/Symbol/Type.h Thu Aug 19 20:15:38 2010
@@ -168,6 +168,9 @@
m_context = context;
}
+ const lldb_private::Declaration &
+ GetDeclaration () const;
+
void *
GetOpaqueClangQualType ();
Modified: lldb/trunk/source/Symbol/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/Type.cpp?rev=111607&r1=111606&r2=111607&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/Type.cpp (original)
+++ lldb/trunk/source/Symbol/Type.cpp Thu Aug 19 20:15:38 2010
@@ -389,6 +389,11 @@
return GetSymbolFile()->GetObjectFile()->GetModule()->GetTypeList();
}
+const lldb_private::Declaration &
+lldb_private::Type::GetDeclaration () const
+{
+ return m_decl;
+}
bool
lldb_private::Type::ResolveClangType()
More information about the lldb-commits
mailing list