aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/API/SBType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBType.cpp')
-rw-r--r--lldb/source/API/SBType.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/API/SBType.cpp b/lldb/source/API/SBType.cpp
index da9202bf9386..533930c0544b 100644
--- a/lldb/source/API/SBType.cpp
+++ b/lldb/source/API/SBType.cpp
@@ -273,6 +273,14 @@ bool SBType::IsScopedEnumerationType() {
return m_opaque_sp->GetCompilerType(true).IsScopedEnumerationType();
}
+bool SBType::IsAggregateType() {
+ LLDB_INSTRUMENT_VA(this);
+
+ if (!IsValid())
+ return false;
+ return m_opaque_sp->GetCompilerType(true).IsAggregateType();
+}
+
lldb::SBType SBType::GetFunctionReturnType() {
LLDB_INSTRUMENT_VA(this);