diff options
Diffstat (limited to 'lldb/source/API')
-rw-r--r-- | lldb/source/API/SBType.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/API/SBType.cpp b/lldb/source/API/SBType.cpp index dcdbbc71d20..90a2e655172 100644 --- a/lldb/source/API/SBType.cpp +++ b/lldb/source/API/SBType.cpp @@ -264,6 +264,14 @@ SBType::IsTypedefType () return m_opaque_sp->GetCompilerType(true).IsTypedefType(); } +bool +SBType::IsAnonymousType () +{ + if (!IsValid()) + return false; + return m_opaque_sp->GetCompilerType(true).IsAnonymousType(); +} + lldb::SBType SBType::GetFunctionReturnType () { |