Skip to content

Commit 771d464

Browse files
committed
Simplify condition (NFC)
llvm-svn: 373352
1 parent 0200626 commit 771d464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/DataFormatters/TypeFormat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ bool TypeFormatImpl_EnumType::FormatObject(ValueObject *valobj,
164164
llvm::DenseSet<lldb_private::SymbolFile *> searched_symbol_files;
165165
images.FindTypes(nullptr, m_enum_type, false, UINT32_MAX,
166166
searched_symbol_files, types);
167-
if (types.GetSize() == 0)
167+
if (types.Empty())
168168
return false;
169169
for (lldb::TypeSP type_sp : types.Types()) {
170170
if (!type_sp)

0 commit comments

Comments
 (0)