summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/DataFormatters/TypeFormat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/TypeFormat.cpp b/lldb/source/DataFormatters/TypeFormat.cpp
index b526e9a744b..b272c2e8dc3 100644
--- a/lldb/source/DataFormatters/TypeFormat.cpp
+++ b/lldb/source/DataFormatters/TypeFormat.cpp
@@ -164,7 +164,7 @@ bool TypeFormatImpl_EnumType::FormatObject(ValueObject *valobj,
llvm::DenseSet<lldb_private::SymbolFile *> searched_symbol_files;
images.FindTypes(nullptr, m_enum_type, false, UINT32_MAX,
searched_symbol_files, types);
- if (types.GetSize() == 0)
+ if (types.Empty())
return false;
for (lldb::TypeSP type_sp : types.Types()) {
if (!type_sp)
OpenPOWER on IntegriCloud