Unbreak lldb build broken by d941fceca8

This commit is contained in:
Benjamin Kramer
2022-11-23 21:01:47 +01:00
parent 934d5fa2b8
commit 8b95d08799

View File

@@ -96,7 +96,8 @@ bool CompilerType::IsCompleteType() const {
bool CompilerType::IsForcefullyCompleted() const {
if (IsValid())
return m_type_system->IsForcefullyCompleted(m_type);
if (auto type_system_sp = GetTypeSystem())
return type_system_sp->IsForcefullyCompleted(m_type);
return false;
}