diff options
Diffstat (limited to 'include/lldb/Symbol/Type.h')
-rw-r--r-- | include/lldb/Symbol/Type.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/lldb/Symbol/Type.h b/include/lldb/Symbol/Type.h index 920f571fa1e9..da327439936c 100644 --- a/include/lldb/Symbol/Type.h +++ b/include/lldb/Symbol/Type.h @@ -417,7 +417,15 @@ public: return type_sp->GetClangLayoutType().GetLValueReferenceType(); return clang_type.GetLValueReferenceType(); } - + + ClangASTType + GetTypedefedType () const + { + if (type_sp) + return type_sp->GetClangFullType().GetTypedefedType(); + return clang_type.GetTypedefedType(); + } + ClangASTType GetDereferencedType () const { @@ -513,6 +521,9 @@ public: GetReferenceType () const; TypeImpl + GetTypedefedType () const; + + TypeImpl GetDereferencedType () const; TypeImpl |