[Lldb-commits] [lldb] r373352 - Simplify condition (NFC)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 1 10:08:38 PDT 2019
Author: adrian
Date: Tue Oct 1 10:08:38 2019
New Revision: 373352
URL: http://llvm.org/viewvc/llvm-project?rev=373352&view=rev
Log:
Simplify condition (NFC)
Modified:
lldb/trunk/source/DataFormatters/TypeFormat.cpp
Modified: lldb/trunk/source/DataFormatters/TypeFormat.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/TypeFormat.cpp?rev=373352&r1=373351&r2=373352&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/TypeFormat.cpp (original)
+++ lldb/trunk/source/DataFormatters/TypeFormat.cpp Tue Oct 1 10:08:38 2019
@@ -164,7 +164,7 @@ bool TypeFormatImpl_EnumType::FormatObje
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)
More information about the lldb-commits
mailing list